Exceed buffer while attempting to send SMS

Hi,

I tried to send the ciphertext over SMS, but when Legato packing the ciphertext string into the buffer I got this error:

Not sure whether it is because the ciphertext is too long that the buffer size exceeds…

It seems it is too long, you can shorten the size first.

Btw, You can try with sending sms with pdu mode in AT command first

the challenge is I want to send that long text once at a time, seems it isn’t gonna work out on Mangoh, is it?

you can try to send concatenated SMS in PDU mode by AT command

Can I achieve that on Legato SMS API?

here says it is only 140 bytes long, probably you need to do multiple SMS.

https://docs.legato.io/latest/c_sms.html

1 Like