YUNEEC / MFiExample

Example for DroneCore MFi integration
1 stars 6 forks source link

Temporary solution for fixed multi app install issue. #44

Open anxueshen opened 4 years ago

anxueshen commented 4 years ago

For MFi application, when connect USB cable, the iOS system will auto launch the process. If have multiple app with same external accessory protocols (com.yuneec.controller), then the system will launch multi process, this operation will cause have multi grpc client and server and cause telemetry data freeze. And can also make mavsdk bind udp port 14550 failed. So when found the iOS system start the process background when connect the USB cable, just kill the process. When the app is launched by uses, this code will do nothing.