[AVR] Mqtt vs tcp power management

Status
Not open for further replies.

pooja123

Newbie level 1
Joined
Aug 20, 2018
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
11
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.
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…