I am working on a device that requires to be turned on, on a trigger with the ESP8266. I have a way to send the information out via HTTP or MQTT, but I need to choose one.
Whenever I use HTTP, it takes about 15-20 seconds before I can send out a message.
Whenever I enable MQTT, I get the following below which I believe is the device brokering with AWS MQTT server(s). This takes about 35 seconds from boot before I can send successful messages.
SW ECDSA verify curve 3 hash_len 32 sig_len 70 SW ECDSA verify curve 3 hash_len 32 sig_len 71 SW ECDH
I haven't tested HTTPS yet, but it should be longer than 15-20 seconds because of encryption.
I may test battery consumption for each, but if the developers know one that should work better, please discuss this here.
Also, is there an optimal way of configuring Mongoose OS for devices that need to turn on for a short time and then turn off?
I know there is deep sleep mode, but will this cause the connection times to be about the same?
Any feedback would be great. Thanks as always!