This repository has been archived by the owner on Apr 25, 2023. It is now read-only.
Intermittent crash when use the #127 pacakge #153
Comments
Currently there have 2 user threads, one for Arduino 1 for telemetry data collection. Both of them would send data to remote services via the WiFi module. |
ArthurMa1978
changed the title
Hang up during start, several mins after reboot it lost response
Intermittent crash when use the #127 pacakge
Apr 29, 2017
ArthurMa1978
pushed a commit
that referenced
this issue
Apr 29, 2017
Currently there have 2 user threads, one for Arduino 1 for telemetry data collection. Both of them would send data to remote services via the WiFi module. If there 2 threads are trying to send data at the same time then it will block the whole system, after add lock for any network operation problem solved. So root cause should be: the underline wifi driver is not thread safety, as we don't have the source code of the wifi driver I will check with MXChip for further investigation.
No need to create a separate thread for telemetry, so remove it and make things more simple |
lirenhe
pushed a commit
that referenced
this issue
Apr 29, 2017
* Issue #153 Currently there have 2 user threads, one for Arduino 1 for telemetry data collection. Both of them would send data to remote services via the WiFi module. If there 2 threads are trying to send data at the same time then it will block the whole system, after add lock for any network operation problem solved. So root cause should be: the underline wifi driver is not thread safety, as we don't have the source code of the wifi driver I will check with MXChip for further investigation. * folder struct change * Remove the telemetry thread to save resource * minor changes
lirenhe
pushed a commit
that referenced
this issue
Apr 29, 2017
* Issue #153 Currently there have 2 user threads, one for Arduino 1 for telemetry data collection. Both of them would send data to remote services via the WiFi module. If there 2 threads are trying to send data at the same time then it will block the whole system, after add lock for any network operation problem solved. So root cause should be: the underline wifi driver is not thread safety, as we don't have the source code of the wifi driver I will check with MXChip for further investigation. * folder struct change * Remove the telemetry thread to save resource * minor changes * Remove static Audio instance as this is not a mandatory component for all apps * fix typo
fixed |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The text was updated successfully, but these errors were encountered: