An update on TinyGSM support, I spent most of the day yesterday bringing it up to date and for the most part basically works, but does need some cleanup.
I have been working with the Adafruit Feather M0 for the most part, but the M4 line also works well, I have used it in the past to use the nRF9160 to upload images to a PHP server. I plan on getting that up to date soon as well.
BearSSL (software SSL) support also works with this TinyGSM build, but needed one obvious fix in BearSSL related to “time_t” not being defined, had to change that to “uint32_t” and that error is easy to notice when compiling. I will detail that later, but basically wanted to update the TinyGSM support information here.
A lot of the detail is in that repository in the example sketch for the nRF9160.
I also worked out the app_update.hex method so that can be used and firmware files are included in the extras folder, in the TinyGSM source.
While you won’t get all the bells and whistles of developing on the nRF9160 itself, it does provide an easy way to add some basic nRF9160 support to an Arduino project.
I re-forked the TinyGSM repository and added two commits to add support, the repository is here.
https://github.com/aldras/TinyGSM
There are a couple support tickets related to it also on TinyGSM, one created by me, and another.
https://github.com/vshymanskyy/TinyGSM/issues/486
https://github.com/vshymanskyy/TinyGSM/issues/547
While the TinyGSM implementation has not been fully cleaned up and debugged, it does for the most part function and retrieves HTTP requests.