Hello,
I am working on a BG96 trying to do some MQTT.
I am having an issue for receiving data whenever there is the character ‘\0 ‘inside the payload. This issue came with the firmware version BG96MAR02A10M1G_01.013.01.013.
Some of my products have the BG96MAR02A07M1G_01.017.01.017 version and it is working fine
Here are the details of my work:
Firmware version | AT frame received on MQTT message reception |
---|---|
BG96MAR02A10M1G_01.013.01.013 | +QMTRECV: 0,0,“860640056041686/cmd/cfg/set/mqtt_port_bu”,4," |
BG96MAR02A07M1G_01.017.01.017 | +QMTRECV: 0,0,“860640056041686/cmd/cfg/set/mqtt_port_bu”,4,“<0x00><0x00><0x22><0xB3>” |
The characters in between brackets are binary
As you can see the modem stops sending the payload and consider the command done if there is the character ‘\0’ inside the payload and sends the end line characters (CR,LF).
Is there a way to solve it?
Tank you
Augustin