I’m looking to write a custom application to run on a TRB246 that will need to send and receive SMS messages.
I have used the API successfully from the application running on a LAN connected device, but wondered if there are alternative methods when I have the app running on the TRB246 directly?
It is possible to run API calls directly on the device itself. You can use the same API structure you’ve already tested from a LAN connected device. For example, to send an SMS directly from the device, you can use:
api post /messages/actions/send '{"data":{"number":"string","message":"string","modem":"<string>"}}'
"modem" parameter can be found with the following command: