TI BLE-Stack for Bluetooth API Documentation  3.03.01.00
Macros
List of SNP status codes

Macros

#define SNP_BLE_GAP_BOND_REJECTED   bleGAPBondRejected
 0x32, General status, The bound information was rejected.
 
#define SNP_BLE_MEM_ALLOC_ERROR   bleMemAllocError
 0x13, General status, Memory allocation error occurred
 
#define SNP_BLE_NO_RESOURCES   bleNoResources
 0x15, General status, There are no resource available
 
#define SNP_BLE_TIMEOUT   bleTimeout
 0x17, General status, Timed out performing function
 
#define SNP_INVALIDPARAMETER   INVALIDPARAMETER
 0x2, General status, Invalid Parameter
 
#define SNP_LL_CTRL_PKT_TIMEOUT_TERM   LL_CTRL_PKT_TIMEOUT_TERM
 0x22, LL status, Link Layer Response Timeout
 
#define SNP_LL_ENC_KEY_REQ_REJECTED   LL_ENC_KEY_REQ_REJECTED
 0x06, LL status, Pin or Key Missing
 
#define SNP_LL_ENC_KEY_REQ_UNSUPPORTED_FEATURE   LL_ENC_KEY_REQ_UNSUPPORTED_FEATURE
 0x1A, LL status, Unsupported Remote Feature
 
#define SNP_LL_STATUS_ERROR_BAD_PARAMETER   LL_STATUS_ERROR_BAD_PARAMETER
 0x12, LL status, Invalid HCI Command Parameters or 0x30: Parameter Out of Mandatory Range?
 
#define SNP_LL_STATUS_ERROR_COMMAND_DISALLOWED   LL_STATUS_ERROR_COMMAND_DISALLOWED
 0x0C, LL status, Command Disallowed
 
#define SNP_LL_STATUS_ERROR_CTRL_PROC_ALREADY_ACTIVE   LL_STATUS_ERROR_CTRL_PROC_ALREADY_ACTIVE
 0x3A, LL status, Controller Busy
 
#define SNP_LL_STATUS_ERROR_FEATURE_NOT_SUPPORTED   LL_STATUS_ERROR_FEATURE_NOT_SUPPORTED
 0x11, LL status, Unsupported Feature or Parameter Value
 
#define SNP_LL_STATUS_ERROR_INACTIVE_CONNECTION   LL_STATUS_ERROR_INACTIVE_CONNECTION
 0x02, LL status, Unknown Connection Identifier for now; may be needed for multiple connections
 
#define SNP_SMP_PAIRING_FAILED_AUTH_REQ   SMP_PAIRING_FAILED_AUTH_REQ
 0x03, SMP status, The pairing procedure can't be performed as authentication requirements can't be met due to IO capabilities of one or both devices
 
#define SNP_SMP_PAIRING_FAILED_CMD_NOT_SUPPORTED   SMP_PAIRING_FAILED_CMD_NOT_SUPPORTED
 0x07, SMP status, The SMP command received is not supported on this device.
 
#define SNP_SMP_PAIRING_FAILED_CONFIRM_VALUE   SMP_PAIRING_FAILED_CONFIRM_VALUE
 0x04, SMP status, The confirm value doesn't match the calculated compare value
 
#define SNP_SMP_PAIRING_FAILED_DHKEY_CHECK_FAILED   SMP_PAIRING_FAILED_DHKEY_CHECK_FAILED
 0x0B, SMP status, Indicates to the remote device that the DHKey Check value received does not match the one calculated by the local device.
 
#define SNP_SMP_PAIRING_FAILED_ENC_KEY_SIZE   SMP_PAIRING_FAILED_ENC_KEY_SIZE
 0x06, SMP status, The resultant encryption key size is insufficient for the security requirements of this device.
 
#define SNP_SMP_PAIRING_FAILED_NOT_SUPPORTED   SMP_PAIRING_FAILED_NOT_SUPPORTED
 0x05, SMP status, Pairing isn't supported by the device
 
#define SNP_SMP_PAIRING_FAILED_NUM_COMPARISON_FAILED   SMP_PAIRING_FAILED_NUM_COMPARISON_FAILED
 0x0C, SMP status, Indicates that the confirm value in the numeric comparison protocol do not match.
 
#define SNP_SMP_PAIRING_FAILED_OOB_NOT_AVAIL   SMP_PAIRING_FAILED_OOB_NOT_AVAIL
 0x02, SMP status, The OOB data is not available
 
#define SNP_SMP_PAIRING_FAILED_PASSKEY_ENTRY_FAILED   SMP_PAIRING_FAILED_PASSKEY_ENTRY_FAILED
 0x01, SMP status, The user input of the passkey failed, for example, the user cancelled the operation.
 
#define SNP_SMP_PAIRING_FAILED_UNSPECIFIED   SMP_PAIRING_FAILED_UNSPECIFIED
 0x08, SMP status, Pairing failed due to an unspecified reason
 

Detailed Description

List of GENERAL status codes that are transfered to the SAP layer. Note: These defines were added after the SAP was not able to understand the statuses that were transfered "as is" to the pGapBondCB->pairStateCB. The values of these defines is copied from the original define status.

© Copyright 1995-2019, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale