getEncryptionMode()
Get the encryption mode for the baseband connection.
Declaration
func getEncryptionMode() -> BluetoothHCIEncryptionModeReturn Value
Returns the encryption mode for the baseband connection. If no baseband connection is present, kEncryptionDisabled is returned.
Discussion
This method only returns a valid result if a baseband connection is present (-isConnected returns TRUE).