diff options
author | Serhii Kostiuk <serhii.o.kostiuk@globallogic.com> | 2020-08-07 11:07:48 +0300 |
---|---|---|
committer | Serhii Kostiuk <serhii.o.kostiuk@globallogic.com> | 2020-08-07 15:52:54 +0300 |
commit | 5c529e115394ba3d04c7531d046776293e2bf06c (patch) | |
tree | 941cad881b989f1dee19a27889c4aff0c953ceaa /include/mts | |
parent | c1a58778eecd0115d746afbca1079683b244b672 (diff) | |
download | libmts-io-5c529e115394ba3d04c7531d046776293e2bf06c.tar.gz libmts-io-5c529e115394ba3d04c7531d046776293e2bf06c.tar.bz2 libmts-io-5c529e115394ba3d04c7531d046776293e2bf06c.zip |
Quectel EG25-G Delta Radio Firmware Upgrade support - libmts-io implementation
This commit fixes additional issue discrovered after implementation of ACK mode.
When a single 1024 bytes long chunk of data is sent to the radio - the radio reports
that it received nothing. Which is a lie according to Wireshark USB logs, data is
actually sent over USB and looks like radio acknowledged it in USB packet.
This issue is reproducible when chunk size is set to 1024 or 512 bytes. This issue
is not reproducible with chunk size of 256 bytes.
When 1025 or 2048 bytes are sent to the radio - all bytes are received just fine and
we get an ACK string for each 1024 bytes of data.
This commit allows to send 2048 bytes long chunks of data, wait for two ACK strings
from the radio and finish transmission successfully.
Diffstat (limited to 'include/mts')
0 files changed, 0 insertions, 0 deletions