Hi,
I just watched session "10203" on "Meet AccessorySetupKit". In 09:13, it was mentioned that there is special UI for entering PIN codes / passphrases. How exactly is this UI triggered? And is there any UI for setting a pin during initial setup? I couldn't find any further information about any of this in the documentation.
Best, Klemens
On ASDiscoveryDescriptor
you would need to indicate accessory supports pairing
https://developer.apple.com/documentation/accessorysetupkit/asdiscoverydescriptor/supportedoptions
/*!
* @property supportedOptions
* @discussion Accessory capabilities.
*/
@property (readwrite, assign, nonatomic) ASAccessorySupportOptions supportedOptions;
https://developer.apple.com/documentation/accessorysetupkit/asaccessory/supportoptions
After you set the following option, depending on what accessory supports the correct pairing UI should show up
ASAccessorySupportBluetoothPairingLE = ( 1U << 1 ), // Accessory supports Bluetooth Low Energy pairing.