I’m sending relatively large chunks of binary data off an electron 260 (~10k - 20k) for the purpose of audio sampling. I’m writing the data in 1024 byte chunks. I usually see a lot of data loss (~50%) in terms of what shows up on my server.
I’m trying to understand where the limitation is. The 1K TCPClient.write is executing every 4-5 seconds, which is slow, but data is received on the server every ~20 seconds (REALLY slow, even for 2g). Signal strength is good (4 bars).
- Is there a max throughput limitation for the device (firmware or hardware) that could be affecting it.
- Is there a way to check whether I’m connecting to a 2g vs 3g antenna?
Any insight into how the TCPClient.write() is handled, and how it might affect the above problem would be much appreciated.