Hello, I am guessing the way that LTE-M and AI Beacon device-to-cloud communications works today is that device-to-cloud messages are sent via https to a cloud-hosted message queue such as Amazon Simple Queue Service, and a separate ‘function’ is employed to pull these queued messages from the devices for processing by our supplied Cloud Code javascript, thus decoupling (in terms of time) the handling of incoming device messages across several processing stages.
It would be great if our Cloud Code in the future had the capability to enqueue a response message to an LTE-M / AI Beacon such that each time the LTE-M / AI Beacon enqueued a message, Estimote Cloud would use the device identifier to determine if an ‘incoming’ (to the device) message has been queued previously , and would deliver this previously queued incoming message to the device, perhaps through the OnReceive() function I see in the Micro App documentation.
Such a feature could be used to send configuration changes, etc. to the device, for example to change its GPS reporting interval, go into a ‘sleep mode’ for a certain amount of time, and so on.
The Iridium Short Burst Data (SBD) service works this way, as an example.
Thank you - I was not yet aware of the create user message API, and will definitely try this out today - now I understand how the OnReceive() Micro App function can be used.
Thanks - One question - I am unclear from the documentation how to generate my SDK_APP_ID and SDK_TOKEN - do these come from creating a mobile app? I am not seeing where to generate these credentials.
Thanks - So I created a mobile app and got the credentials , and constructed a POST request, getting a 200 OK status back , however the response appears to indicate my message content wasn’t accepted - the response content is:
{
“data”: [],
“meta”: {
“page”: 1,
“total”: 0
}
}
Would you have some ideas on what the problem may be? I am using Postman to construct and send the POST message, and putting the message content in the HTTP body, which I suspect may be what I’m doing wrong - Thanks!