Open levincent06 opened 3 years ago
This turned out to be a little more difficult than I thought because the virtual devices still send PING
s to dev handler. (Real Lowcar devices don't send PING
s.) Removing virtual device PING
s causes some devices to time out if more than 5 or so virtual devices try to connect.
Unsure why this is happening... my guess is that since each virtual device is a different process, the context switching is too slow and makes dev handler think the virtual devices time out.
The only messages that Lowcar sends to Dev Handler are
ACK
,DEVICE_DATA
, andLOG
. Lowcar used to also sendPING
s, but Dev Handler considers any incoming message as an online status message.There may be some places in the code and documentation that suggest that dev handler can receive
PING
s from Lowcar.