Binary data in NIDD mode | Telit Cinterion IoT Developer Community
March 8, 2022 - 3:18pm, 458 views
Hello,
I've managed to setup a exs82 device to communicate with UDP and send and receive binary payload, and now I'm waiting for a SIM card that will allow me to use NIDD, though I fail to understand how I can manipulate binary data with the AT+CSODCP & CRTDCP commands. From the few examples I've seen of those functions being used people always used ASCII, is there a way to enter some sort of data mode or to provide ASCII hex that would be sent as binary over the air ?
BR
Hello,
There is no data mode where you could send raw binary. But the data field is described to contain string of octets. And this parameter shall not be subject to conventional character conversion as per +CSCS.
So that would be what you need - a hex string that should be sent as binary.
For instance with at+csodcp=2,5,"1234567890" we'd send 0x12 0x34 0x56 0x78 0x90.
Regards,
Bartłomiej