Apple’s Bluetooth API doesn’t say what config dictionary should be provided for [IOBluetoothDevice openL2CAPChannelSync:withPSM:withConfiguration:delegate:].
The keys/values I’m suppose to provide are unknown to me. To overcome this, I wish to send an empty dictionary to the API call, but behind the scenes – track which keys are accessed.
How do I build a subclass of NSDictionary that will NSLog the accessed keys?
For the
IOBluetoothDeviceoptions, you should look inIOBluetoothDevice.h: