In a short summary, MQTT Flex is a service that we provide that allows you to use the data services from any SIM card to send MQTT-SN messages over the public internet to the Thingstream broker. You can use any SIM with MQTT Flex. The MQTT Flex Thing that you created in the Thingstream portal provides the credentials that the MQTT-SN client on your modem requires in order to authenticate with the Thingstream broker. Whereas for MQTT Anywhere, you need to use our SIM as this provides the private secure APN removing the need to use DTLS on the module.
For a clearer understanding of the differences between MQTT flex and MQTT anywhere, here are some pros and cons for both of them.
MQTT Anywhere Pros:
- Ultra-low power consumption for longer device lifetimes
- Secure communication with a private communication channel
- Global coverage with seamless connectivity across 600+ cellular carriers in 190 countries
- Compatibility with Thingstream SIM cards and SDK for easy integration
MQTT Anywhere Cons:
- Requires Thingstream SIM card and SDK for usage
MQTT Flex Pros:
- Flexibility in choosing cellular connectivity, enabling adherence to regional restrictions or preferred MNOs(Mobile Network Operators)
- Integration with IoT Communication-as-a-Service platform
- Initial support for DTLS on compatible modems for secure data transmission
- Easy configuration process through Thingstream platform
- Additional support and resources available through Thingstream's customer support and documentation channels
MQTT Flex Cons:
- In its initial release, limited compatibility with certain u-blox modems
For more detailed and specific information, please refer to these guides:
https://developer.thingstream.io/guides/iot-communication-as-a-service/mqtt-anywhere
https://developer.thingstream.io/guides/iot-communication-as-a-service/mqtt-flex