paramID: | Parameter to Set
Size: | 2 byte(s)
|
Default: | 0x400
|
Range: |
Value |
Description |
0x400 |
GAPBOND_PAIRING_MODE |
0x402 |
GAPBOND_MITM_PROTECTION |
0x403 |
GAPBOND_IO_CAPABILITIES |
0x404 |
GAPBOND_OOB_ENABLED |
0x405 |
GAPBOND_OOB_DATA |
0x406 |
GAPBOND_BONDING_ENABLED |
0x407 |
GAPBOND_KEY_DIST_LIST |
0x408 |
GAPBOND_DEFAULT_PASSCODE |
0x409 |
GAPBOND_ERASE_ALLBONDS |
0x40A |
GAPBOND_AUTO_FAIL_PAIRING |
0x40B |
GAPBOND_AUTO_FAIL_REASON |
0x40C |
GAPBOND_KEYSIZE |
0x40D |
GAPBOND_AUTO_SYNC_WL |
0x40F |
GAPBOND_BOND_FAIL_ACTION |
0x410 |
GAPBOND_ERASE_SINGLEBOND |
0x411 |
GAPBOND_SECURE_CONNECTION |
0x412 |
GAPBOND_ECCKEY_REGEN_POLICY |
0x413 |
GAPBOND_GAPBOND_ECC_KEYS |
0x418 |
GAPBOND_LRU_BOND_REPLACEMENT |
0x41A |
GAPBOND_ERASE_LOCAL_INFO |
|
|
paramDataLen: | Size of parameter value
Condition: | ( paramID == 0x400) |
Size: | 1 byte(s) |
Value: | 1 |
|
GAPBOND_PAIRING_MODE: |
| Whether to allow pairing, and if so, whether to initiate pairing.
Condition: | ( paramID == 0x400)
|
Size: | 1 byte(s)
|
Default: | 0x00
|
Range: |
Value |
Description |
0x00 |
GAPBOND_PAIRING_MODE_NO_PAIRING |
0x01 |
GAPBOND_PAIRING_MODE_WAIT_FOR_REQ |
0x02 |
GAPBOND_PAIRING_MODE_INITIATE |
|
|
paramDataLen: | Size of parameter value
Condition: | ( paramID == 0x402) |
Size: | 1 byte(s) |
Value: | 1 |
|
GAPBOND_MITM_PROTECTION: |
| Whether to use authenticated pairing
Condition: | ( paramID == 0x402)
|
Size: | 1 byte(s)
|
Default: | 0x01
|
Range: |
Value |
Description |
False |
|
True |
|
|
|
paramDataLen: | Size of parameter value
Condition: | ( paramID == 0x403) |
Size: | 1 byte(s) |
Value: | 1 |
|
GAPBOND_IO_CAPABILITIES: |
| The I/O capabilities of the local device
Condition: | ( paramID == 0x403)
|
Size: | 1 byte(s)
|
Default: | 0x00
|
Range: |
Value |
Description |
0x00 |
GAPBOND_IO_CAP_DISPLAY_ONLY |
0x01 |
GAPBOND_IO_CAP_DISPLAY_YES_NO |
0x02 |
GAPBOND_IO_CAP_KEYBOARD_ONLY |
0x03 |
GAPBOND_IO_CAP_NO_INPUT_NO_OUTPUT |
0x04 |
GAPBOND_IO_CAP_KEYBOARD_DISPLAY |
|
|
paramDataLen: | Size of parameter value
Condition: | ( paramID == 0x404) |
Size: | 1 byte(s) |
Value: | 1 |
|
GAPBOND_OOB_ENABLED: |
| Whether to use OOB for pairing
Condition: | ( paramID == 0x404)
|
Size: | 1 byte(s)
|
Default: | 0x00
|
Range: |
Value |
Description |
False |
|
True |
|
|
|
paramDataLen: | Size of parameter value
Condition: | ( paramID == 0x405) |
Size: | 1 byte(s) |
Value: | 16 |
|
GAPBOND_OOB_DATA: |
| OOB data to use for pairing
Condition: | ( paramID == 0x405) |
Size: | 16 byte(s) |
Default: | “00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00” |
Range: | Any 16 byte value. |
|
paramDataLen: | Size of parameter value
Condition: | ( paramID == 0x406) |
Size: | 1 byte(s) |
Value: | 1 |
|
GAPBOND_BONDING_ENABLED: |
| Whether to bond after pairing
Condition: | ( paramID == 0x406)
|
Size: | 1 byte(s)
|
Default: | 0x00
|
Range: |
Value |
Description |
False |
|
True |
|
|
|
paramDataLen: | Size of parameter value
Condition: | ( paramID == 0x407) |
Size: | 1 byte(s) |
Value: | 1 |
|
GAPBOND_KEY_DIST_LIST: |
| Key distribution list for pairing
Condition: | ( paramID == 0x407)
|
Size: | 1 byte(s)
|
Default: | 0x63
|
Range: |
Value |
Description |
0x01 |
GAPBOND_KEYDIST_SENCKEY |
0x02 |
GAPBOND_KEYDIST_SIDKEY |
0x04 |
GAPBOND_KEYDIST_SSIGN |
0x08 |
GAPBOND_KEYDIST_SLINK |
0x10 |
GAPBOND_KEYDIST_MENCKEY |
0x20 |
GAPBOND_KEYDIST_MIDKEY |
0x40 |
GAPBOND_KEYDIST_MSIGN |
0x80 |
GAPBOND_KEYDIST_MLINK |
|
|
paramDataLen: | Size of parameter value
Condition: | ( paramID == 0x408) |
Size: | 1 byte(s) |
Value: | 4 |
|
GAPBOND_DEFAULT_PASSCODE: |
| Default passcode to use for authenticated pairing
Condition: | ( paramID == 0x408) |
Size: | 4 byte(s) |
Default: | 0x00000000 |
Range: | Any 6 digit string |
|
paramDataLen: | Size of parameter value
Condition: | ( paramID == 0x409) |
Size: | 1 byte(s) |
Value: | 0 |
|
GAPBOND_ERASE_ALLBONDS: |
| Erase all bonds from SNV and remove all bonded devices
Condition: | ( paramID == 0x409) |
Size: | 0 byte(s) |
Default: | N/A |
Range: | N/A |
|
paramDataLen: | Size of parameter value
Condition: | ( paramID == 0x40A) |
Size: | 1 byte(s) |
Value: | 1 |
|
GAPBOND_AUTO_FAIL_PAIRING: |
| For test mode only
Condition: | ( paramID == 0x40A)
|
Size: | 1 byte(s)
|
Default: | For test mode only
|
Range: |
Value |
Description |
False |
|
True |
|
|
|
paramDataLen: | Size of parameter value
Condition: | ( paramID == 0x40B) |
Size: | 1 byte(s) |
Value: | 1 |
|
GAPBOND_AUTO_FAIL_REASON: |
| For test mode only
Condition: | ( paramID == 0x40B) |
Size: | 1 byte(s) |
Default: | For test mode only |
Range: | For test mode only |
|
paramDataLen: | Size of parameter value
Condition: | ( paramID == 0x40C) |
Size: | 1 byte(s) |
Value: | 16 |
|
GAPBOND_KEYSIZE: |
| Key Size used in pairing
Condition: | ( paramID == 0x40C) |
Size: | 1 byte(s) |
Default: | 16 |
Range: | Any 16 byte value |
|
paramDataLen: | Size of parameter value
Condition: | ( paramID == 0x40D) |
Size: | 1 byte(s) |
Value: | 1 |
|
GAPBOND_AUTO_SYNC_WL: |
|
Condition: | ( paramID == 0x40D)
|
Size: | 1 byte(s)
|
Default: | 0x00
|
Range: |
Value |
Description |
False |
|
True |
|
|
|
paramDataLen: | Size of parameter value
Condition: | ( paramID == 0x40F) |
Size: | 1 byte(s) |
Value: | 1 |
|
GAPBOND_BOND_FAIL_ACTION: |
| The action that the device takes after an unsuccessful bonding attempt
Condition: | ( paramID == 0x40F)
|
Size: | 1 byte(s)
|
Default: | 0x02
|
Range: |
Value |
Description |
0x00 |
GAPBOND_FAIL_NO_ACTION |
0x01 |
GAPBOND_FAIL_INITIATE_PAIRING |
0x02 |
GAPBOND_FAIL_TERMINATE_LINK |
0x03 |
GAPBOND_FAIL_TERMINATE_ERASE_BONDS |
|
|
paramDataLen: | Size of parameter value
Condition: | ( paramID == 0x410) |
Size: | 1 byte(s) |
Value: | 7 |
|
GAPBOND_ERASE_SINGLEBOND: |
|
Condition: | ( paramID == 0x410) |
Size: | 7 byte(s) |
Default: | “00:00:00:00:00:00:00” |
Range: | A 7-byte array where the first byte is the address type and the next 6 are the device address. |
|
paramDataLen: | Size of parameter value
Condition: | ( paramID == 0x411) |
Size: | 1 byte(s) |
Value: | 1 |
|
GAPBOND_SECURE_CONNECTION: |
| Define Secure Connections Usage during Pairing
Condition: | ( paramID == 0x411)
|
Size: | 1 byte(s)
|
Default: | 0x01
|
Range: |
Value |
Description |
0x00 |
GAPBOND_SECURE_CONNECTION_NONE |
0x01 |
GAPBOND_SECURE_CONNECTION_ALLOW |
0x02 |
GAPBOND_SECURE_CONNECTION_ONLY |
|
|
paramDataLen: | Size of parameter value
Condition: | ( paramID == 0x412) |
Size: | 1 byte(s) |
Value: | 1 |
|
GAPBOND_ECCKEY_REGEN_POLICY: |
|
Condition: | ( paramID == 0x412) |
Size: | 1 byte(s) |
Default: | 2 |
Range: | 0 - 256 |
|
paramDataLen: | Size of parameter value
Condition: | ( paramID == 0x413) |
Size: | 1 byte(s) |
Value: | 96 |
|
GAPBOND_ECC_KEYS: |
| The private and public keys to use for Secure Connections pairing. Only applicable for Secure Connections. Allows the application to specify the private and public keys to use pairing. When this is set, the keys are used indefinitely even if a regeneration policy was set with GAPBOND_ECCKEY_REGEN_POLICY. To make the Bond Manager stop using these keys, pass a 1 byte value of 0x00. These keys are stored in RAM and are not retained in non-volatile memory. These keys can be defined by the application, or the application can request them using the SM_GetEccKeys command. By default, the keys are generated using GAPBOND_ECCKEY_REGEN_POLICY
Condition: | ( paramID == 0x413) |
Size: | 96 byte(s) |
Default: | “BD:1A:3C:CD:A6:B8:99:58:99:B7:40:EB:7B:60:FF:4A:50:3F:10:D2:E3:B3:C9:74:38:5F:C5:A3:D4:F6:49:3F:E6:9D:35:0E:48:01:03:CC:DB:FD:F4:AC:11:91:F4:EF:B9:A5:F9:E9:A7:83:2C:5E:2C:BE:97:F2:D2:03:B0:20:8B:D2:89:15:D0:8E:1C:74:24:30:ED:8F:C2:45:63:76:5C:15:52:5A:BF:9A:32:63:6D:EB:2A:65:49:9C:80:DC” |
Range: | Any 96 byte value |
|
paramDataLen: | Size of parameter value
Condition: | ( paramID == 0x418) |
Size: | 1 byte(s) |
Value: | 1 |
|
GAPBOND_LRU_BOND_REPLACEMENT: |
| Enable / Disable LRU Bond Replacement Scheme. Whether to enable the least recently used bond scheme so that, when a newly bonded device is added and all the entries are full, the least recently used devices bond is deleted to make room.
Condition: | ( paramID == 0x418)
|
Size: | 1 byte(s)
|
Default: | 0x00
|
Range: |
Value |
Description |
False |
|
True |
|
|
|