B2G/Bluetooth/WebBluetooth-v2/BluetoothPairingEvent: Difference between revisions

Jump to navigation Jump to search
Line 73: Line 73:
=== passkey ===
=== passkey ===
; Description
; Description
: The passkey generated during the pairing process when both devices support secure simple pairing (SSP). Passkey is a 6-digit string ranging from decimal 000000 to 999999 (e.g., 000123). The property is null for event handlers [[B2G/Bluetooth/WebBluetooth-v2/BluetoothAdapter#onenterpasskeyreq|adapter.onenterpasskeyreq]] and [[B2G/Bluetooth/WebBluetooth-v2/BluetoothAdapter#onpairingconsentreq|adapter.onpairingconsentreq]] since these two pairing types require no passkey.
: The passkey generated during the pairing process when both devices support secure simple pairing (SSP). Passkey is a 6-digit string ranging from decimal 000000 to 999999 (e.g., 000123). The property is null for event handlers [[B2G/Bluetooth/WebBluetooth-v2/BluetoothAdapter#onenterpincodereq|adapter.onenterpincodereq]] and [[B2G/Bluetooth/WebBluetooth-v2/BluetoothAdapter#onpairingconsentreq|adapter.onpairingconsentreq]] since these two pairing types require no passkey.


; Value type
; Value type
120

edits

Navigation menu