| Direct-BT
    2.3.1
    Direct-BT - Direct Bluetooth Programming. | 
SMP Pairing Process state definition. More...
| Public Member Functions | |
| SMPPairingState (final byte v) | |
| Static Public Member Functions | |
| static SMPPairingState | get (final String name) throws IllegalArgumentException | 
| Maps the specified name to a constant of SMPPairingState.  More... | |
| static SMPPairingState | get (final byte value) | 
| Maps the specified integer value to a constant of SMPPairingState.  More... | |
| Public Attributes | |
| NONE =((byte)0) | |
| No pairing in process.  More... | |
| FAILED =((byte)1) | |
| Pairing failed.  More... | |
| REQUESTED_BY_RESPONDER =((byte)2) | |
| Phase 0: Pairing requested by responding (slave) device via SMPSecurityReqMsg.  More... | |
| FEATURE_EXCHANGE_STARTED =((byte)3) | |
| Phase 1: Pairing requested by initiating (master) device via SMPPairingMsg.  More... | |
| FEATURE_EXCHANGE_COMPLETED =((byte)4) | |
| Phase 1: Pairing responded by responding (slave) device via SMPPairingMsg.  More... | |
| PASSKEY_EXPECTED =((byte)5) | |
| Phase 2: Authentication (MITM) PASSKEY expected, see PairingMode#PASSKEY_ENTRY_ini.  More... | |
| NUMERIC_COMPARE_EXPECTED =((byte)6) | |
| Phase 2: Authentication (MITM) Numeric Comparison Reply expected, see PairingMode#NUMERIC_COMPARE_ini.  More... | |
| OOB_EXPECTED =((byte)7) | |
| Phase 2: Authentication (MITM) OOB data expected, see PairingMode#OUT_OF_BAND.  More... | |
| KEY_DISTRIBUTION =((byte)8) | |
| Phase 3: Key & value distribution started after SMPPairConfirmMsg or SMPPairPubKeyMsg (LE Secure Connection) exchange between initiating (master) and responding (slave) device.  More... | |
| COMPLETED =((byte)9) | |
| Phase 3: Key & value distribution completed by responding (slave) device sending SMPIdentInfoMsg (#1) , SMPIdentAddrInfoMsg (#2) or SMPSignInfoMsg (#3), depending on the key distribution field SMPKeyDistFormat SMPPairingMsg::getInitKeyDist() and SMPPairingMsg::getRespKeyDist(). More... | |
| final byte | value | 
SMP Pairing Process state definition.
Vol 3, Part H (SM): APPENDIX C MESSAGE SEQUENCE CHARTS
<p<blockquote>
See get(byte) for its native integer mapping.
Definition at line 38 of file SMPPairingState.java.
| org.direct_bt.SMPPairingState.SMPPairingState | ( | final byte | v | ) | 
Definition at line 122 of file SMPPairingState.java.
| 
 | static | 
Maps the specified integer value to a constant of SMPPairingState.
| value | the integer value to be mapped to a constant of this enum type. | 
Definition at line 107 of file SMPPairingState.java.
| 
 | static | 
Maps the specified name to a constant of SMPPairingState.
Implementation simply returns valueOf(String). This maps the constant names itself to their respective constant.
| name | the string name to be mapped to a constant of this enum type. | 
| IllegalArgumentException | if the specified name can't be mapped to a constant of this enum type as described above. | 
Definition at line 98 of file SMPPairingState.java.
| org.direct_bt.SMPPairingState.COMPLETED =((byte)9) | 
Phase 3: Key & value distribution completed by responding (slave) device sending SMPIdentInfoMsg (#1) , SMPIdentAddrInfoMsg (#2) or SMPSignInfoMsg (#3),
 depending on the key distribution field SMPKeyDistFormat SMPPairingMsg::getInitKeyDist() and SMPPairingMsg::getRespKeyDist(). 
The link is assumed to be encrypted from here on and AdapterStatusListener#deviceReady(BluetoothDevice, long) gets called on all listener.
Definition at line 83 of file SMPPairingState.java.
| org.direct_bt.SMPPairingState.FAILED =((byte)1) | 
Pairing failed.
Current PairingMode shall be PairingMode#NONE.
Definition at line 43 of file SMPPairingState.java.
| org.direct_bt.SMPPairingState.FEATURE_EXCHANGE_COMPLETED =((byte)4) | 
Phase 1: Pairing responded by responding (slave) device via SMPPairingMsg.
 Completes the Pairing Feature Exchange. Optional user input shall be given for Phase 2.
 Current PairingMode shall be set to a definitive value. 
Definition at line 64 of file SMPPairingState.java.
| org.direct_bt.SMPPairingState.FEATURE_EXCHANGE_STARTED =((byte)3) | 
Phase 1: Pairing requested by initiating (master) device via SMPPairingMsg.
 Starts the Pairing Feature Exchange.
 Current PairingMode shall be PairingMode#NEGOTIATING. 
Definition at line 57 of file SMPPairingState.java.
| org.direct_bt.SMPPairingState.KEY_DISTRIBUTION =((byte)8) | 
Phase 3: Key & value distribution started after SMPPairConfirmMsg or SMPPairPubKeyMsg (LE Secure Connection) exchange between initiating (master) and responding (slave) device.
Definition at line 74 of file SMPPairingState.java.
| org.direct_bt.SMPPairingState.NONE =((byte)0) | 
No pairing in process.
Current PairingMode shall be PairingMode#NONE.
Definition at line 40 of file SMPPairingState.java.
| org.direct_bt.SMPPairingState.NUMERIC_COMPARE_EXPECTED =((byte)6) | 
Phase 2: Authentication (MITM) Numeric Comparison Reply expected, see PairingMode#NUMERIC_COMPARE_ini.
Definition at line 69 of file SMPPairingState.java.
| org.direct_bt.SMPPairingState.OOB_EXPECTED =((byte)7) | 
Phase 2: Authentication (MITM) OOB data expected, see PairingMode#OUT_OF_BAND.
Definition at line 71 of file SMPPairingState.java.
| org.direct_bt.SMPPairingState.PASSKEY_EXPECTED =((byte)5) | 
Phase 2: Authentication (MITM) PASSKEY expected, see PairingMode#PASSKEY_ENTRY_ini.
Definition at line 67 of file SMPPairingState.java.
| org.direct_bt.SMPPairingState.REQUESTED_BY_RESPONDER =((byte)2) | 
Phase 0: Pairing requested by responding (slave) device via SMPSecurityReqMsg.
 Signals initiating (host) device to start the Pairing Feature Exchange.
 Current PairingMode shall be PairingMode#NEGOTIATING. 
Definition at line 50 of file SMPPairingState.java.
| final byte org.direct_bt.SMPPairingState.value | 
Definition at line 85 of file SMPPairingState.java.
 1.8.18
 1.8.18