0

I need to send a message to an HTTPS server from an Arduino with a SIM900 module that has 10MB of data. The message to send contains a line of 10 numeric digits i.e. 5436278690. This message weighs 80 bit (or 10 bytes). I want to send it with a HTTPS request.

The question is:

What is the total cost of sending this message through HTTPS request? How many bytes takes the HTTPS request from my data?

HTTPS + message = how many bytes?

Stevy
  • 3,228
  • 7
  • 22
  • 38
  • [read here about this](https://tls.ulfheim.net/) – Martin Aug 04 '19 at 13:50
  • 1
    Possible duplicate of [How much network overhead does TLS add compared to a non-encrypted connection?](https://stackoverflow.com/questions/1615882/how-much-network-overhead-does-tls-add-compared-to-a-non-encrypted-connection). Answer: The total overhead to establish a new TLS session comes to about 6.5k bytes on average. – Martin Aug 04 '19 at 13:51
  • You will also need to be aware of what level of TLS/SSL you are using, and what **Primes** you are using that are compatible with the destination server. – Martin Aug 04 '19 at 13:52
  • If a make a new connection, can I connect back to the connection that I create or is it destroyed once you stop using the connection? –  Aug 04 '19 at 14:34

0 Answers0