FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

14455 questions

17168 answers

28195 comments

0 members

We are migrating to our new platform at https://community.teltonika.lt. Moving forward, you can continue discussions on this new platform. This current platform will be temporarily maintained for reference purposes.
0 votes
192 views 1 comments
by anonymous
Hello,
is there any way to change limit in CLI to send longer sms. Now i can send max 4 parts of that one message because of this limit.

limit seems 510

1 Answer

0 votes
by anonymous

Hello,

512 characters is a limit hardcoded in the firmware, with the following variable in the .config file in the SDK:

  • CONFIG_BUSYBOX_CONFIG_FEATURE_EDITING_MAX_LEN=512

In order to increase this value you would need to modify the .config file and compile your own firmware using SDK. SDK for the latest firmware can be downloaded from here. For instructions on how to set it up, please refer here.

As a workaround, if possible, depending on the contents of messages, maybe they could be stored in script files, and, instead of typing messages in the CLI, you could simply execute the script.

Best regards,

Best answer
by anonymous
Hello,
thank you for your info and yes i'm using "gsmctl -send-b64" now to send longer messages but still would be nice to be able to use with api directly.