9 years, 3 months ago.

C027 - Cellular TLS/SSL

I see the cellular modem on the C027 (in my case SARA-G350) should support TLS/SSL sockets. Does the C027_Support library support those commands? Ultimately I need secure MQTT communications.

Thanks

Question relating to:

support library for C027 helper functions for Buffer Pipes, Buffered Serial Port (rtos capable) and GPS parsing. It includes modem APIs for USSD, SMS and Sockets. C027, u-blox

I would also highly appreciate an answer from the C027 to this question since I face the same problem.

posted by Christoph W. 22 Dec 2015

3 Answers

7 years, 4 months ago.

Especially with MQTT, most likely, many (including me) fall into this "Its all so easy" trap! And everyone, who publishes this easy crap, shit should have his mouth shut! It costs those, who try to develop MQTT applications and read about this new "easy wonderful world" of IoT and MQTT, tremendous frustration! Of course, anyone can buy a ready to go, pre programmed board and connect it to a MQTT broker. Yuppieee how easy it is. But as soon you try to use your own hardware, its a mess. Nothing is documented, libraries fork endless, and to find out how it really works, and how to use and apply, takes endless time and nerves... So.. to all who get really frustrated with GPRS, Modems, SSL/TLS, Brokers, Clouds and MQTT and maybe finally give up: No worries, you are not alone! ;-)

7 years, 4 months ago.

There is a driver for the C027 that is compatible with mbed OS 5 located at NetworkSocketAPI/C027Interface. This interface should be usable with mbed-http which demonstrates TLS sockets, and HelloMQTT which demonstrates MQTT (but not over TLS socket). Combining the two should add MQTTS support for the C027.

7 years, 7 months ago.

Hi, I'm using the same module, didn't find ssl support yet on the native library. Did you make any progress?

No, unfortunately, I gave up. I ended up moving to Particle.io's Electron module and used their backend services instead of MQTT. It was the only way I could find to get secure cellular communications without moving to something running Linux.

posted by steve keller 16 May 2017