The communication protocols supported by the accessory.
- iOS 3.0+
- macOS 10.13+
- tvOS 10.0+
Protocol names are formatted as reverse-DNS strings. For example, the string “
com” might represent a custom protocol defined by Apple. Manufacturers can define custom protocols for their accessories or work with other manufacturers and organizations to define standard protocols for different accessory types.
When encountering a new accessory, always check the list of supported protocols for the one you expect to use before creating a session. Even an accessory that you recognize by its other properties may not be prepared to support a protocol that it normally does. For example, an accessory may be connected but not yet authenticated, in which case the array of supported protocols will be empty.
If your application supports multiple protocols for a single accessory, your code should always choose the highest-fidelity protocol that you support.