How to send more than 119 byte payload over AT commands

I have a RAK811 development board I am interfacing with using AT commands over USB. I see in the RAK811_AT_Command_Manual_V1.0.pdf section 1.2 it says there is a 255 character limit for AT commands including the terminating characters.

The command to send data over lora is at+send=lora:#:<data>\r\n where # is a 1-digit port number. This takes 17 characters leaving 238 characters for the data which is in hex meaning an effective payload limit of 119 bytes.

At DR3 (SF7125K in USA) I should be able to send around 200 bytes. Is it possible to send payloads of over 119 bytes using AT commands?


This AT command is not support,

But you can send around 200 bytes by RUI port.

Thanks Nicholas,

Can you point me to some documentation on using RUI?


You can refer this web,
Hope help you!

119 bytes would be at the huge end of the LoRaWAN payload size. The average of my devices is around 16 bytes.

See for some info.

Can you break your payload down, use different ports to differentiate the different payloads, send smaller packets of the faster changing sensors & the occasional packet of slower changing items. Or byte pack the data to make it smaller?

Hi @atgpara

Despite this discussion was quite time ago, I’d like to mentioned that in changeLog:

I found such messages for currently latest version v3.0.0.14:

5.Fixed 2 ERROR prompts for AT instruction overlength (more than 255 characters, including AT instruction characters)

But unfortunately I can’t test it yet on the hardware I have due to

I’ve tested v3.0.0.14 firmware and it hasn’t fixed this issue. Very very sad.

Besides LoRaWAN there is also LoRaP2P mode!

Also it is not just the point of the average and usual cases. There is the standard that allows up to 255 payload, and it is good to try to meet it. I understand that there is RAM limitation on stm32L, but still, is not so huge.