pooja123
Newbie level 1
Hi,
I have implemented the code similar to this tutorial https://www.youtube.com/watch?v=5FbafyVvN3E but have used different cloud address and port and have used sim800c module in a custom board with ATMEGA328-PU MCU. I m sending data of AT Commands: AT+CBC and AT+CNETSCAN.
In addition, Similarly, I have implemented a basic TCP protocol for sending the same data . I have observed that the power consumption of the MQTT protocol is 50% lesser than the TCP protocol.
I would like to know the cause of the power optimization as the implementation of the MQTT protocol looks very similar to the normal TCP protocol. Please help me as I m not able to understand the difference between them.
I have implemented the code similar to this tutorial https://www.youtube.com/watch?v=5FbafyVvN3E but have used different cloud address and port and have used sim800c module in a custom board with ATMEGA328-PU MCU. I m sending data of AT Commands: AT+CBC and AT+CNETSCAN.
In addition, Similarly, I have implemented a basic TCP protocol for sending the same data . I have observed that the power consumption of the MQTT protocol is 50% lesser than the TCP protocol.
I would like to know the cause of the power optimization as the implementation of the MQTT protocol looks very similar to the normal TCP protocol. Please help me as I m not able to understand the difference between them.