ELS62-W MQTT bandwidth | Telit Cinterion IoT Developer Community
August 25, 2023 - 12:38pm, 148 views
Hi,
I'm using the ELS62-W to send data to AWS via MQTT. Currently, I'm sending around 1.2 KB at once, and it takes about 0.4 s to get the "OK" from the modem. I'm curious if it's possible to send more data via MQTT? ideally, I'd like to send 10 KB / s.
Any suggestions?
Thanks,
Ye-Sheng
Hello,
I think that you need to test your scenario. With one AT^SISW AT command you can send 1500 bytes. How much data do you want to send in one MQTT message?
BR,
Bartłomiej
Hi Bartłomiej,
Ideally as much as possible. :P
I'm indeed limited by that 1500 bytes per SISW command, is that possible to increase that limit? otherwise, I'm pretty much stuck at 2 SISW commands per second, which gives me ~3 KB/s bandwidth.
Thanks,
Ye-Sheng
Unfortunately this 1500 bytes per AT^SISW command is not configurable and it is the same for all IP services and across all Cinterion modules.
Hi Bartłomiej,
Thanks for the information. Does that imply the MQTT bandwidth is roughly 3KB / s? Is there any tricks I can do to send more data?
Thanks,
Ye-Sheng
Built-in MQTT client, like other internet services clients, is designed to be used with SISR and SISW commands for data exchange. So, probably no tricks possible here. In case of socket client you have an option to switch to transparent connection and exchange the data freely without AT commands, which is much faster. But then you are missing the MQTT protocol layer. You would have to use your own implementation then.
BR,
Bartłomiej