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
84 views 0 comments
by anonymous
Hello,

I have error on TRB140, I can't read sms on gui and console:

root@Teltonika-TRB140:~# gsmctl --sms --list all

[gsmctl_read_sms:68] error: ERROR: Library misuse

1 Answer

0 votes
by anonymous

Hello,

I have tried to replicate your issue, but did not encounter the same issue. Due to there being a setting to leave free space for a number of SMS messages, messages are being deleted, once used memory approaches the upper limit. 

Could you tell, where do you have configured messages to be stored: SIM or modem? If it is SIM, do you have an opportunity to test another SIM, to see, if the issue is reproducible, to rule out the possibility of the issue being related to specific SIM? 

How frequently the device receives SMS messages?

Did a similar issue occur with any previous firmware?

Could you login to the router via SSH and execute different commands to:

  • list messages:
    • gsmctl -A 'AT+CMGL="ALL"'
  • delete messages:
    • gsmctl -A 'AT+CMGR=<index>'

      • Replace <index> with an integer.

I would also like you to attach a troubleshoot file to your question. Please, replicate the issue, then access router's WebUI, go to System -> Administration -> Troubleshoot section and download troubleshoot file from there. The logs in the file might provide more insight into the issue.

Best regards,