Not getting sphinx drone reference - auto connection instance

Hi…

I am not able get drone using auto connection through get facility api of ground sdk.

AutoConnection: [started, drone = nil, rc: nil] - drone is coming nil…

Wifi receptor of iOS device is connected to wifi hotspot created by sphinx simulator.

iOS Device Info:

  1. OS - iOS 14
  2. iPhone X…

Version:
GroundSdk > 1.7.1
ArsdkEngine > 1.7.1
SdkCore > 1.7.1

I believe this issue is occurring because of recent changes done by apple regarding privacy - Local Network…

Ground SDK is trying to run Bonjour service for searching drone but OS is not allowing…

I need to know name of bonjour service ground sdk is trying to run to give permission.

or

if there is other issue please help me by providing.

Hi,
Yes, your analysis is correct, it is a “privacy - local network” issue on iOS14.
You have the example in GroundSdkDemo (plist file)

Add these keys in your info.plist :

<key>NSLocalNetworkUsageDescription</key>
	<string>We need to access your local network to detect your drone over WiFi</string>
<key>NSBonjourServices</key>
	<array>
		<string>_arsdk-mux._tcp.</string>
		<string>_arsdk-0919._udp.</string>
		<string>_arsdk-091a._udp.</string>
		<string>_arsdk-091e._udp.</string>
		<string>_arsdk-091b._udp.</string>
		<string>_arsdk-0914._udp.</string>
	</array>

Jérôme

Thank you so much…

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.