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
462 views 3 comments
by anonymous
Hello,

I tried to send few AT commands to the TRB140 using gsmctl - A <AT command> syntax. It seems basic commands are working ok, but I have some commands that I always get error. For example I need to send this command:

gsmctl -A AT+CRSM=214,28542,0,0,11,FFFFFFFFFFFFFFFFFFFFFF

Result is simply:

ERROR

Where I can find a list of supported commands?

Thanks,

EB
by anonymous
Hello,

I thing you missed 2 FF chars at the end. Also it should be added in quotes.

E.g. gsmctl -A 'AT+CRSM=214,28542,0,0,11,"FFFFFFFFFFFFFFFFFFFFFF"'

or gsmctl -A 'AT+CRSM=214,28542,0,0,11,"FFFFFFFFFFFFFFFFFFFFFFFF"'
by anonymous
Hello,

I see Mindaugas reply just now, soon after writing an other comment.

Sending the command in quotes is working

gsmctl -A 'AT+CRSM=214,28542,0,0,11,"FFFFFFFFFFFFFFFFFFFFFF"'

That's odd, since documentation (https://wiki.teltonika-networks.com/view/AT_Commands) doesn't say it, but I found another point where it says that (https://wiki.teltonika-networks.com/view/Gsmctl_commands#Send_AT_command_to_device).

EB

1 Answer

0 votes
by anonymous
Hello,

Thank you for contacting us.
I would like to inform, that all these modem commands could be found in Quectel EC21&EC21 AT command manual.

Best regards,

Sigitas K.
Best answer
by anonymous
Hello,

thanks for the document, I see that command should be supported. I have "read" commands working but not "write" commands, I don't know the reason.

root@Teltonika-TRB140:~# gsmctl -A AT+CRSM=176,28542,0,0,11
+CRSM: 144,0,"166B958222F2015212FF00"

root@Teltonika-TRB140:~# gsmctl -A AT+CRSM=178,28542,1,0,0
+CRSM: 144,0,"166B958222F2015212FF00"

I tested the same SIM with another modem (other brand) and I get no error

AT+COPS=2
OK
AT+CRSM=214,28542,0,0,11,FFFFFFFFFFFFFFFFFFFFFF
+CRSM: 144,0
OK
AT+COPS=0
OK

Is there any configuration that blocks this command or any settings?

Thanks,

EB