Allows the discovery of the RFCOMM channel ID assigned to the service.
- macOS 10.2+
A pointer to the location that will get the found RFCOMM channel ID.
Returns kIOReturnSuccess if the channel ID is found.
This method will search through the ProtoclDescriptorList attribute to find an entry with the RFCOMM UUID (UUID16: 0x0003). If one is found, it gets the second element of the data element sequence and sets the rfcommChannelID pointer to it. The channel ID only gets set when kIOReturnSuccess is returned.