I am finding tons of simple examples of Using MicroPython on my embedded XBee Cellular LTE CAT 1 that are quite simple to follow along. However, I am currently using this connected to a XBIB-U-DEV and via Serial over USB using a Raspberry Pi; eventually connected directly to the RPi.
@mvut, apologies for only getting back to this now; the day I posted this question, I got pulled into a different project with a short timeline.
So, I followed the examples and I was not able to get the publish to succeed; kept simply timing out using both the url and the ip I retrieved from dns. The m2m.eclipse.org in the publish example is active, yeah?
To be completely candid, the absolute ideal scenario would be where I could simply connect the cellular modem that rasbian would simply fallback to cellular if ethernet or wifi are not available. I understand that falls outside of digi and the context of this question, but I wanted to toss that out there if you had an example in that direction…should probably post another question for this…
No we don’t have what you are looking for in an example.
As for the issue, you may need to check with the carrier or who ever provided the SIM card to make sure it is still active and you have the proper APN entered. (Check AI).
For what was requested, @mvut provided a good response and I would recommend anything asking this specific question take a look at that.
For anyone interested in my ideal scenario in the comments on @mvut’s answer, I was not able to find a way to successful do that, but I have a follow-up question that may be of interest to you.