There are two types of connection loss:
- Losing connection between aircraft and remote controller, you can use onComponentChange to listen the component change. If the remote controller is still connecting but aircraft is disconnected, that means there is a connection loss between aircraft and remote controller. Reason: weak airlink signal, please check setUplinkSignalQualityCallback and setDownlinkSignalQualityCallback.
- Losing connection between app and remote controller, you can use onComponentChange to listen the component change. If the remote controller is disconnected, that means there is a connection loss between app and remote controller. Reason: physical connection of USB cable.
Comments
0 comments
Please sign in to leave a comment.