Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
8 years, 10 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?