You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 16, 2025. It is now read-only.
I have an AT command that returns long response (actually a json repr of a LwM2M object).
When I excecute it, I get an error be cause the decoded response is incomplete: the OK line as per expected response, is not catched by the exec.
More precisely, the missed lines are due to this loop:
Indeed, debugging shows that it did not wait "enough" for data to be ready i.e polling the condition self._device.in_waiting.
So I multiplied by 10 the sleeping time in the lines
Hi,
I have an AT command that returns long response (actually a json repr of a LwM2M object).
When I excecute it, I get an error be cause the decoded response is incomplete: the OK line as per expected response, is not catched by the exec.
More precisely, the missed lines are due to this loop:
ATtila/attila/atcommunicator.py
Lines 204 to 215 in 0f8548d
Indeed, debugging shows that it did not wait "enough" for data to be ready i.e polling the condition
self._device.in_waiting
.So I multiplied by 10 the sleeping time in the lines
ATtila/attila/atcommunicator.py
Line 191 in 0f8548d
to become
To my understanding the inverse of baudrate (units in bits/sec) is to be multiplied by 1000 to convert to ms !
@veeso, what do you think ?
This said, I did not have an issue when the response size was small...
Cheers,
Roudy
The text was updated successfully, but these errors were encountered: