-->
Page 1 of 1

Difference in transmission between INT and STRING

PostPosted: Thu Sep 10, 2015 6:10 pm
by matthew798
Hello everyone. I am using the ESP8266 with Arduino, and i'm having a blast!

I am sending temperature data to a central server for a home monitoring project i'm working on (and everyone else it seems :D)

I notices something strange in wireshark...

When the ESP sends a float, it send the 2 first digits in one packet, then the '.' and the 2 last digits are all in separate packets. When I send the same data as a string, they all get sent in one packet. Strange!

Re: Difference in transmission between INT and STRING

PostPosted: Fri Sep 11, 2015 2:11 am
by eriksl
Don't know what Arduino does under the bonnet, but tcp really can only send and receive bytes (octets). The IP core (lwip) doesn't have a clue of floats or ints.