Show / Hide Table of Contents

Method GetDevices

| Edit this page View Source

GetDevices()

Gets a list of supported known EAAccessories that support NMEA

Declaration
public static IEnumerable<EAAccessoryDevice> GetDevices()
Returns
Type Description
IEnumerable<EAAccessoryDevice>

A list of supported devices

Remarks

Returns a list of devices. Only devices enabled in the Info.plist will be enabled. See below for an example:

<key>UISupportedExternalAccessoryProtocols</key>
<array>
  <string>com.bad-elf.gps</string>
</array>

Supported protocols:

  • Bad Elf: com.bad-elf.gps.
  • Generic bluetooth serial: 00001101-0000-1000-8000-00805F9B34FB

If you know of other MFI certificed NMEA devices, please make a request to have it added here: https://github.com/dotMorten/NmeaParser/issues/new or you can use EAAccessoryManager.SharedAccessoryManager.ConnectedAccessories to iterate and find the devices yourself.

Applies to

Platforms and versions
TargetVersions
.NET iOSmain, v3.0
Xamarin.iOSv2.2
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX