8 years, 3 months ago.

Serial Rx Byte Dropped error

Occasionally I get a bunch of prints from the handleRead() function, like this: [ERROR] Serial Rx Byte Dropped [d][0x64] [ERROR] Serial Rx Byte Dropped [s][0x73] [ERROR] Serial Rx Byte Dropped [o][0x6F] [ERROR] Serial Rx Byte Dropped [;][0x3B] [ERROR] Serial Rx Byte Dropped [a][0x61] [ERROR] Serial Rx Byte Dropped [h][0x68] [ERROR] Serial Rx Byte Dropped [f][0x66] [ERROR] Serial Rx Byte Dropped [e][0x65]

There are typically 780 of them. The characters don't seem to spell out words, but the first three are always 'd' 's' 'o'.

It happens after I do an http post using our modem's MTS Serial methods. The cell signal seems ok, and it happens on some posts but not others. And it doesn't always happen, even when I send the same data.

After the errors, my code will retry the send, and I'll get a response from the host site like: {"status":"Ok","msg":1,"url":"https:\/\/portal.medblah.com\/callcenter\/3085\/PNC30"}

Can anyone shed some light on this?

Question relating to:

A library for talking to Multi-Tech's Cellular SocketModem Devices.
Be the first to answer this question.