upm
1.7.1
Sensor/Actuator repository for libmraa (v2.0.0)
|
Definitions for the ACI (Application Control Interface) More...
Files | |
file | aci.h |
Data Structures | |
struct | _aci_packed_ |
Structure for the ACI_CMD_SET_LOCAL_DATA ACI command parameters. More... | |
Macros | |
#define | _aci_packed_ |
#define | ACI_ASSERT_SIZE(x, y) typedef char x ## _assert_size_t[-1+10*(sizeof(x) == (y))] |
#define | ACI_VERSION (0x02) |
Current ACI protocol version. 0 means a device that is not yet released. A numer greater than 0 refers to a specific ACI version documented and released. The ACI consists of the ACI commands, ACI events and error codes. | |
#define | BTLE_DEVICE_ADDRESS_SIZE (6) |
Size in bytes of a Bluetooth Address. | |
#define | ACI_PACKET_MAX_LEN (32) |
Maximum length in bytes of a full ACI packet, including length prefix, opcode and payload. | |
#define | ACI_ECHO_DATA_MAX_LEN (ACI_PACKET_MAX_LEN - 3) |
Maximum length in bytes of the echo data portion. | |
#define | ACI_DEVICE_MAX_PIPES (62) |
Maximum number of ACI pipes. | |
#define | ACI_PIPE_TX_DATA_MAX_LEN (20) |
Maximum length in bytes of a transmission data pipe packet. | |
#define | ACI_PIPE_RX_DATA_MAX_LEN (22) |
Maximum length in bytes of a reception data pipe packet. | |
#define | ACI_GAP_DEVNAME_MAX_LEN (20) |
Maximum length in bytes of the GAP device name. | |
#define | ACI_AD_PACKET_MAX_LEN (31) |
Maximum length in bytes of an AD packet. | |
#define | ACI_AD_PACKET_MAX_USER_LEN (31 - 3) |
Maximum usable length in bytes of an AD packet. | |
#define | ACI_PIPE_INVALID (0xFF) |
Invalid pipe number. | |
#define | ACI_VS_UUID_128_MAX_COUNT 64 /** #0 reserved for invalid, #1 reservered for BT SIG and a maximum of 1024 bytes (16*64) */ |
Maximum number of 128-bit Vendor Specific UUIDs that can be set. | |
#define | ACI_AD_LOC_SVCUUID_16_MAX_COUNT 5 |
Maximum number of 16-bit UUIDs that can be inserted in the Services tag of AD. | |
#define | ACI_AD_LOC_SVCUUID_128_MAX_COUNT 1 |
Maximum number of 128-bit UUIDs that can be inserted in the Services tag of AD. | |
#define | ACI_AD_SOL_SVCUUID_16_MAX_COUNT 5 |
Maximum number of UUIDs that can be inserted in the Solicited Services tag of AD. | |
#define | ACI_AD_SOL_SVCUUID_128_MAX_COUNT 1 |
Maximum number of UUIDs that can be inserted in the Solicited Services tag of AD. | |
#define | ACI_SEC_ENCKEY_SIZE_MIN 7 |
Minimum encryption key size. | |
#define | ACI_SEC_ENCKEY_SIZE_MAX 16 |
Maximum encryption key size. | |
#define | ACI_CUSTOM_AD_TYPE_MAX_COUNT 8 |
Maximum number of custom ad types. | |
#define | ACI_CUSTOM_AD_TYPE_MAX_DATA_LENGTH 20 |
Maximum custom ad type data size. | |
Enumerations | |
enum | _aci_packed_ { ACI_STORE_INVALID = 0x0, ACI_STORE_LOCAL = 0x01, ACI_STORE_REMOTE = 0x02, ACI_TX_BROADCAST = 0x0001, ACI_TX = 0x0002, ACI_TX_ACK = 0x0004, ACI_RX = 0x0008, ACI_RX_ACK = 0x0010, ACI_TX_REQ = 0x0020, ACI_RX_REQ = 0x0040, ACI_SET = 0x0080, ACI_TX_SIGN = 0x0100, ACI_RX_SIGN = 0x0200, ACI_RX_ACK_AUTO = 0x0400, ACI_BD_ADDR_TYPE_INVALID = 0x00, ACI_BD_ADDR_TYPE_PUBLIC = 0x01, ACI_BD_ADDR_TYPE_RANDOM_STATIC = 0x02, ACI_BD_ADDR_TYPE_RANDOM_PRIVATE_RESOLVABLE = 0x03, ACI_BD_ADDR_TYPE_RANDOM_PRIVATE_UNRESOLVABLE = 0x04, ACI_DEVICE_OUTPUT_POWER_MINUS_18DBM = 0x00, ACI_DEVICE_OUTPUT_POWER_MINUS_12DBM = 0x01, ACI_DEVICE_OUTPUT_POWER_MINUS_6DBM = 0x02, ACI_DEVICE_OUTPUT_POWER_0DBM = 0x03, ACI_DEVICE_INVALID =0x00, ACI_DEVICE_TEST =0x01, ACI_DEVICE_SETUP =0x02, ACI_DEVICE_STANDBY =0x03, ACI_DEVICE_SLEEP =0x04, ACI_REASON_TERMINATE =0x01, ACI_REASON_BAD_TIMING =0x02, ACI_TEST_MODE_DTM_UART = 0x01, ACI_TEST_MODE_DTM_ACI = 0x02, ACI_TEST_MODE_EXIT = 0xFF, ACI_PERMISSIONS_NONE =0x00, ACI_PERMISSIONS_LINK_AUTHENTICATED =0x01, ACI_HW_ERROR_NONE = 0x00, ACI_HW_ERROR_FATAL = 0x01, ACI_CLOCK_ACCURACY_500_PPM = 0x00, ACI_CLOCK_ACCURACY_250_PPM = 0x01, ACI_CLOCK_ACCURACY_150_PPM = 0x02, ACI_CLOCK_ACCURACY_100_PPM = 0x03, ACI_CLOCK_ACCURACY_75_PPM = 0x04, ACI_CLOCK_ACCURACY_50_PPM = 0x05, ACI_CLOCK_ACCURACY_30_PPM = 0x06, ACI_CLOCK_ACCURACY_20_PPM = 0x07, ACI_APP_LATENCY_DISABLE = 0, ACI_APP_LATENCY_ENABLE = 1, ACI_GATT_FORMAT_NONE = 0x00, ACI_GATT_FORMAT_BOOLEAN = 0x01, ACI_GATT_FORMAT_2BIT = 0x02, ACI_GATT_FORMAT_NIBBLE = 0x03, ACI_GATT_FORMAT_UINT8 = 0x04, ACI_GATT_FORMAT_UINT12 = 0x05, ACI_GATT_FORMAT_UINT16 = 0x06, ACI_GATT_FORMAT_UINT24 = 0x07, ACI_GATT_FORMAT_UINT32 = 0x08, ACI_GATT_FORMAT_UINT48 = 0x09, ACI_GATT_FORMAT_UINT64 = 0x0A, ACI_GATT_FORMAT_UINT128 = 0x0B, ACI_GATT_FORMAT_SINT8 = 0x0C, ACI_GATT_FORMAT_SINT12 = 0x0D, ACI_GATT_FORMAT_SINT16 = 0x0E, ACI_GATT_FORMAT_SINT24 = 0x0F, ACI_GATT_FORMAT_SINT32 = 0x10, ACI_GATT_FORMAT_SINT48 = 0x11, ACI_GATT_FORMAT_SINT64 = 0x12, ACI_GATT_FORMAT_SINT128 = 0x13, ACI_GATT_FORMAT_FLOAT32 = 0x14, ACI_GATT_FORMAT_FLOAT64 = 0x15, ACI_GATT_FORMAT_SFLOAT = 0x16, ACI_GATT_FORMAT_FLOAT = 0x17, ACI_GATT_FORMAT_DUINT16 = 0x18, ACI_GATT_FORMAT_UTF8S = 0x19, ACI_GATT_FORMAT_UTF16S = 0x1A, ACI_GATT_FORMAT_STRUCT = 0x1B, ACI_GATT_NAMESPACE_INVALID = 0x00, ACI_GATT_NAMESPACE_BTSIG = 0x01, ACI_KEY_TYPE_INVALID = 0x00, ACI_KEY_TYPE_PASSKEY = 0x01, ACI_BOND_STATUS_SUCCESS = 0x00, ACI_BOND_STATUS_FAILED = 0x01, ACI_BOND_STATUS_FAILED_TIMED_OUT = 0x02, ACI_BOND_STATUS_FAILED_PASSKEY_ENTRY_FAILED = 0x81, ACI_BOND_STATUS_FAILED_OOB_UNAVAILABLE = 0x82, ACI_BOND_STATUS_FAILED_AUTHENTICATION_REQ = 0x83, ACI_BOND_STATUS_FAILED_CONFIRM_VALUE = 0x84, ACI_BOND_STATUS_FAILED_PAIRING_UNSUPPORTED = 0x85, ACI_BOND_STATUS_FAILED_ENCRYPTION_KEY_SIZE = 0x86, ACI_BOND_STATUS_FAILED_SMP_CMD_UNSUPPORTED = 0x87, ACI_BOND_STATUS_FAILED_UNSPECIFIED_REASON = 0x88, ACI_BOND_STATUS_FAILED_REPEATED_ATTEMPTS = 0x89, ACI_BOND_STATUS_FAILED_INVALID_PARAMETERS = 0x8A, ACI_BOND_STATUS_SOURCE_INVALID = 0x00, ACI_BOND_STATUS_SOURCE_LOCAL = 0x01, ACI_BOND_STATUS_SOURCE_REMOTE = 0x02, ACI_STATUS_SUCCESS = 0x00, ACI_STATUS_TRANSACTION_CONTINUE = 0x01, ACI_STATUS_TRANSACTION_COMPLETE = 0x02, ACI_STATUS_EXTENDED = 0x03, ACI_STATUS_ERROR_UNKNOWN = 0x80, ACI_STATUS_ERROR_INTERNAL = 0x81, ACI_STATUS_ERROR_CMD_UNKNOWN = 0x82, ACI_STATUS_ERROR_DEVICE_STATE_INVALID = 0x83, ACI_STATUS_ERROR_INVALID_LENGTH = 0x84, ACI_STATUS_ERROR_INVALID_PARAMETER = 0x85, ACI_STATUS_ERROR_BUSY = 0x86, ACI_STATUS_ERROR_INVALID_DATA = 0x87, ACI_STATUS_ERROR_CRC_MISMATCH = 0x88, ACI_STATUS_ERROR_UNSUPPORTED_SETUP_FORMAT = 0x89, ACI_STATUS_ERROR_INVALID_SEQ_NO = 0x8A, ACI_STATUS_ERROR_SETUP_LOCKED = 0x8B, ACI_STATUS_ERROR_LOCK_FAILED = 0x8C, ACI_STATUS_ERROR_BOND_REQUIRED = 0x8D, ACI_STATUS_ERROR_REJECTED = 0x8E, ACI_STATUS_ERROR_DATA_SIZE = 0x8F, ACI_STATUS_ERROR_PIPE_INVALID = 0x90, ACI_STATUS_ERROR_CREDIT_NOT_AVAILABLE = 0x91, ACI_STATUS_ERROR_PEER_ATT_ERROR = 0x92, ACI_STATUS_ERROR_ADVT_TIMEOUT = 0x93, ACI_STATUS_ERROR_PEER_SMP_ERROR = 0x94, ACI_STATUS_ERROR_PIPE_TYPE_INVALID = 0x95, ACI_STATUS_ERROR_PIPE_STATE_INVALID = 0x96, ACI_STATUS_ERROR_INVALID_KEY_SIZE = 0x97, ACI_STATUS_ERROR_INVALID_KEY_DATA = 0x98, ACI_STATUS_RESERVED_START = 0xF0, ACI_STATUS_RESERVED_END = 0xFF, ACI_CMD_TEST = 0x01, ACI_CMD_ECHO = 0x02, ACI_CMD_DTM_CMD = 0x03, ACI_CMD_SLEEP = 0x04, ACI_CMD_WAKEUP = 0x05, ACI_CMD_SETUP = 0x06, ACI_CMD_READ_DYNAMIC_DATA = 0x07, ACI_CMD_WRITE_DYNAMIC_DATA = 0x08, ACI_CMD_GET_DEVICE_VERSION = 0x09, ACI_CMD_GET_DEVICE_ADDRESS = 0x0A, ACI_CMD_GET_BATTERY_LEVEL = 0x0B, ACI_CMD_GET_TEMPERATURE = 0x0C, ACI_CMD_SET_LOCAL_DATA = 0x0D, ACI_CMD_RADIO_RESET = 0x0E, ACI_CMD_CONNECT = 0x0F, ACI_CMD_BOND = 0x10, ACI_CMD_DISCONNECT = 0x11, ACI_CMD_SET_TX_POWER = 0x12, ACI_CMD_CHANGE_TIMING = 0x13, ACI_CMD_OPEN_REMOTE_PIPE = 0x14, ACI_CMD_SEND_DATA = 0x15, ACI_CMD_SEND_DATA_ACK = 0x16, ACI_CMD_REQUEST_DATA = 0x17, ACI_CMD_SEND_DATA_NACK = 0x18, ACI_CMD_SET_APP_LATENCY = 0x19, ACI_CMD_SET_KEY = 0x1A, ACI_CMD_OPEN_ADV_PIPE = 0x1B, ACI_CMD_BROADCAST = 0x1C, ACI_CMD_BOND_SECURITY_REQUEST = 0x1D, ACI_CMD_CONNECT_DIRECT = 0x1E, ACI_CMD_CLOSE_REMOTE_PIPE = 0x1F, ACI_CMD_INVALID = 0xFF, ACI_EVT_INVALID = 0x00, ACI_EVT_DEVICE_STARTED = 0x81, ACI_EVT_ECHO = 0x82, ACI_EVT_HW_ERROR = 0x83, ACI_EVT_CMD_RSP = 0x84, ACI_EVT_CONNECTED = 0x85, ACI_EVT_DISCONNECTED = 0x86, ACI_EVT_BOND_STATUS = 0x87, ACI_EVT_PIPE_STATUS = 0x88, ACI_EVT_TIMING = 0x89, ACI_EVT_DATA_CREDIT = 0x8A, ACI_EVT_DATA_ACK = 0x8B, ACI_EVT_DATA_RECEIVED = 0x8C, ACI_EVT_PIPE_ERROR = 0x8D, ACI_EVT_DISPLAY_PASSKEY = 0x8E, ACI_EVT_KEY_REQUEST = 0x8F } |
enum | _aci_packed_ { ACI_STORE_INVALID = 0x0, ACI_STORE_LOCAL = 0x01, ACI_STORE_REMOTE = 0x02, ACI_TX_BROADCAST = 0x0001, ACI_TX = 0x0002, ACI_TX_ACK = 0x0004, ACI_RX = 0x0008, ACI_RX_ACK = 0x0010, ACI_TX_REQ = 0x0020, ACI_RX_REQ = 0x0040, ACI_SET = 0x0080, ACI_TX_SIGN = 0x0100, ACI_RX_SIGN = 0x0200, ACI_RX_ACK_AUTO = 0x0400, ACI_BD_ADDR_TYPE_INVALID = 0x00, ACI_BD_ADDR_TYPE_PUBLIC = 0x01, ACI_BD_ADDR_TYPE_RANDOM_STATIC = 0x02, ACI_BD_ADDR_TYPE_RANDOM_PRIVATE_RESOLVABLE = 0x03, ACI_BD_ADDR_TYPE_RANDOM_PRIVATE_UNRESOLVABLE = 0x04, ACI_DEVICE_OUTPUT_POWER_MINUS_18DBM = 0x00, ACI_DEVICE_OUTPUT_POWER_MINUS_12DBM = 0x01, ACI_DEVICE_OUTPUT_POWER_MINUS_6DBM = 0x02, ACI_DEVICE_OUTPUT_POWER_0DBM = 0x03, ACI_DEVICE_INVALID =0x00, ACI_DEVICE_TEST =0x01, ACI_DEVICE_SETUP =0x02, ACI_DEVICE_STANDBY =0x03, ACI_DEVICE_SLEEP =0x04, ACI_REASON_TERMINATE =0x01, ACI_REASON_BAD_TIMING =0x02, ACI_TEST_MODE_DTM_UART = 0x01, ACI_TEST_MODE_DTM_ACI = 0x02, ACI_TEST_MODE_EXIT = 0xFF, ACI_PERMISSIONS_NONE =0x00, ACI_PERMISSIONS_LINK_AUTHENTICATED =0x01, ACI_HW_ERROR_NONE = 0x00, ACI_HW_ERROR_FATAL = 0x01, ACI_CLOCK_ACCURACY_500_PPM = 0x00, ACI_CLOCK_ACCURACY_250_PPM = 0x01, ACI_CLOCK_ACCURACY_150_PPM = 0x02, ACI_CLOCK_ACCURACY_100_PPM = 0x03, ACI_CLOCK_ACCURACY_75_PPM = 0x04, ACI_CLOCK_ACCURACY_50_PPM = 0x05, ACI_CLOCK_ACCURACY_30_PPM = 0x06, ACI_CLOCK_ACCURACY_20_PPM = 0x07, ACI_APP_LATENCY_DISABLE = 0, ACI_APP_LATENCY_ENABLE = 1, ACI_GATT_FORMAT_NONE = 0x00, ACI_GATT_FORMAT_BOOLEAN = 0x01, ACI_GATT_FORMAT_2BIT = 0x02, ACI_GATT_FORMAT_NIBBLE = 0x03, ACI_GATT_FORMAT_UINT8 = 0x04, ACI_GATT_FORMAT_UINT12 = 0x05, ACI_GATT_FORMAT_UINT16 = 0x06, ACI_GATT_FORMAT_UINT24 = 0x07, ACI_GATT_FORMAT_UINT32 = 0x08, ACI_GATT_FORMAT_UINT48 = 0x09, ACI_GATT_FORMAT_UINT64 = 0x0A, ACI_GATT_FORMAT_UINT128 = 0x0B, ACI_GATT_FORMAT_SINT8 = 0x0C, ACI_GATT_FORMAT_SINT12 = 0x0D, ACI_GATT_FORMAT_SINT16 = 0x0E, ACI_GATT_FORMAT_SINT24 = 0x0F, ACI_GATT_FORMAT_SINT32 = 0x10, ACI_GATT_FORMAT_SINT48 = 0x11, ACI_GATT_FORMAT_SINT64 = 0x12, ACI_GATT_FORMAT_SINT128 = 0x13, ACI_GATT_FORMAT_FLOAT32 = 0x14, ACI_GATT_FORMAT_FLOAT64 = 0x15, ACI_GATT_FORMAT_SFLOAT = 0x16, ACI_GATT_FORMAT_FLOAT = 0x17, ACI_GATT_FORMAT_DUINT16 = 0x18, ACI_GATT_FORMAT_UTF8S = 0x19, ACI_GATT_FORMAT_UTF16S = 0x1A, ACI_GATT_FORMAT_STRUCT = 0x1B, ACI_GATT_NAMESPACE_INVALID = 0x00, ACI_GATT_NAMESPACE_BTSIG = 0x01, ACI_KEY_TYPE_INVALID = 0x00, ACI_KEY_TYPE_PASSKEY = 0x01, ACI_BOND_STATUS_SUCCESS = 0x00, ACI_BOND_STATUS_FAILED = 0x01, ACI_BOND_STATUS_FAILED_TIMED_OUT = 0x02, ACI_BOND_STATUS_FAILED_PASSKEY_ENTRY_FAILED = 0x81, ACI_BOND_STATUS_FAILED_OOB_UNAVAILABLE = 0x82, ACI_BOND_STATUS_FAILED_AUTHENTICATION_REQ = 0x83, ACI_BOND_STATUS_FAILED_CONFIRM_VALUE = 0x84, ACI_BOND_STATUS_FAILED_PAIRING_UNSUPPORTED = 0x85, ACI_BOND_STATUS_FAILED_ENCRYPTION_KEY_SIZE = 0x86, ACI_BOND_STATUS_FAILED_SMP_CMD_UNSUPPORTED = 0x87, ACI_BOND_STATUS_FAILED_UNSPECIFIED_REASON = 0x88, ACI_BOND_STATUS_FAILED_REPEATED_ATTEMPTS = 0x89, ACI_BOND_STATUS_FAILED_INVALID_PARAMETERS = 0x8A, ACI_BOND_STATUS_SOURCE_INVALID = 0x00, ACI_BOND_STATUS_SOURCE_LOCAL = 0x01, ACI_BOND_STATUS_SOURCE_REMOTE = 0x02, ACI_STATUS_SUCCESS = 0x00, ACI_STATUS_TRANSACTION_CONTINUE = 0x01, ACI_STATUS_TRANSACTION_COMPLETE = 0x02, ACI_STATUS_EXTENDED = 0x03, ACI_STATUS_ERROR_UNKNOWN = 0x80, ACI_STATUS_ERROR_INTERNAL = 0x81, ACI_STATUS_ERROR_CMD_UNKNOWN = 0x82, ACI_STATUS_ERROR_DEVICE_STATE_INVALID = 0x83, ACI_STATUS_ERROR_INVALID_LENGTH = 0x84, ACI_STATUS_ERROR_INVALID_PARAMETER = 0x85, ACI_STATUS_ERROR_BUSY = 0x86, ACI_STATUS_ERROR_INVALID_DATA = 0x87, ACI_STATUS_ERROR_CRC_MISMATCH = 0x88, ACI_STATUS_ERROR_UNSUPPORTED_SETUP_FORMAT = 0x89, ACI_STATUS_ERROR_INVALID_SEQ_NO = 0x8A, ACI_STATUS_ERROR_SETUP_LOCKED = 0x8B, ACI_STATUS_ERROR_LOCK_FAILED = 0x8C, ACI_STATUS_ERROR_BOND_REQUIRED = 0x8D, ACI_STATUS_ERROR_REJECTED = 0x8E, ACI_STATUS_ERROR_DATA_SIZE = 0x8F, ACI_STATUS_ERROR_PIPE_INVALID = 0x90, ACI_STATUS_ERROR_CREDIT_NOT_AVAILABLE = 0x91, ACI_STATUS_ERROR_PEER_ATT_ERROR = 0x92, ACI_STATUS_ERROR_ADVT_TIMEOUT = 0x93, ACI_STATUS_ERROR_PEER_SMP_ERROR = 0x94, ACI_STATUS_ERROR_PIPE_TYPE_INVALID = 0x95, ACI_STATUS_ERROR_PIPE_STATE_INVALID = 0x96, ACI_STATUS_ERROR_INVALID_KEY_SIZE = 0x97, ACI_STATUS_ERROR_INVALID_KEY_DATA = 0x98, ACI_STATUS_RESERVED_START = 0xF0, ACI_STATUS_RESERVED_END = 0xFF, ACI_CMD_TEST = 0x01, ACI_CMD_ECHO = 0x02, ACI_CMD_DTM_CMD = 0x03, ACI_CMD_SLEEP = 0x04, ACI_CMD_WAKEUP = 0x05, ACI_CMD_SETUP = 0x06, ACI_CMD_READ_DYNAMIC_DATA = 0x07, ACI_CMD_WRITE_DYNAMIC_DATA = 0x08, ACI_CMD_GET_DEVICE_VERSION = 0x09, ACI_CMD_GET_DEVICE_ADDRESS = 0x0A, ACI_CMD_GET_BATTERY_LEVEL = 0x0B, ACI_CMD_GET_TEMPERATURE = 0x0C, ACI_CMD_SET_LOCAL_DATA = 0x0D, ACI_CMD_RADIO_RESET = 0x0E, ACI_CMD_CONNECT = 0x0F, ACI_CMD_BOND = 0x10, ACI_CMD_DISCONNECT = 0x11, ACI_CMD_SET_TX_POWER = 0x12, ACI_CMD_CHANGE_TIMING = 0x13, ACI_CMD_OPEN_REMOTE_PIPE = 0x14, ACI_CMD_SEND_DATA = 0x15, ACI_CMD_SEND_DATA_ACK = 0x16, ACI_CMD_REQUEST_DATA = 0x17, ACI_CMD_SEND_DATA_NACK = 0x18, ACI_CMD_SET_APP_LATENCY = 0x19, ACI_CMD_SET_KEY = 0x1A, ACI_CMD_OPEN_ADV_PIPE = 0x1B, ACI_CMD_BROADCAST = 0x1C, ACI_CMD_BOND_SECURITY_REQUEST = 0x1D, ACI_CMD_CONNECT_DIRECT = 0x1E, ACI_CMD_CLOSE_REMOTE_PIPE = 0x1F, ACI_CMD_INVALID = 0xFF, ACI_EVT_INVALID = 0x00, ACI_EVT_DEVICE_STARTED = 0x81, ACI_EVT_ECHO = 0x82, ACI_EVT_HW_ERROR = 0x83, ACI_EVT_CMD_RSP = 0x84, ACI_EVT_CONNECTED = 0x85, ACI_EVT_DISCONNECTED = 0x86, ACI_EVT_BOND_STATUS = 0x87, ACI_EVT_PIPE_STATUS = 0x88, ACI_EVT_TIMING = 0x89, ACI_EVT_DATA_CREDIT = 0x8A, ACI_EVT_DATA_ACK = 0x8B, ACI_EVT_DATA_RECEIVED = 0x8C, ACI_EVT_PIPE_ERROR = 0x8D, ACI_EVT_DISPLAY_PASSKEY = 0x8E, ACI_EVT_KEY_REQUEST = 0x8F } |
enum | _aci_packed_ { ACI_STORE_INVALID = 0x0, ACI_STORE_LOCAL = 0x01, ACI_STORE_REMOTE = 0x02, ACI_TX_BROADCAST = 0x0001, ACI_TX = 0x0002, ACI_TX_ACK = 0x0004, ACI_RX = 0x0008, ACI_RX_ACK = 0x0010, ACI_TX_REQ = 0x0020, ACI_RX_REQ = 0x0040, ACI_SET = 0x0080, ACI_TX_SIGN = 0x0100, ACI_RX_SIGN = 0x0200, ACI_RX_ACK_AUTO = 0x0400, ACI_BD_ADDR_TYPE_INVALID = 0x00, ACI_BD_ADDR_TYPE_PUBLIC = 0x01, ACI_BD_ADDR_TYPE_RANDOM_STATIC = 0x02, ACI_BD_ADDR_TYPE_RANDOM_PRIVATE_RESOLVABLE = 0x03, ACI_BD_ADDR_TYPE_RANDOM_PRIVATE_UNRESOLVABLE = 0x04, ACI_DEVICE_OUTPUT_POWER_MINUS_18DBM = 0x00, ACI_DEVICE_OUTPUT_POWER_MINUS_12DBM = 0x01, ACI_DEVICE_OUTPUT_POWER_MINUS_6DBM = 0x02, ACI_DEVICE_OUTPUT_POWER_0DBM = 0x03, ACI_DEVICE_INVALID =0x00, ACI_DEVICE_TEST =0x01, ACI_DEVICE_SETUP =0x02, ACI_DEVICE_STANDBY =0x03, ACI_DEVICE_SLEEP =0x04, ACI_REASON_TERMINATE =0x01, ACI_REASON_BAD_TIMING =0x02, ACI_TEST_MODE_DTM_UART = 0x01, ACI_TEST_MODE_DTM_ACI = 0x02, ACI_TEST_MODE_EXIT = 0xFF, ACI_PERMISSIONS_NONE =0x00, ACI_PERMISSIONS_LINK_AUTHENTICATED =0x01, ACI_HW_ERROR_NONE = 0x00, ACI_HW_ERROR_FATAL = 0x01, ACI_CLOCK_ACCURACY_500_PPM = 0x00, ACI_CLOCK_ACCURACY_250_PPM = 0x01, ACI_CLOCK_ACCURACY_150_PPM = 0x02, ACI_CLOCK_ACCURACY_100_PPM = 0x03, ACI_CLOCK_ACCURACY_75_PPM = 0x04, ACI_CLOCK_ACCURACY_50_PPM = 0x05, ACI_CLOCK_ACCURACY_30_PPM = 0x06, ACI_CLOCK_ACCURACY_20_PPM = 0x07, ACI_APP_LATENCY_DISABLE = 0, ACI_APP_LATENCY_ENABLE = 1, ACI_GATT_FORMAT_NONE = 0x00, ACI_GATT_FORMAT_BOOLEAN = 0x01, ACI_GATT_FORMAT_2BIT = 0x02, ACI_GATT_FORMAT_NIBBLE = 0x03, ACI_GATT_FORMAT_UINT8 = 0x04, ACI_GATT_FORMAT_UINT12 = 0x05, ACI_GATT_FORMAT_UINT16 = 0x06, ACI_GATT_FORMAT_UINT24 = 0x07, ACI_GATT_FORMAT_UINT32 = 0x08, ACI_GATT_FORMAT_UINT48 = 0x09, ACI_GATT_FORMAT_UINT64 = 0x0A, ACI_GATT_FORMAT_UINT128 = 0x0B, ACI_GATT_FORMAT_SINT8 = 0x0C, ACI_GATT_FORMAT_SINT12 = 0x0D, ACI_GATT_FORMAT_SINT16 = 0x0E, ACI_GATT_FORMAT_SINT24 = 0x0F, ACI_GATT_FORMAT_SINT32 = 0x10, ACI_GATT_FORMAT_SINT48 = 0x11, ACI_GATT_FORMAT_SINT64 = 0x12, ACI_GATT_FORMAT_SINT128 = 0x13, ACI_GATT_FORMAT_FLOAT32 = 0x14, ACI_GATT_FORMAT_FLOAT64 = 0x15, ACI_GATT_FORMAT_SFLOAT = 0x16, ACI_GATT_FORMAT_FLOAT = 0x17, ACI_GATT_FORMAT_DUINT16 = 0x18, ACI_GATT_FORMAT_UTF8S = 0x19, ACI_GATT_FORMAT_UTF16S = 0x1A, ACI_GATT_FORMAT_STRUCT = 0x1B, ACI_GATT_NAMESPACE_INVALID = 0x00, ACI_GATT_NAMESPACE_BTSIG = 0x01, ACI_KEY_TYPE_INVALID = 0x00, ACI_KEY_TYPE_PASSKEY = 0x01, ACI_BOND_STATUS_SUCCESS = 0x00, ACI_BOND_STATUS_FAILED = 0x01, ACI_BOND_STATUS_FAILED_TIMED_OUT = 0x02, ACI_BOND_STATUS_FAILED_PASSKEY_ENTRY_FAILED = 0x81, ACI_BOND_STATUS_FAILED_OOB_UNAVAILABLE = 0x82, ACI_BOND_STATUS_FAILED_AUTHENTICATION_REQ = 0x83, ACI_BOND_STATUS_FAILED_CONFIRM_VALUE = 0x84, ACI_BOND_STATUS_FAILED_PAIRING_UNSUPPORTED = 0x85, ACI_BOND_STATUS_FAILED_ENCRYPTION_KEY_SIZE = 0x86, ACI_BOND_STATUS_FAILED_SMP_CMD_UNSUPPORTED = 0x87, ACI_BOND_STATUS_FAILED_UNSPECIFIED_REASON = 0x88, ACI_BOND_STATUS_FAILED_REPEATED_ATTEMPTS = 0x89, ACI_BOND_STATUS_FAILED_INVALID_PARAMETERS = 0x8A, ACI_BOND_STATUS_SOURCE_INVALID = 0x00, ACI_BOND_STATUS_SOURCE_LOCAL = 0x01, ACI_BOND_STATUS_SOURCE_REMOTE = 0x02, ACI_STATUS_SUCCESS = 0x00, ACI_STATUS_TRANSACTION_CONTINUE = 0x01, ACI_STATUS_TRANSACTION_COMPLETE = 0x02, ACI_STATUS_EXTENDED = 0x03, ACI_STATUS_ERROR_UNKNOWN = 0x80, ACI_STATUS_ERROR_INTERNAL = 0x81, ACI_STATUS_ERROR_CMD_UNKNOWN = 0x82, ACI_STATUS_ERROR_DEVICE_STATE_INVALID = 0x83, ACI_STATUS_ERROR_INVALID_LENGTH = 0x84, ACI_STATUS_ERROR_INVALID_PARAMETER = 0x85, ACI_STATUS_ERROR_BUSY = 0x86, ACI_STATUS_ERROR_INVALID_DATA = 0x87, ACI_STATUS_ERROR_CRC_MISMATCH = 0x88, ACI_STATUS_ERROR_UNSUPPORTED_SETUP_FORMAT = 0x89, ACI_STATUS_ERROR_INVALID_SEQ_NO = 0x8A, ACI_STATUS_ERROR_SETUP_LOCKED = 0x8B, ACI_STATUS_ERROR_LOCK_FAILED = 0x8C, ACI_STATUS_ERROR_BOND_REQUIRED = 0x8D, ACI_STATUS_ERROR_REJECTED = 0x8E, ACI_STATUS_ERROR_DATA_SIZE = 0x8F, ACI_STATUS_ERROR_PIPE_INVALID = 0x90, ACI_STATUS_ERROR_CREDIT_NOT_AVAILABLE = 0x91, ACI_STATUS_ERROR_PEER_ATT_ERROR = 0x92, ACI_STATUS_ERROR_ADVT_TIMEOUT = 0x93, ACI_STATUS_ERROR_PEER_SMP_ERROR = 0x94, ACI_STATUS_ERROR_PIPE_TYPE_INVALID = 0x95, ACI_STATUS_ERROR_PIPE_STATE_INVALID = 0x96, ACI_STATUS_ERROR_INVALID_KEY_SIZE = 0x97, ACI_STATUS_ERROR_INVALID_KEY_DATA = 0x98, ACI_STATUS_RESERVED_START = 0xF0, ACI_STATUS_RESERVED_END = 0xFF, ACI_CMD_TEST = 0x01, ACI_CMD_ECHO = 0x02, ACI_CMD_DTM_CMD = 0x03, ACI_CMD_SLEEP = 0x04, ACI_CMD_WAKEUP = 0x05, ACI_CMD_SETUP = 0x06, ACI_CMD_READ_DYNAMIC_DATA = 0x07, ACI_CMD_WRITE_DYNAMIC_DATA = 0x08, ACI_CMD_GET_DEVICE_VERSION = 0x09, ACI_CMD_GET_DEVICE_ADDRESS = 0x0A, ACI_CMD_GET_BATTERY_LEVEL = 0x0B, ACI_CMD_GET_TEMPERATURE = 0x0C, ACI_CMD_SET_LOCAL_DATA = 0x0D, ACI_CMD_RADIO_RESET = 0x0E, ACI_CMD_CONNECT = 0x0F, ACI_CMD_BOND = 0x10, ACI_CMD_DISCONNECT = 0x11, ACI_CMD_SET_TX_POWER = 0x12, ACI_CMD_CHANGE_TIMING = 0x13, ACI_CMD_OPEN_REMOTE_PIPE = 0x14, ACI_CMD_SEND_DATA = 0x15, ACI_CMD_SEND_DATA_ACK = 0x16, ACI_CMD_REQUEST_DATA = 0x17, ACI_CMD_SEND_DATA_NACK = 0x18, ACI_CMD_SET_APP_LATENCY = 0x19, ACI_CMD_SET_KEY = 0x1A, ACI_CMD_OPEN_ADV_PIPE = 0x1B, ACI_CMD_BROADCAST = 0x1C, ACI_CMD_BOND_SECURITY_REQUEST = 0x1D, ACI_CMD_CONNECT_DIRECT = 0x1E, ACI_CMD_CLOSE_REMOTE_PIPE = 0x1F, ACI_CMD_INVALID = 0xFF, ACI_EVT_INVALID = 0x00, ACI_EVT_DEVICE_STARTED = 0x81, ACI_EVT_ECHO = 0x82, ACI_EVT_HW_ERROR = 0x83, ACI_EVT_CMD_RSP = 0x84, ACI_EVT_CONNECTED = 0x85, ACI_EVT_DISCONNECTED = 0x86, ACI_EVT_BOND_STATUS = 0x87, ACI_EVT_PIPE_STATUS = 0x88, ACI_EVT_TIMING = 0x89, ACI_EVT_DATA_CREDIT = 0x8A, ACI_EVT_DATA_ACK = 0x8B, ACI_EVT_DATA_RECEIVED = 0x8C, ACI_EVT_PIPE_ERROR = 0x8D, ACI_EVT_DISPLAY_PASSKEY = 0x8E, ACI_EVT_KEY_REQUEST = 0x8F } |
enum | _aci_packed_ { ACI_STORE_INVALID = 0x0, ACI_STORE_LOCAL = 0x01, ACI_STORE_REMOTE = 0x02, ACI_TX_BROADCAST = 0x0001, ACI_TX = 0x0002, ACI_TX_ACK = 0x0004, ACI_RX = 0x0008, ACI_RX_ACK = 0x0010, ACI_TX_REQ = 0x0020, ACI_RX_REQ = 0x0040, ACI_SET = 0x0080, ACI_TX_SIGN = 0x0100, ACI_RX_SIGN = 0x0200, ACI_RX_ACK_AUTO = 0x0400, ACI_BD_ADDR_TYPE_INVALID = 0x00, ACI_BD_ADDR_TYPE_PUBLIC = 0x01, ACI_BD_ADDR_TYPE_RANDOM_STATIC = 0x02, ACI_BD_ADDR_TYPE_RANDOM_PRIVATE_RESOLVABLE = 0x03, ACI_BD_ADDR_TYPE_RANDOM_PRIVATE_UNRESOLVABLE = 0x04, ACI_DEVICE_OUTPUT_POWER_MINUS_18DBM = 0x00, ACI_DEVICE_OUTPUT_POWER_MINUS_12DBM = 0x01, ACI_DEVICE_OUTPUT_POWER_MINUS_6DBM = 0x02, ACI_DEVICE_OUTPUT_POWER_0DBM = 0x03, ACI_DEVICE_INVALID =0x00, ACI_DEVICE_TEST =0x01, ACI_DEVICE_SETUP =0x02, ACI_DEVICE_STANDBY =0x03, ACI_DEVICE_SLEEP =0x04, ACI_REASON_TERMINATE =0x01, ACI_REASON_BAD_TIMING =0x02, ACI_TEST_MODE_DTM_UART = 0x01, ACI_TEST_MODE_DTM_ACI = 0x02, ACI_TEST_MODE_EXIT = 0xFF, ACI_PERMISSIONS_NONE =0x00, ACI_PERMISSIONS_LINK_AUTHENTICATED =0x01, ACI_HW_ERROR_NONE = 0x00, ACI_HW_ERROR_FATAL = 0x01, ACI_CLOCK_ACCURACY_500_PPM = 0x00, ACI_CLOCK_ACCURACY_250_PPM = 0x01, ACI_CLOCK_ACCURACY_150_PPM = 0x02, ACI_CLOCK_ACCURACY_100_PPM = 0x03, ACI_CLOCK_ACCURACY_75_PPM = 0x04, ACI_CLOCK_ACCURACY_50_PPM = 0x05, ACI_CLOCK_ACCURACY_30_PPM = 0x06, ACI_CLOCK_ACCURACY_20_PPM = 0x07, ACI_APP_LATENCY_DISABLE = 0, ACI_APP_LATENCY_ENABLE = 1, ACI_GATT_FORMAT_NONE = 0x00, ACI_GATT_FORMAT_BOOLEAN = 0x01, ACI_GATT_FORMAT_2BIT = 0x02, ACI_GATT_FORMAT_NIBBLE = 0x03, ACI_GATT_FORMAT_UINT8 = 0x04, ACI_GATT_FORMAT_UINT12 = 0x05, ACI_GATT_FORMAT_UINT16 = 0x06, ACI_GATT_FORMAT_UINT24 = 0x07, ACI_GATT_FORMAT_UINT32 = 0x08, ACI_GATT_FORMAT_UINT48 = 0x09, ACI_GATT_FORMAT_UINT64 = 0x0A, ACI_GATT_FORMAT_UINT128 = 0x0B, ACI_GATT_FORMAT_SINT8 = 0x0C, ACI_GATT_FORMAT_SINT12 = 0x0D, ACI_GATT_FORMAT_SINT16 = 0x0E, ACI_GATT_FORMAT_SINT24 = 0x0F, ACI_GATT_FORMAT_SINT32 = 0x10, ACI_GATT_FORMAT_SINT48 = 0x11, ACI_GATT_FORMAT_SINT64 = 0x12, ACI_GATT_FORMAT_SINT128 = 0x13, ACI_GATT_FORMAT_FLOAT32 = 0x14, ACI_GATT_FORMAT_FLOAT64 = 0x15, ACI_GATT_FORMAT_SFLOAT = 0x16, ACI_GATT_FORMAT_FLOAT = 0x17, ACI_GATT_FORMAT_DUINT16 = 0x18, ACI_GATT_FORMAT_UTF8S = 0x19, ACI_GATT_FORMAT_UTF16S = 0x1A, ACI_GATT_FORMAT_STRUCT = 0x1B, ACI_GATT_NAMESPACE_INVALID = 0x00, ACI_GATT_NAMESPACE_BTSIG = 0x01, ACI_KEY_TYPE_INVALID = 0x00, ACI_KEY_TYPE_PASSKEY = 0x01, ACI_BOND_STATUS_SUCCESS = 0x00, ACI_BOND_STATUS_FAILED = 0x01, ACI_BOND_STATUS_FAILED_TIMED_OUT = 0x02, ACI_BOND_STATUS_FAILED_PASSKEY_ENTRY_FAILED = 0x81, ACI_BOND_STATUS_FAILED_OOB_UNAVAILABLE = 0x82, ACI_BOND_STATUS_FAILED_AUTHENTICATION_REQ = 0x83, ACI_BOND_STATUS_FAILED_CONFIRM_VALUE = 0x84, ACI_BOND_STATUS_FAILED_PAIRING_UNSUPPORTED = 0x85, ACI_BOND_STATUS_FAILED_ENCRYPTION_KEY_SIZE = 0x86, ACI_BOND_STATUS_FAILED_SMP_CMD_UNSUPPORTED = 0x87, ACI_BOND_STATUS_FAILED_UNSPECIFIED_REASON = 0x88, ACI_BOND_STATUS_FAILED_REPEATED_ATTEMPTS = 0x89, ACI_BOND_STATUS_FAILED_INVALID_PARAMETERS = 0x8A, ACI_BOND_STATUS_SOURCE_INVALID = 0x00, ACI_BOND_STATUS_SOURCE_LOCAL = 0x01, ACI_BOND_STATUS_SOURCE_REMOTE = 0x02, ACI_STATUS_SUCCESS = 0x00, ACI_STATUS_TRANSACTION_CONTINUE = 0x01, ACI_STATUS_TRANSACTION_COMPLETE = 0x02, ACI_STATUS_EXTENDED = 0x03, ACI_STATUS_ERROR_UNKNOWN = 0x80, ACI_STATUS_ERROR_INTERNAL = 0x81, ACI_STATUS_ERROR_CMD_UNKNOWN = 0x82, ACI_STATUS_ERROR_DEVICE_STATE_INVALID = 0x83, ACI_STATUS_ERROR_INVALID_LENGTH = 0x84, ACI_STATUS_ERROR_INVALID_PARAMETER = 0x85, ACI_STATUS_ERROR_BUSY = 0x86, ACI_STATUS_ERROR_INVALID_DATA = 0x87, ACI_STATUS_ERROR_CRC_MISMATCH = 0x88, ACI_STATUS_ERROR_UNSUPPORTED_SETUP_FORMAT = 0x89, ACI_STATUS_ERROR_INVALID_SEQ_NO = 0x8A, ACI_STATUS_ERROR_SETUP_LOCKED = 0x8B, ACI_STATUS_ERROR_LOCK_FAILED = 0x8C, ACI_STATUS_ERROR_BOND_REQUIRED = 0x8D, ACI_STATUS_ERROR_REJECTED = 0x8E, ACI_STATUS_ERROR_DATA_SIZE = 0x8F, ACI_STATUS_ERROR_PIPE_INVALID = 0x90, ACI_STATUS_ERROR_CREDIT_NOT_AVAILABLE = 0x91, ACI_STATUS_ERROR_PEER_ATT_ERROR = 0x92, ACI_STATUS_ERROR_ADVT_TIMEOUT = 0x93, ACI_STATUS_ERROR_PEER_SMP_ERROR = 0x94, ACI_STATUS_ERROR_PIPE_TYPE_INVALID = 0x95, ACI_STATUS_ERROR_PIPE_STATE_INVALID = 0x96, ACI_STATUS_ERROR_INVALID_KEY_SIZE = 0x97, ACI_STATUS_ERROR_INVALID_KEY_DATA = 0x98, ACI_STATUS_RESERVED_START = 0xF0, ACI_STATUS_RESERVED_END = 0xFF, ACI_CMD_TEST = 0x01, ACI_CMD_ECHO = 0x02, ACI_CMD_DTM_CMD = 0x03, ACI_CMD_SLEEP = 0x04, ACI_CMD_WAKEUP = 0x05, ACI_CMD_SETUP = 0x06, ACI_CMD_READ_DYNAMIC_DATA = 0x07, ACI_CMD_WRITE_DYNAMIC_DATA = 0x08, ACI_CMD_GET_DEVICE_VERSION = 0x09, ACI_CMD_GET_DEVICE_ADDRESS = 0x0A, ACI_CMD_GET_BATTERY_LEVEL = 0x0B, ACI_CMD_GET_TEMPERATURE = 0x0C, ACI_CMD_SET_LOCAL_DATA = 0x0D, ACI_CMD_RADIO_RESET = 0x0E, ACI_CMD_CONNECT = 0x0F, ACI_CMD_BOND = 0x10, ACI_CMD_DISCONNECT = 0x11, ACI_CMD_SET_TX_POWER = 0x12, ACI_CMD_CHANGE_TIMING = 0x13, ACI_CMD_OPEN_REMOTE_PIPE = 0x14, ACI_CMD_SEND_DATA = 0x15, ACI_CMD_SEND_DATA_ACK = 0x16, ACI_CMD_REQUEST_DATA = 0x17, ACI_CMD_SEND_DATA_NACK = 0x18, ACI_CMD_SET_APP_LATENCY = 0x19, ACI_CMD_SET_KEY = 0x1A, ACI_CMD_OPEN_ADV_PIPE = 0x1B, ACI_CMD_BROADCAST = 0x1C, ACI_CMD_BOND_SECURITY_REQUEST = 0x1D, ACI_CMD_CONNECT_DIRECT = 0x1E, ACI_CMD_CLOSE_REMOTE_PIPE = 0x1F, ACI_CMD_INVALID = 0xFF, ACI_EVT_INVALID = 0x00, ACI_EVT_DEVICE_STARTED = 0x81, ACI_EVT_ECHO = 0x82, ACI_EVT_HW_ERROR = 0x83, ACI_EVT_CMD_RSP = 0x84, ACI_EVT_CONNECTED = 0x85, ACI_EVT_DISCONNECTED = 0x86, ACI_EVT_BOND_STATUS = 0x87, ACI_EVT_PIPE_STATUS = 0x88, ACI_EVT_TIMING = 0x89, ACI_EVT_DATA_CREDIT = 0x8A, ACI_EVT_DATA_ACK = 0x8B, ACI_EVT_DATA_RECEIVED = 0x8C, ACI_EVT_PIPE_ERROR = 0x8D, ACI_EVT_DISPLAY_PASSKEY = 0x8E, ACI_EVT_KEY_REQUEST = 0x8F } |
enum | _aci_packed_ { ACI_STORE_INVALID = 0x0, ACI_STORE_LOCAL = 0x01, ACI_STORE_REMOTE = 0x02, ACI_TX_BROADCAST = 0x0001, ACI_TX = 0x0002, ACI_TX_ACK = 0x0004, ACI_RX = 0x0008, ACI_RX_ACK = 0x0010, ACI_TX_REQ = 0x0020, ACI_RX_REQ = 0x0040, ACI_SET = 0x0080, ACI_TX_SIGN = 0x0100, ACI_RX_SIGN = 0x0200, ACI_RX_ACK_AUTO = 0x0400, ACI_BD_ADDR_TYPE_INVALID = 0x00, ACI_BD_ADDR_TYPE_PUBLIC = 0x01, ACI_BD_ADDR_TYPE_RANDOM_STATIC = 0x02, ACI_BD_ADDR_TYPE_RANDOM_PRIVATE_RESOLVABLE = 0x03, ACI_BD_ADDR_TYPE_RANDOM_PRIVATE_UNRESOLVABLE = 0x04, ACI_DEVICE_OUTPUT_POWER_MINUS_18DBM = 0x00, ACI_DEVICE_OUTPUT_POWER_MINUS_12DBM = 0x01, ACI_DEVICE_OUTPUT_POWER_MINUS_6DBM = 0x02, ACI_DEVICE_OUTPUT_POWER_0DBM = 0x03, ACI_DEVICE_INVALID =0x00, ACI_DEVICE_TEST =0x01, ACI_DEVICE_SETUP =0x02, ACI_DEVICE_STANDBY =0x03, ACI_DEVICE_SLEEP =0x04, ACI_REASON_TERMINATE =0x01, ACI_REASON_BAD_TIMING =0x02, ACI_TEST_MODE_DTM_UART = 0x01, ACI_TEST_MODE_DTM_ACI = 0x02, ACI_TEST_MODE_EXIT = 0xFF, ACI_PERMISSIONS_NONE =0x00, ACI_PERMISSIONS_LINK_AUTHENTICATED =0x01, ACI_HW_ERROR_NONE = 0x00, ACI_HW_ERROR_FATAL = 0x01, ACI_CLOCK_ACCURACY_500_PPM = 0x00, ACI_CLOCK_ACCURACY_250_PPM = 0x01, ACI_CLOCK_ACCURACY_150_PPM = 0x02, ACI_CLOCK_ACCURACY_100_PPM = 0x03, ACI_CLOCK_ACCURACY_75_PPM = 0x04, ACI_CLOCK_ACCURACY_50_PPM = 0x05, ACI_CLOCK_ACCURACY_30_PPM = 0x06, ACI_CLOCK_ACCURACY_20_PPM = 0x07, ACI_APP_LATENCY_DISABLE = 0, ACI_APP_LATENCY_ENABLE = 1, ACI_GATT_FORMAT_NONE = 0x00, ACI_GATT_FORMAT_BOOLEAN = 0x01, ACI_GATT_FORMAT_2BIT = 0x02, ACI_GATT_FORMAT_NIBBLE = 0x03, ACI_GATT_FORMAT_UINT8 = 0x04, ACI_GATT_FORMAT_UINT12 = 0x05, ACI_GATT_FORMAT_UINT16 = 0x06, ACI_GATT_FORMAT_UINT24 = 0x07, ACI_GATT_FORMAT_UINT32 = 0x08, ACI_GATT_FORMAT_UINT48 = 0x09, ACI_GATT_FORMAT_UINT64 = 0x0A, ACI_GATT_FORMAT_UINT128 = 0x0B, ACI_GATT_FORMAT_SINT8 = 0x0C, ACI_GATT_FORMAT_SINT12 = 0x0D, ACI_GATT_FORMAT_SINT16 = 0x0E, ACI_GATT_FORMAT_SINT24 = 0x0F, ACI_GATT_FORMAT_SINT32 = 0x10, ACI_GATT_FORMAT_SINT48 = 0x11, ACI_GATT_FORMAT_SINT64 = 0x12, ACI_GATT_FORMAT_SINT128 = 0x13, ACI_GATT_FORMAT_FLOAT32 = 0x14, ACI_GATT_FORMAT_FLOAT64 = 0x15, ACI_GATT_FORMAT_SFLOAT = 0x16, ACI_GATT_FORMAT_FLOAT = 0x17, ACI_GATT_FORMAT_DUINT16 = 0x18, ACI_GATT_FORMAT_UTF8S = 0x19, ACI_GATT_FORMAT_UTF16S = 0x1A, ACI_GATT_FORMAT_STRUCT = 0x1B, ACI_GATT_NAMESPACE_INVALID = 0x00, ACI_GATT_NAMESPACE_BTSIG = 0x01, ACI_KEY_TYPE_INVALID = 0x00, ACI_KEY_TYPE_PASSKEY = 0x01, ACI_BOND_STATUS_SUCCESS = 0x00, ACI_BOND_STATUS_FAILED = 0x01, ACI_BOND_STATUS_FAILED_TIMED_OUT = 0x02, ACI_BOND_STATUS_FAILED_PASSKEY_ENTRY_FAILED = 0x81, ACI_BOND_STATUS_FAILED_OOB_UNAVAILABLE = 0x82, ACI_BOND_STATUS_FAILED_AUTHENTICATION_REQ = 0x83, ACI_BOND_STATUS_FAILED_CONFIRM_VALUE = 0x84, ACI_BOND_STATUS_FAILED_PAIRING_UNSUPPORTED = 0x85, ACI_BOND_STATUS_FAILED_ENCRYPTION_KEY_SIZE = 0x86, ACI_BOND_STATUS_FAILED_SMP_CMD_UNSUPPORTED = 0x87, ACI_BOND_STATUS_FAILED_UNSPECIFIED_REASON = 0x88, ACI_BOND_STATUS_FAILED_REPEATED_ATTEMPTS = 0x89, ACI_BOND_STATUS_FAILED_INVALID_PARAMETERS = 0x8A, ACI_BOND_STATUS_SOURCE_INVALID = 0x00, ACI_BOND_STATUS_SOURCE_LOCAL = 0x01, ACI_BOND_STATUS_SOURCE_REMOTE = 0x02, ACI_STATUS_SUCCESS = 0x00, ACI_STATUS_TRANSACTION_CONTINUE = 0x01, ACI_STATUS_TRANSACTION_COMPLETE = 0x02, ACI_STATUS_EXTENDED = 0x03, ACI_STATUS_ERROR_UNKNOWN = 0x80, ACI_STATUS_ERROR_INTERNAL = 0x81, ACI_STATUS_ERROR_CMD_UNKNOWN = 0x82, ACI_STATUS_ERROR_DEVICE_STATE_INVALID = 0x83, ACI_STATUS_ERROR_INVALID_LENGTH = 0x84, ACI_STATUS_ERROR_INVALID_PARAMETER = 0x85, ACI_STATUS_ERROR_BUSY = 0x86, ACI_STATUS_ERROR_INVALID_DATA = 0x87, ACI_STATUS_ERROR_CRC_MISMATCH = 0x88, ACI_STATUS_ERROR_UNSUPPORTED_SETUP_FORMAT = 0x89, ACI_STATUS_ERROR_INVALID_SEQ_NO = 0x8A, ACI_STATUS_ERROR_SETUP_LOCKED = 0x8B, ACI_STATUS_ERROR_LOCK_FAILED = 0x8C, ACI_STATUS_ERROR_BOND_REQUIRED = 0x8D, ACI_STATUS_ERROR_REJECTED = 0x8E, ACI_STATUS_ERROR_DATA_SIZE = 0x8F, ACI_STATUS_ERROR_PIPE_INVALID = 0x90, ACI_STATUS_ERROR_CREDIT_NOT_AVAILABLE = 0x91, ACI_STATUS_ERROR_PEER_ATT_ERROR = 0x92, ACI_STATUS_ERROR_ADVT_TIMEOUT = 0x93, ACI_STATUS_ERROR_PEER_SMP_ERROR = 0x94, ACI_STATUS_ERROR_PIPE_TYPE_INVALID = 0x95, ACI_STATUS_ERROR_PIPE_STATE_INVALID = 0x96, ACI_STATUS_ERROR_INVALID_KEY_SIZE = 0x97, ACI_STATUS_ERROR_INVALID_KEY_DATA = 0x98, ACI_STATUS_RESERVED_START = 0xF0, ACI_STATUS_RESERVED_END = 0xFF, ACI_CMD_TEST = 0x01, ACI_CMD_ECHO = 0x02, ACI_CMD_DTM_CMD = 0x03, ACI_CMD_SLEEP = 0x04, ACI_CMD_WAKEUP = 0x05, ACI_CMD_SETUP = 0x06, ACI_CMD_READ_DYNAMIC_DATA = 0x07, ACI_CMD_WRITE_DYNAMIC_DATA = 0x08, ACI_CMD_GET_DEVICE_VERSION = 0x09, ACI_CMD_GET_DEVICE_ADDRESS = 0x0A, ACI_CMD_GET_BATTERY_LEVEL = 0x0B, ACI_CMD_GET_TEMPERATURE = 0x0C, ACI_CMD_SET_LOCAL_DATA = 0x0D, ACI_CMD_RADIO_RESET = 0x0E, ACI_CMD_CONNECT = 0x0F, ACI_CMD_BOND = 0x10, ACI_CMD_DISCONNECT = 0x11, ACI_CMD_SET_TX_POWER = 0x12, ACI_CMD_CHANGE_TIMING = 0x13, ACI_CMD_OPEN_REMOTE_PIPE = 0x14, ACI_CMD_SEND_DATA = 0x15, ACI_CMD_SEND_DATA_ACK = 0x16, ACI_CMD_REQUEST_DATA = 0x17, ACI_CMD_SEND_DATA_NACK = 0x18, ACI_CMD_SET_APP_LATENCY = 0x19, ACI_CMD_SET_KEY = 0x1A, ACI_CMD_OPEN_ADV_PIPE = 0x1B, ACI_CMD_BROADCAST = 0x1C, ACI_CMD_BOND_SECURITY_REQUEST = 0x1D, ACI_CMD_CONNECT_DIRECT = 0x1E, ACI_CMD_CLOSE_REMOTE_PIPE = 0x1F, ACI_CMD_INVALID = 0xFF, ACI_EVT_INVALID = 0x00, ACI_EVT_DEVICE_STARTED = 0x81, ACI_EVT_ECHO = 0x82, ACI_EVT_HW_ERROR = 0x83, ACI_EVT_CMD_RSP = 0x84, ACI_EVT_CONNECTED = 0x85, ACI_EVT_DISCONNECTED = 0x86, ACI_EVT_BOND_STATUS = 0x87, ACI_EVT_PIPE_STATUS = 0x88, ACI_EVT_TIMING = 0x89, ACI_EVT_DATA_CREDIT = 0x8A, ACI_EVT_DATA_ACK = 0x8B, ACI_EVT_DATA_RECEIVED = 0x8C, ACI_EVT_PIPE_ERROR = 0x8D, ACI_EVT_DISPLAY_PASSKEY = 0x8E, ACI_EVT_KEY_REQUEST = 0x8F } |
enum | _aci_packed_ { ACI_STORE_INVALID = 0x0, ACI_STORE_LOCAL = 0x01, ACI_STORE_REMOTE = 0x02, ACI_TX_BROADCAST = 0x0001, ACI_TX = 0x0002, ACI_TX_ACK = 0x0004, ACI_RX = 0x0008, ACI_RX_ACK = 0x0010, ACI_TX_REQ = 0x0020, ACI_RX_REQ = 0x0040, ACI_SET = 0x0080, ACI_TX_SIGN = 0x0100, ACI_RX_SIGN = 0x0200, ACI_RX_ACK_AUTO = 0x0400, ACI_BD_ADDR_TYPE_INVALID = 0x00, ACI_BD_ADDR_TYPE_PUBLIC = 0x01, ACI_BD_ADDR_TYPE_RANDOM_STATIC = 0x02, ACI_BD_ADDR_TYPE_RANDOM_PRIVATE_RESOLVABLE = 0x03, ACI_BD_ADDR_TYPE_RANDOM_PRIVATE_UNRESOLVABLE = 0x04, ACI_DEVICE_OUTPUT_POWER_MINUS_18DBM = 0x00, ACI_DEVICE_OUTPUT_POWER_MINUS_12DBM = 0x01, ACI_DEVICE_OUTPUT_POWER_MINUS_6DBM = 0x02, ACI_DEVICE_OUTPUT_POWER_0DBM = 0x03, ACI_DEVICE_INVALID =0x00, ACI_DEVICE_TEST =0x01, ACI_DEVICE_SETUP =0x02, ACI_DEVICE_STANDBY =0x03, ACI_DEVICE_SLEEP =0x04, ACI_REASON_TERMINATE =0x01, ACI_REASON_BAD_TIMING =0x02, ACI_TEST_MODE_DTM_UART = 0x01, ACI_TEST_MODE_DTM_ACI = 0x02, ACI_TEST_MODE_EXIT = 0xFF, ACI_PERMISSIONS_NONE =0x00, ACI_PERMISSIONS_LINK_AUTHENTICATED =0x01, ACI_HW_ERROR_NONE = 0x00, ACI_HW_ERROR_FATAL = 0x01, ACI_CLOCK_ACCURACY_500_PPM = 0x00, ACI_CLOCK_ACCURACY_250_PPM = 0x01, ACI_CLOCK_ACCURACY_150_PPM = 0x02, ACI_CLOCK_ACCURACY_100_PPM = 0x03, ACI_CLOCK_ACCURACY_75_PPM = 0x04, ACI_CLOCK_ACCURACY_50_PPM = 0x05, ACI_CLOCK_ACCURACY_30_PPM = 0x06, ACI_CLOCK_ACCURACY_20_PPM = 0x07, ACI_APP_LATENCY_DISABLE = 0, ACI_APP_LATENCY_ENABLE = 1, ACI_GATT_FORMAT_NONE = 0x00, ACI_GATT_FORMAT_BOOLEAN = 0x01, ACI_GATT_FORMAT_2BIT = 0x02, ACI_GATT_FORMAT_NIBBLE = 0x03, ACI_GATT_FORMAT_UINT8 = 0x04, ACI_GATT_FORMAT_UINT12 = 0x05, ACI_GATT_FORMAT_UINT16 = 0x06, ACI_GATT_FORMAT_UINT24 = 0x07, ACI_GATT_FORMAT_UINT32 = 0x08, ACI_GATT_FORMAT_UINT48 = 0x09, ACI_GATT_FORMAT_UINT64 = 0x0A, ACI_GATT_FORMAT_UINT128 = 0x0B, ACI_GATT_FORMAT_SINT8 = 0x0C, ACI_GATT_FORMAT_SINT12 = 0x0D, ACI_GATT_FORMAT_SINT16 = 0x0E, ACI_GATT_FORMAT_SINT24 = 0x0F, ACI_GATT_FORMAT_SINT32 = 0x10, ACI_GATT_FORMAT_SINT48 = 0x11, ACI_GATT_FORMAT_SINT64 = 0x12, ACI_GATT_FORMAT_SINT128 = 0x13, ACI_GATT_FORMAT_FLOAT32 = 0x14, ACI_GATT_FORMAT_FLOAT64 = 0x15, ACI_GATT_FORMAT_SFLOAT = 0x16, ACI_GATT_FORMAT_FLOAT = 0x17, ACI_GATT_FORMAT_DUINT16 = 0x18, ACI_GATT_FORMAT_UTF8S = 0x19, ACI_GATT_FORMAT_UTF16S = 0x1A, ACI_GATT_FORMAT_STRUCT = 0x1B, ACI_GATT_NAMESPACE_INVALID = 0x00, ACI_GATT_NAMESPACE_BTSIG = 0x01, ACI_KEY_TYPE_INVALID = 0x00, ACI_KEY_TYPE_PASSKEY = 0x01, ACI_BOND_STATUS_SUCCESS = 0x00, ACI_BOND_STATUS_FAILED = 0x01, ACI_BOND_STATUS_FAILED_TIMED_OUT = 0x02, ACI_BOND_STATUS_FAILED_PASSKEY_ENTRY_FAILED = 0x81, ACI_BOND_STATUS_FAILED_OOB_UNAVAILABLE = 0x82, ACI_BOND_STATUS_FAILED_AUTHENTICATION_REQ = 0x83, ACI_BOND_STATUS_FAILED_CONFIRM_VALUE = 0x84, ACI_BOND_STATUS_FAILED_PAIRING_UNSUPPORTED = 0x85, ACI_BOND_STATUS_FAILED_ENCRYPTION_KEY_SIZE = 0x86, ACI_BOND_STATUS_FAILED_SMP_CMD_UNSUPPORTED = 0x87, ACI_BOND_STATUS_FAILED_UNSPECIFIED_REASON = 0x88, ACI_BOND_STATUS_FAILED_REPEATED_ATTEMPTS = 0x89, ACI_BOND_STATUS_FAILED_INVALID_PARAMETERS = 0x8A, ACI_BOND_STATUS_SOURCE_INVALID = 0x00, ACI_BOND_STATUS_SOURCE_LOCAL = 0x01, ACI_BOND_STATUS_SOURCE_REMOTE = 0x02, ACI_STATUS_SUCCESS = 0x00, ACI_STATUS_TRANSACTION_CONTINUE = 0x01, ACI_STATUS_TRANSACTION_COMPLETE = 0x02, ACI_STATUS_EXTENDED = 0x03, ACI_STATUS_ERROR_UNKNOWN = 0x80, ACI_STATUS_ERROR_INTERNAL = 0x81, ACI_STATUS_ERROR_CMD_UNKNOWN = 0x82, ACI_STATUS_ERROR_DEVICE_STATE_INVALID = 0x83, ACI_STATUS_ERROR_INVALID_LENGTH = 0x84, ACI_STATUS_ERROR_INVALID_PARAMETER = 0x85, ACI_STATUS_ERROR_BUSY = 0x86, ACI_STATUS_ERROR_INVALID_DATA = 0x87, ACI_STATUS_ERROR_CRC_MISMATCH = 0x88, ACI_STATUS_ERROR_UNSUPPORTED_SETUP_FORMAT = 0x89, ACI_STATUS_ERROR_INVALID_SEQ_NO = 0x8A, ACI_STATUS_ERROR_SETUP_LOCKED = 0x8B, ACI_STATUS_ERROR_LOCK_FAILED = 0x8C, ACI_STATUS_ERROR_BOND_REQUIRED = 0x8D, ACI_STATUS_ERROR_REJECTED = 0x8E, ACI_STATUS_ERROR_DATA_SIZE = 0x8F, ACI_STATUS_ERROR_PIPE_INVALID = 0x90, ACI_STATUS_ERROR_CREDIT_NOT_AVAILABLE = 0x91, ACI_STATUS_ERROR_PEER_ATT_ERROR = 0x92, ACI_STATUS_ERROR_ADVT_TIMEOUT = 0x93, ACI_STATUS_ERROR_PEER_SMP_ERROR = 0x94, ACI_STATUS_ERROR_PIPE_TYPE_INVALID = 0x95, ACI_STATUS_ERROR_PIPE_STATE_INVALID = 0x96, ACI_STATUS_ERROR_INVALID_KEY_SIZE = 0x97, ACI_STATUS_ERROR_INVALID_KEY_DATA = 0x98, ACI_STATUS_RESERVED_START = 0xF0, ACI_STATUS_RESERVED_END = 0xFF, ACI_CMD_TEST = 0x01, ACI_CMD_ECHO = 0x02, ACI_CMD_DTM_CMD = 0x03, ACI_CMD_SLEEP = 0x04, ACI_CMD_WAKEUP = 0x05, ACI_CMD_SETUP = 0x06, ACI_CMD_READ_DYNAMIC_DATA = 0x07, ACI_CMD_WRITE_DYNAMIC_DATA = 0x08, ACI_CMD_GET_DEVICE_VERSION = 0x09, ACI_CMD_GET_DEVICE_ADDRESS = 0x0A, ACI_CMD_GET_BATTERY_LEVEL = 0x0B, ACI_CMD_GET_TEMPERATURE = 0x0C, ACI_CMD_SET_LOCAL_DATA = 0x0D, ACI_CMD_RADIO_RESET = 0x0E, ACI_CMD_CONNECT = 0x0F, ACI_CMD_BOND = 0x10, ACI_CMD_DISCONNECT = 0x11, ACI_CMD_SET_TX_POWER = 0x12, ACI_CMD_CHANGE_TIMING = 0x13, ACI_CMD_OPEN_REMOTE_PIPE = 0x14, ACI_CMD_SEND_DATA = 0x15, ACI_CMD_SEND_DATA_ACK = 0x16, ACI_CMD_REQUEST_DATA = 0x17, ACI_CMD_SEND_DATA_NACK = 0x18, ACI_CMD_SET_APP_LATENCY = 0x19, ACI_CMD_SET_KEY = 0x1A, ACI_CMD_OPEN_ADV_PIPE = 0x1B, ACI_CMD_BROADCAST = 0x1C, ACI_CMD_BOND_SECURITY_REQUEST = 0x1D, ACI_CMD_CONNECT_DIRECT = 0x1E, ACI_CMD_CLOSE_REMOTE_PIPE = 0x1F, ACI_CMD_INVALID = 0xFF, ACI_EVT_INVALID = 0x00, ACI_EVT_DEVICE_STARTED = 0x81, ACI_EVT_ECHO = 0x82, ACI_EVT_HW_ERROR = 0x83, ACI_EVT_CMD_RSP = 0x84, ACI_EVT_CONNECTED = 0x85, ACI_EVT_DISCONNECTED = 0x86, ACI_EVT_BOND_STATUS = 0x87, ACI_EVT_PIPE_STATUS = 0x88, ACI_EVT_TIMING = 0x89, ACI_EVT_DATA_CREDIT = 0x8A, ACI_EVT_DATA_ACK = 0x8B, ACI_EVT_DATA_RECEIVED = 0x8C, ACI_EVT_PIPE_ERROR = 0x8D, ACI_EVT_DISPLAY_PASSKEY = 0x8E, ACI_EVT_KEY_REQUEST = 0x8F } |
enum | _aci_packed_ { ACI_STORE_INVALID = 0x0, ACI_STORE_LOCAL = 0x01, ACI_STORE_REMOTE = 0x02, ACI_TX_BROADCAST = 0x0001, ACI_TX = 0x0002, ACI_TX_ACK = 0x0004, ACI_RX = 0x0008, ACI_RX_ACK = 0x0010, ACI_TX_REQ = 0x0020, ACI_RX_REQ = 0x0040, ACI_SET = 0x0080, ACI_TX_SIGN = 0x0100, ACI_RX_SIGN = 0x0200, ACI_RX_ACK_AUTO = 0x0400, ACI_BD_ADDR_TYPE_INVALID = 0x00, ACI_BD_ADDR_TYPE_PUBLIC = 0x01, ACI_BD_ADDR_TYPE_RANDOM_STATIC = 0x02, ACI_BD_ADDR_TYPE_RANDOM_PRIVATE_RESOLVABLE = 0x03, ACI_BD_ADDR_TYPE_RANDOM_PRIVATE_UNRESOLVABLE = 0x04, ACI_DEVICE_OUTPUT_POWER_MINUS_18DBM = 0x00, ACI_DEVICE_OUTPUT_POWER_MINUS_12DBM = 0x01, ACI_DEVICE_OUTPUT_POWER_MINUS_6DBM = 0x02, ACI_DEVICE_OUTPUT_POWER_0DBM = 0x03, ACI_DEVICE_INVALID =0x00, ACI_DEVICE_TEST =0x01, ACI_DEVICE_SETUP =0x02, ACI_DEVICE_STANDBY =0x03, ACI_DEVICE_SLEEP =0x04, ACI_REASON_TERMINATE =0x01, ACI_REASON_BAD_TIMING =0x02, ACI_TEST_MODE_DTM_UART = 0x01, ACI_TEST_MODE_DTM_ACI = 0x02, ACI_TEST_MODE_EXIT = 0xFF, ACI_PERMISSIONS_NONE =0x00, ACI_PERMISSIONS_LINK_AUTHENTICATED =0x01, ACI_HW_ERROR_NONE = 0x00, ACI_HW_ERROR_FATAL = 0x01, ACI_CLOCK_ACCURACY_500_PPM = 0x00, ACI_CLOCK_ACCURACY_250_PPM = 0x01, ACI_CLOCK_ACCURACY_150_PPM = 0x02, ACI_CLOCK_ACCURACY_100_PPM = 0x03, ACI_CLOCK_ACCURACY_75_PPM = 0x04, ACI_CLOCK_ACCURACY_50_PPM = 0x05, ACI_CLOCK_ACCURACY_30_PPM = 0x06, ACI_CLOCK_ACCURACY_20_PPM = 0x07, ACI_APP_LATENCY_DISABLE = 0, ACI_APP_LATENCY_ENABLE = 1, ACI_GATT_FORMAT_NONE = 0x00, ACI_GATT_FORMAT_BOOLEAN = 0x01, ACI_GATT_FORMAT_2BIT = 0x02, ACI_GATT_FORMAT_NIBBLE = 0x03, ACI_GATT_FORMAT_UINT8 = 0x04, ACI_GATT_FORMAT_UINT12 = 0x05, ACI_GATT_FORMAT_UINT16 = 0x06, ACI_GATT_FORMAT_UINT24 = 0x07, ACI_GATT_FORMAT_UINT32 = 0x08, ACI_GATT_FORMAT_UINT48 = 0x09, ACI_GATT_FORMAT_UINT64 = 0x0A, ACI_GATT_FORMAT_UINT128 = 0x0B, ACI_GATT_FORMAT_SINT8 = 0x0C, ACI_GATT_FORMAT_SINT12 = 0x0D, ACI_GATT_FORMAT_SINT16 = 0x0E, ACI_GATT_FORMAT_SINT24 = 0x0F, ACI_GATT_FORMAT_SINT32 = 0x10, ACI_GATT_FORMAT_SINT48 = 0x11, ACI_GATT_FORMAT_SINT64 = 0x12, ACI_GATT_FORMAT_SINT128 = 0x13, ACI_GATT_FORMAT_FLOAT32 = 0x14, ACI_GATT_FORMAT_FLOAT64 = 0x15, ACI_GATT_FORMAT_SFLOAT = 0x16, ACI_GATT_FORMAT_FLOAT = 0x17, ACI_GATT_FORMAT_DUINT16 = 0x18, ACI_GATT_FORMAT_UTF8S = 0x19, ACI_GATT_FORMAT_UTF16S = 0x1A, ACI_GATT_FORMAT_STRUCT = 0x1B, ACI_GATT_NAMESPACE_INVALID = 0x00, ACI_GATT_NAMESPACE_BTSIG = 0x01, ACI_KEY_TYPE_INVALID = 0x00, ACI_KEY_TYPE_PASSKEY = 0x01, ACI_BOND_STATUS_SUCCESS = 0x00, ACI_BOND_STATUS_FAILED = 0x01, ACI_BOND_STATUS_FAILED_TIMED_OUT = 0x02, ACI_BOND_STATUS_FAILED_PASSKEY_ENTRY_FAILED = 0x81, ACI_BOND_STATUS_FAILED_OOB_UNAVAILABLE = 0x82, ACI_BOND_STATUS_FAILED_AUTHENTICATION_REQ = 0x83, ACI_BOND_STATUS_FAILED_CONFIRM_VALUE = 0x84, ACI_BOND_STATUS_FAILED_PAIRING_UNSUPPORTED = 0x85, ACI_BOND_STATUS_FAILED_ENCRYPTION_KEY_SIZE = 0x86, ACI_BOND_STATUS_FAILED_SMP_CMD_UNSUPPORTED = 0x87, ACI_BOND_STATUS_FAILED_UNSPECIFIED_REASON = 0x88, ACI_BOND_STATUS_FAILED_REPEATED_ATTEMPTS = 0x89, ACI_BOND_STATUS_FAILED_INVALID_PARAMETERS = 0x8A, ACI_BOND_STATUS_SOURCE_INVALID = 0x00, ACI_BOND_STATUS_SOURCE_LOCAL = 0x01, ACI_BOND_STATUS_SOURCE_REMOTE = 0x02, ACI_STATUS_SUCCESS = 0x00, ACI_STATUS_TRANSACTION_CONTINUE = 0x01, ACI_STATUS_TRANSACTION_COMPLETE = 0x02, ACI_STATUS_EXTENDED = 0x03, ACI_STATUS_ERROR_UNKNOWN = 0x80, ACI_STATUS_ERROR_INTERNAL = 0x81, ACI_STATUS_ERROR_CMD_UNKNOWN = 0x82, ACI_STATUS_ERROR_DEVICE_STATE_INVALID = 0x83, ACI_STATUS_ERROR_INVALID_LENGTH = 0x84, ACI_STATUS_ERROR_INVALID_PARAMETER = 0x85, ACI_STATUS_ERROR_BUSY = 0x86, ACI_STATUS_ERROR_INVALID_DATA = 0x87, ACI_STATUS_ERROR_CRC_MISMATCH = 0x88, ACI_STATUS_ERROR_UNSUPPORTED_SETUP_FORMAT = 0x89, ACI_STATUS_ERROR_INVALID_SEQ_NO = 0x8A, ACI_STATUS_ERROR_SETUP_LOCKED = 0x8B, ACI_STATUS_ERROR_LOCK_FAILED = 0x8C, ACI_STATUS_ERROR_BOND_REQUIRED = 0x8D, ACI_STATUS_ERROR_REJECTED = 0x8E, ACI_STATUS_ERROR_DATA_SIZE = 0x8F, ACI_STATUS_ERROR_PIPE_INVALID = 0x90, ACI_STATUS_ERROR_CREDIT_NOT_AVAILABLE = 0x91, ACI_STATUS_ERROR_PEER_ATT_ERROR = 0x92, ACI_STATUS_ERROR_ADVT_TIMEOUT = 0x93, ACI_STATUS_ERROR_PEER_SMP_ERROR = 0x94, ACI_STATUS_ERROR_PIPE_TYPE_INVALID = 0x95, ACI_STATUS_ERROR_PIPE_STATE_INVALID = 0x96, ACI_STATUS_ERROR_INVALID_KEY_SIZE = 0x97, ACI_STATUS_ERROR_INVALID_KEY_DATA = 0x98, ACI_STATUS_RESERVED_START = 0xF0, ACI_STATUS_RESERVED_END = 0xFF, ACI_CMD_TEST = 0x01, ACI_CMD_ECHO = 0x02, ACI_CMD_DTM_CMD = 0x03, ACI_CMD_SLEEP = 0x04, ACI_CMD_WAKEUP = 0x05, ACI_CMD_SETUP = 0x06, ACI_CMD_READ_DYNAMIC_DATA = 0x07, ACI_CMD_WRITE_DYNAMIC_DATA = 0x08, ACI_CMD_GET_DEVICE_VERSION = 0x09, ACI_CMD_GET_DEVICE_ADDRESS = 0x0A, ACI_CMD_GET_BATTERY_LEVEL = 0x0B, ACI_CMD_GET_TEMPERATURE = 0x0C, ACI_CMD_SET_LOCAL_DATA = 0x0D, ACI_CMD_RADIO_RESET = 0x0E, ACI_CMD_CONNECT = 0x0F, ACI_CMD_BOND = 0x10, ACI_CMD_DISCONNECT = 0x11, ACI_CMD_SET_TX_POWER = 0x12, ACI_CMD_CHANGE_TIMING = 0x13, ACI_CMD_OPEN_REMOTE_PIPE = 0x14, ACI_CMD_SEND_DATA = 0x15, ACI_CMD_SEND_DATA_ACK = 0x16, ACI_CMD_REQUEST_DATA = 0x17, ACI_CMD_SEND_DATA_NACK = 0x18, ACI_CMD_SET_APP_LATENCY = 0x19, ACI_CMD_SET_KEY = 0x1A, ACI_CMD_OPEN_ADV_PIPE = 0x1B, ACI_CMD_BROADCAST = 0x1C, ACI_CMD_BOND_SECURITY_REQUEST = 0x1D, ACI_CMD_CONNECT_DIRECT = 0x1E, ACI_CMD_CLOSE_REMOTE_PIPE = 0x1F, ACI_CMD_INVALID = 0xFF, ACI_EVT_INVALID = 0x00, ACI_EVT_DEVICE_STARTED = 0x81, ACI_EVT_ECHO = 0x82, ACI_EVT_HW_ERROR = 0x83, ACI_EVT_CMD_RSP = 0x84, ACI_EVT_CONNECTED = 0x85, ACI_EVT_DISCONNECTED = 0x86, ACI_EVT_BOND_STATUS = 0x87, ACI_EVT_PIPE_STATUS = 0x88, ACI_EVT_TIMING = 0x89, ACI_EVT_DATA_CREDIT = 0x8A, ACI_EVT_DATA_ACK = 0x8B, ACI_EVT_DATA_RECEIVED = 0x8C, ACI_EVT_PIPE_ERROR = 0x8D, ACI_EVT_DISPLAY_PASSKEY = 0x8E, ACI_EVT_KEY_REQUEST = 0x8F } |
enum | _aci_packed_ { ACI_STORE_INVALID = 0x0, ACI_STORE_LOCAL = 0x01, ACI_STORE_REMOTE = 0x02, ACI_TX_BROADCAST = 0x0001, ACI_TX = 0x0002, ACI_TX_ACK = 0x0004, ACI_RX = 0x0008, ACI_RX_ACK = 0x0010, ACI_TX_REQ = 0x0020, ACI_RX_REQ = 0x0040, ACI_SET = 0x0080, ACI_TX_SIGN = 0x0100, ACI_RX_SIGN = 0x0200, ACI_RX_ACK_AUTO = 0x0400, ACI_BD_ADDR_TYPE_INVALID = 0x00, ACI_BD_ADDR_TYPE_PUBLIC = 0x01, ACI_BD_ADDR_TYPE_RANDOM_STATIC = 0x02, ACI_BD_ADDR_TYPE_RANDOM_PRIVATE_RESOLVABLE = 0x03, ACI_BD_ADDR_TYPE_RANDOM_PRIVATE_UNRESOLVABLE = 0x04, ACI_DEVICE_OUTPUT_POWER_MINUS_18DBM = 0x00, ACI_DEVICE_OUTPUT_POWER_MINUS_12DBM = 0x01, ACI_DEVICE_OUTPUT_POWER_MINUS_6DBM = 0x02, ACI_DEVICE_OUTPUT_POWER_0DBM = 0x03, ACI_DEVICE_INVALID =0x00, ACI_DEVICE_TEST =0x01, ACI_DEVICE_SETUP =0x02, ACI_DEVICE_STANDBY =0x03, ACI_DEVICE_SLEEP =0x04, ACI_REASON_TERMINATE =0x01, ACI_REASON_BAD_TIMING =0x02, ACI_TEST_MODE_DTM_UART = 0x01, ACI_TEST_MODE_DTM_ACI = 0x02, ACI_TEST_MODE_EXIT = 0xFF, ACI_PERMISSIONS_NONE =0x00, ACI_PERMISSIONS_LINK_AUTHENTICATED =0x01, ACI_HW_ERROR_NONE = 0x00, ACI_HW_ERROR_FATAL = 0x01, ACI_CLOCK_ACCURACY_500_PPM = 0x00, ACI_CLOCK_ACCURACY_250_PPM = 0x01, ACI_CLOCK_ACCURACY_150_PPM = 0x02, ACI_CLOCK_ACCURACY_100_PPM = 0x03, ACI_CLOCK_ACCURACY_75_PPM = 0x04, ACI_CLOCK_ACCURACY_50_PPM = 0x05, ACI_CLOCK_ACCURACY_30_PPM = 0x06, ACI_CLOCK_ACCURACY_20_PPM = 0x07, ACI_APP_LATENCY_DISABLE = 0, ACI_APP_LATENCY_ENABLE = 1, ACI_GATT_FORMAT_NONE = 0x00, ACI_GATT_FORMAT_BOOLEAN = 0x01, ACI_GATT_FORMAT_2BIT = 0x02, ACI_GATT_FORMAT_NIBBLE = 0x03, ACI_GATT_FORMAT_UINT8 = 0x04, ACI_GATT_FORMAT_UINT12 = 0x05, ACI_GATT_FORMAT_UINT16 = 0x06, ACI_GATT_FORMAT_UINT24 = 0x07, ACI_GATT_FORMAT_UINT32 = 0x08, ACI_GATT_FORMAT_UINT48 = 0x09, ACI_GATT_FORMAT_UINT64 = 0x0A, ACI_GATT_FORMAT_UINT128 = 0x0B, ACI_GATT_FORMAT_SINT8 = 0x0C, ACI_GATT_FORMAT_SINT12 = 0x0D, ACI_GATT_FORMAT_SINT16 = 0x0E, ACI_GATT_FORMAT_SINT24 = 0x0F, ACI_GATT_FORMAT_SINT32 = 0x10, ACI_GATT_FORMAT_SINT48 = 0x11, ACI_GATT_FORMAT_SINT64 = 0x12, ACI_GATT_FORMAT_SINT128 = 0x13, ACI_GATT_FORMAT_FLOAT32 = 0x14, ACI_GATT_FORMAT_FLOAT64 = 0x15, ACI_GATT_FORMAT_SFLOAT = 0x16, ACI_GATT_FORMAT_FLOAT = 0x17, ACI_GATT_FORMAT_DUINT16 = 0x18, ACI_GATT_FORMAT_UTF8S = 0x19, ACI_GATT_FORMAT_UTF16S = 0x1A, ACI_GATT_FORMAT_STRUCT = 0x1B, ACI_GATT_NAMESPACE_INVALID = 0x00, ACI_GATT_NAMESPACE_BTSIG = 0x01, ACI_KEY_TYPE_INVALID = 0x00, ACI_KEY_TYPE_PASSKEY = 0x01, ACI_BOND_STATUS_SUCCESS = 0x00, ACI_BOND_STATUS_FAILED = 0x01, ACI_BOND_STATUS_FAILED_TIMED_OUT = 0x02, ACI_BOND_STATUS_FAILED_PASSKEY_ENTRY_FAILED = 0x81, ACI_BOND_STATUS_FAILED_OOB_UNAVAILABLE = 0x82, ACI_BOND_STATUS_FAILED_AUTHENTICATION_REQ = 0x83, ACI_BOND_STATUS_FAILED_CONFIRM_VALUE = 0x84, ACI_BOND_STATUS_FAILED_PAIRING_UNSUPPORTED = 0x85, ACI_BOND_STATUS_FAILED_ENCRYPTION_KEY_SIZE = 0x86, ACI_BOND_STATUS_FAILED_SMP_CMD_UNSUPPORTED = 0x87, ACI_BOND_STATUS_FAILED_UNSPECIFIED_REASON = 0x88, ACI_BOND_STATUS_FAILED_REPEATED_ATTEMPTS = 0x89, ACI_BOND_STATUS_FAILED_INVALID_PARAMETERS = 0x8A, ACI_BOND_STATUS_SOURCE_INVALID = 0x00, ACI_BOND_STATUS_SOURCE_LOCAL = 0x01, ACI_BOND_STATUS_SOURCE_REMOTE = 0x02, ACI_STATUS_SUCCESS = 0x00, ACI_STATUS_TRANSACTION_CONTINUE = 0x01, ACI_STATUS_TRANSACTION_COMPLETE = 0x02, ACI_STATUS_EXTENDED = 0x03, ACI_STATUS_ERROR_UNKNOWN = 0x80, ACI_STATUS_ERROR_INTERNAL = 0x81, ACI_STATUS_ERROR_CMD_UNKNOWN = 0x82, ACI_STATUS_ERROR_DEVICE_STATE_INVALID = 0x83, ACI_STATUS_ERROR_INVALID_LENGTH = 0x84, ACI_STATUS_ERROR_INVALID_PARAMETER = 0x85, ACI_STATUS_ERROR_BUSY = 0x86, ACI_STATUS_ERROR_INVALID_DATA = 0x87, ACI_STATUS_ERROR_CRC_MISMATCH = 0x88, ACI_STATUS_ERROR_UNSUPPORTED_SETUP_FORMAT = 0x89, ACI_STATUS_ERROR_INVALID_SEQ_NO = 0x8A, ACI_STATUS_ERROR_SETUP_LOCKED = 0x8B, ACI_STATUS_ERROR_LOCK_FAILED = 0x8C, ACI_STATUS_ERROR_BOND_REQUIRED = 0x8D, ACI_STATUS_ERROR_REJECTED = 0x8E, ACI_STATUS_ERROR_DATA_SIZE = 0x8F, ACI_STATUS_ERROR_PIPE_INVALID = 0x90, ACI_STATUS_ERROR_CREDIT_NOT_AVAILABLE = 0x91, ACI_STATUS_ERROR_PEER_ATT_ERROR = 0x92, ACI_STATUS_ERROR_ADVT_TIMEOUT = 0x93, ACI_STATUS_ERROR_PEER_SMP_ERROR = 0x94, ACI_STATUS_ERROR_PIPE_TYPE_INVALID = 0x95, ACI_STATUS_ERROR_PIPE_STATE_INVALID = 0x96, ACI_STATUS_ERROR_INVALID_KEY_SIZE = 0x97, ACI_STATUS_ERROR_INVALID_KEY_DATA = 0x98, ACI_STATUS_RESERVED_START = 0xF0, ACI_STATUS_RESERVED_END = 0xFF, ACI_CMD_TEST = 0x01, ACI_CMD_ECHO = 0x02, ACI_CMD_DTM_CMD = 0x03, ACI_CMD_SLEEP = 0x04, ACI_CMD_WAKEUP = 0x05, ACI_CMD_SETUP = 0x06, ACI_CMD_READ_DYNAMIC_DATA = 0x07, ACI_CMD_WRITE_DYNAMIC_DATA = 0x08, ACI_CMD_GET_DEVICE_VERSION = 0x09, ACI_CMD_GET_DEVICE_ADDRESS = 0x0A, ACI_CMD_GET_BATTERY_LEVEL = 0x0B, ACI_CMD_GET_TEMPERATURE = 0x0C, ACI_CMD_SET_LOCAL_DATA = 0x0D, ACI_CMD_RADIO_RESET = 0x0E, ACI_CMD_CONNECT = 0x0F, ACI_CMD_BOND = 0x10, ACI_CMD_DISCONNECT = 0x11, ACI_CMD_SET_TX_POWER = 0x12, ACI_CMD_CHANGE_TIMING = 0x13, ACI_CMD_OPEN_REMOTE_PIPE = 0x14, ACI_CMD_SEND_DATA = 0x15, ACI_CMD_SEND_DATA_ACK = 0x16, ACI_CMD_REQUEST_DATA = 0x17, ACI_CMD_SEND_DATA_NACK = 0x18, ACI_CMD_SET_APP_LATENCY = 0x19, ACI_CMD_SET_KEY = 0x1A, ACI_CMD_OPEN_ADV_PIPE = 0x1B, ACI_CMD_BROADCAST = 0x1C, ACI_CMD_BOND_SECURITY_REQUEST = 0x1D, ACI_CMD_CONNECT_DIRECT = 0x1E, ACI_CMD_CLOSE_REMOTE_PIPE = 0x1F, ACI_CMD_INVALID = 0xFF, ACI_EVT_INVALID = 0x00, ACI_EVT_DEVICE_STARTED = 0x81, ACI_EVT_ECHO = 0x82, ACI_EVT_HW_ERROR = 0x83, ACI_EVT_CMD_RSP = 0x84, ACI_EVT_CONNECTED = 0x85, ACI_EVT_DISCONNECTED = 0x86, ACI_EVT_BOND_STATUS = 0x87, ACI_EVT_PIPE_STATUS = 0x88, ACI_EVT_TIMING = 0x89, ACI_EVT_DATA_CREDIT = 0x8A, ACI_EVT_DATA_ACK = 0x8B, ACI_EVT_DATA_RECEIVED = 0x8C, ACI_EVT_PIPE_ERROR = 0x8D, ACI_EVT_DISPLAY_PASSKEY = 0x8E, ACI_EVT_KEY_REQUEST = 0x8F } |
enum | _aci_packed_ { ACI_STORE_INVALID = 0x0, ACI_STORE_LOCAL = 0x01, ACI_STORE_REMOTE = 0x02, ACI_TX_BROADCAST = 0x0001, ACI_TX = 0x0002, ACI_TX_ACK = 0x0004, ACI_RX = 0x0008, ACI_RX_ACK = 0x0010, ACI_TX_REQ = 0x0020, ACI_RX_REQ = 0x0040, ACI_SET = 0x0080, ACI_TX_SIGN = 0x0100, ACI_RX_SIGN = 0x0200, ACI_RX_ACK_AUTO = 0x0400, ACI_BD_ADDR_TYPE_INVALID = 0x00, ACI_BD_ADDR_TYPE_PUBLIC = 0x01, ACI_BD_ADDR_TYPE_RANDOM_STATIC = 0x02, ACI_BD_ADDR_TYPE_RANDOM_PRIVATE_RESOLVABLE = 0x03, ACI_BD_ADDR_TYPE_RANDOM_PRIVATE_UNRESOLVABLE = 0x04, ACI_DEVICE_OUTPUT_POWER_MINUS_18DBM = 0x00, ACI_DEVICE_OUTPUT_POWER_MINUS_12DBM = 0x01, ACI_DEVICE_OUTPUT_POWER_MINUS_6DBM = 0x02, ACI_DEVICE_OUTPUT_POWER_0DBM = 0x03, ACI_DEVICE_INVALID =0x00, ACI_DEVICE_TEST =0x01, ACI_DEVICE_SETUP =0x02, ACI_DEVICE_STANDBY =0x03, ACI_DEVICE_SLEEP =0x04, ACI_REASON_TERMINATE =0x01, ACI_REASON_BAD_TIMING =0x02, ACI_TEST_MODE_DTM_UART = 0x01, ACI_TEST_MODE_DTM_ACI = 0x02, ACI_TEST_MODE_EXIT = 0xFF, ACI_PERMISSIONS_NONE =0x00, ACI_PERMISSIONS_LINK_AUTHENTICATED =0x01, ACI_HW_ERROR_NONE = 0x00, ACI_HW_ERROR_FATAL = 0x01, ACI_CLOCK_ACCURACY_500_PPM = 0x00, ACI_CLOCK_ACCURACY_250_PPM = 0x01, ACI_CLOCK_ACCURACY_150_PPM = 0x02, ACI_CLOCK_ACCURACY_100_PPM = 0x03, ACI_CLOCK_ACCURACY_75_PPM = 0x04, ACI_CLOCK_ACCURACY_50_PPM = 0x05, ACI_CLOCK_ACCURACY_30_PPM = 0x06, ACI_CLOCK_ACCURACY_20_PPM = 0x07, ACI_APP_LATENCY_DISABLE = 0, ACI_APP_LATENCY_ENABLE = 1, ACI_GATT_FORMAT_NONE = 0x00, ACI_GATT_FORMAT_BOOLEAN = 0x01, ACI_GATT_FORMAT_2BIT = 0x02, ACI_GATT_FORMAT_NIBBLE = 0x03, ACI_GATT_FORMAT_UINT8 = 0x04, ACI_GATT_FORMAT_UINT12 = 0x05, ACI_GATT_FORMAT_UINT16 = 0x06, ACI_GATT_FORMAT_UINT24 = 0x07, ACI_GATT_FORMAT_UINT32 = 0x08, ACI_GATT_FORMAT_UINT48 = 0x09, ACI_GATT_FORMAT_UINT64 = 0x0A, ACI_GATT_FORMAT_UINT128 = 0x0B, ACI_GATT_FORMAT_SINT8 = 0x0C, ACI_GATT_FORMAT_SINT12 = 0x0D, ACI_GATT_FORMAT_SINT16 = 0x0E, ACI_GATT_FORMAT_SINT24 = 0x0F, ACI_GATT_FORMAT_SINT32 = 0x10, ACI_GATT_FORMAT_SINT48 = 0x11, ACI_GATT_FORMAT_SINT64 = 0x12, ACI_GATT_FORMAT_SINT128 = 0x13, ACI_GATT_FORMAT_FLOAT32 = 0x14, ACI_GATT_FORMAT_FLOAT64 = 0x15, ACI_GATT_FORMAT_SFLOAT = 0x16, ACI_GATT_FORMAT_FLOAT = 0x17, ACI_GATT_FORMAT_DUINT16 = 0x18, ACI_GATT_FORMAT_UTF8S = 0x19, ACI_GATT_FORMAT_UTF16S = 0x1A, ACI_GATT_FORMAT_STRUCT = 0x1B, ACI_GATT_NAMESPACE_INVALID = 0x00, ACI_GATT_NAMESPACE_BTSIG = 0x01, ACI_KEY_TYPE_INVALID = 0x00, ACI_KEY_TYPE_PASSKEY = 0x01, ACI_BOND_STATUS_SUCCESS = 0x00, ACI_BOND_STATUS_FAILED = 0x01, ACI_BOND_STATUS_FAILED_TIMED_OUT = 0x02, ACI_BOND_STATUS_FAILED_PASSKEY_ENTRY_FAILED = 0x81, ACI_BOND_STATUS_FAILED_OOB_UNAVAILABLE = 0x82, ACI_BOND_STATUS_FAILED_AUTHENTICATION_REQ = 0x83, ACI_BOND_STATUS_FAILED_CONFIRM_VALUE = 0x84, ACI_BOND_STATUS_FAILED_PAIRING_UNSUPPORTED = 0x85, ACI_BOND_STATUS_FAILED_ENCRYPTION_KEY_SIZE = 0x86, ACI_BOND_STATUS_FAILED_SMP_CMD_UNSUPPORTED = 0x87, ACI_BOND_STATUS_FAILED_UNSPECIFIED_REASON = 0x88, ACI_BOND_STATUS_FAILED_REPEATED_ATTEMPTS = 0x89, ACI_BOND_STATUS_FAILED_INVALID_PARAMETERS = 0x8A, ACI_BOND_STATUS_SOURCE_INVALID = 0x00, ACI_BOND_STATUS_SOURCE_LOCAL = 0x01, ACI_BOND_STATUS_SOURCE_REMOTE = 0x02, ACI_STATUS_SUCCESS = 0x00, ACI_STATUS_TRANSACTION_CONTINUE = 0x01, ACI_STATUS_TRANSACTION_COMPLETE = 0x02, ACI_STATUS_EXTENDED = 0x03, ACI_STATUS_ERROR_UNKNOWN = 0x80, ACI_STATUS_ERROR_INTERNAL = 0x81, ACI_STATUS_ERROR_CMD_UNKNOWN = 0x82, ACI_STATUS_ERROR_DEVICE_STATE_INVALID = 0x83, ACI_STATUS_ERROR_INVALID_LENGTH = 0x84, ACI_STATUS_ERROR_INVALID_PARAMETER = 0x85, ACI_STATUS_ERROR_BUSY = 0x86, ACI_STATUS_ERROR_INVALID_DATA = 0x87, ACI_STATUS_ERROR_CRC_MISMATCH = 0x88, ACI_STATUS_ERROR_UNSUPPORTED_SETUP_FORMAT = 0x89, ACI_STATUS_ERROR_INVALID_SEQ_NO = 0x8A, ACI_STATUS_ERROR_SETUP_LOCKED = 0x8B, ACI_STATUS_ERROR_LOCK_FAILED = 0x8C, ACI_STATUS_ERROR_BOND_REQUIRED = 0x8D, ACI_STATUS_ERROR_REJECTED = 0x8E, ACI_STATUS_ERROR_DATA_SIZE = 0x8F, ACI_STATUS_ERROR_PIPE_INVALID = 0x90, ACI_STATUS_ERROR_CREDIT_NOT_AVAILABLE = 0x91, ACI_STATUS_ERROR_PEER_ATT_ERROR = 0x92, ACI_STATUS_ERROR_ADVT_TIMEOUT = 0x93, ACI_STATUS_ERROR_PEER_SMP_ERROR = 0x94, ACI_STATUS_ERROR_PIPE_TYPE_INVALID = 0x95, ACI_STATUS_ERROR_PIPE_STATE_INVALID = 0x96, ACI_STATUS_ERROR_INVALID_KEY_SIZE = 0x97, ACI_STATUS_ERROR_INVALID_KEY_DATA = 0x98, ACI_STATUS_RESERVED_START = 0xF0, ACI_STATUS_RESERVED_END = 0xFF, ACI_CMD_TEST = 0x01, ACI_CMD_ECHO = 0x02, ACI_CMD_DTM_CMD = 0x03, ACI_CMD_SLEEP = 0x04, ACI_CMD_WAKEUP = 0x05, ACI_CMD_SETUP = 0x06, ACI_CMD_READ_DYNAMIC_DATA = 0x07, ACI_CMD_WRITE_DYNAMIC_DATA = 0x08, ACI_CMD_GET_DEVICE_VERSION = 0x09, ACI_CMD_GET_DEVICE_ADDRESS = 0x0A, ACI_CMD_GET_BATTERY_LEVEL = 0x0B, ACI_CMD_GET_TEMPERATURE = 0x0C, ACI_CMD_SET_LOCAL_DATA = 0x0D, ACI_CMD_RADIO_RESET = 0x0E, ACI_CMD_CONNECT = 0x0F, ACI_CMD_BOND = 0x10, ACI_CMD_DISCONNECT = 0x11, ACI_CMD_SET_TX_POWER = 0x12, ACI_CMD_CHANGE_TIMING = 0x13, ACI_CMD_OPEN_REMOTE_PIPE = 0x14, ACI_CMD_SEND_DATA = 0x15, ACI_CMD_SEND_DATA_ACK = 0x16, ACI_CMD_REQUEST_DATA = 0x17, ACI_CMD_SEND_DATA_NACK = 0x18, ACI_CMD_SET_APP_LATENCY = 0x19, ACI_CMD_SET_KEY = 0x1A, ACI_CMD_OPEN_ADV_PIPE = 0x1B, ACI_CMD_BROADCAST = 0x1C, ACI_CMD_BOND_SECURITY_REQUEST = 0x1D, ACI_CMD_CONNECT_DIRECT = 0x1E, ACI_CMD_CLOSE_REMOTE_PIPE = 0x1F, ACI_CMD_INVALID = 0xFF, ACI_EVT_INVALID = 0x00, ACI_EVT_DEVICE_STARTED = 0x81, ACI_EVT_ECHO = 0x82, ACI_EVT_HW_ERROR = 0x83, ACI_EVT_CMD_RSP = 0x84, ACI_EVT_CONNECTED = 0x85, ACI_EVT_DISCONNECTED = 0x86, ACI_EVT_BOND_STATUS = 0x87, ACI_EVT_PIPE_STATUS = 0x88, ACI_EVT_TIMING = 0x89, ACI_EVT_DATA_CREDIT = 0x8A, ACI_EVT_DATA_ACK = 0x8B, ACI_EVT_DATA_RECEIVED = 0x8C, ACI_EVT_PIPE_ERROR = 0x8D, ACI_EVT_DISPLAY_PASSKEY = 0x8E, ACI_EVT_KEY_REQUEST = 0x8F } |
enum | _aci_packed_ { ACI_STORE_INVALID = 0x0, ACI_STORE_LOCAL = 0x01, ACI_STORE_REMOTE = 0x02, ACI_TX_BROADCAST = 0x0001, ACI_TX = 0x0002, ACI_TX_ACK = 0x0004, ACI_RX = 0x0008, ACI_RX_ACK = 0x0010, ACI_TX_REQ = 0x0020, ACI_RX_REQ = 0x0040, ACI_SET = 0x0080, ACI_TX_SIGN = 0x0100, ACI_RX_SIGN = 0x0200, ACI_RX_ACK_AUTO = 0x0400, ACI_BD_ADDR_TYPE_INVALID = 0x00, ACI_BD_ADDR_TYPE_PUBLIC = 0x01, ACI_BD_ADDR_TYPE_RANDOM_STATIC = 0x02, ACI_BD_ADDR_TYPE_RANDOM_PRIVATE_RESOLVABLE = 0x03, ACI_BD_ADDR_TYPE_RANDOM_PRIVATE_UNRESOLVABLE = 0x04, ACI_DEVICE_OUTPUT_POWER_MINUS_18DBM = 0x00, ACI_DEVICE_OUTPUT_POWER_MINUS_12DBM = 0x01, ACI_DEVICE_OUTPUT_POWER_MINUS_6DBM = 0x02, ACI_DEVICE_OUTPUT_POWER_0DBM = 0x03, ACI_DEVICE_INVALID =0x00, ACI_DEVICE_TEST =0x01, ACI_DEVICE_SETUP =0x02, ACI_DEVICE_STANDBY =0x03, ACI_DEVICE_SLEEP =0x04, ACI_REASON_TERMINATE =0x01, ACI_REASON_BAD_TIMING =0x02, ACI_TEST_MODE_DTM_UART = 0x01, ACI_TEST_MODE_DTM_ACI = 0x02, ACI_TEST_MODE_EXIT = 0xFF, ACI_PERMISSIONS_NONE =0x00, ACI_PERMISSIONS_LINK_AUTHENTICATED =0x01, ACI_HW_ERROR_NONE = 0x00, ACI_HW_ERROR_FATAL = 0x01, ACI_CLOCK_ACCURACY_500_PPM = 0x00, ACI_CLOCK_ACCURACY_250_PPM = 0x01, ACI_CLOCK_ACCURACY_150_PPM = 0x02, ACI_CLOCK_ACCURACY_100_PPM = 0x03, ACI_CLOCK_ACCURACY_75_PPM = 0x04, ACI_CLOCK_ACCURACY_50_PPM = 0x05, ACI_CLOCK_ACCURACY_30_PPM = 0x06, ACI_CLOCK_ACCURACY_20_PPM = 0x07, ACI_APP_LATENCY_DISABLE = 0, ACI_APP_LATENCY_ENABLE = 1, ACI_GATT_FORMAT_NONE = 0x00, ACI_GATT_FORMAT_BOOLEAN = 0x01, ACI_GATT_FORMAT_2BIT = 0x02, ACI_GATT_FORMAT_NIBBLE = 0x03, ACI_GATT_FORMAT_UINT8 = 0x04, ACI_GATT_FORMAT_UINT12 = 0x05, ACI_GATT_FORMAT_UINT16 = 0x06, ACI_GATT_FORMAT_UINT24 = 0x07, ACI_GATT_FORMAT_UINT32 = 0x08, ACI_GATT_FORMAT_UINT48 = 0x09, ACI_GATT_FORMAT_UINT64 = 0x0A, ACI_GATT_FORMAT_UINT128 = 0x0B, ACI_GATT_FORMAT_SINT8 = 0x0C, ACI_GATT_FORMAT_SINT12 = 0x0D, ACI_GATT_FORMAT_SINT16 = 0x0E, ACI_GATT_FORMAT_SINT24 = 0x0F, ACI_GATT_FORMAT_SINT32 = 0x10, ACI_GATT_FORMAT_SINT48 = 0x11, ACI_GATT_FORMAT_SINT64 = 0x12, ACI_GATT_FORMAT_SINT128 = 0x13, ACI_GATT_FORMAT_FLOAT32 = 0x14, ACI_GATT_FORMAT_FLOAT64 = 0x15, ACI_GATT_FORMAT_SFLOAT = 0x16, ACI_GATT_FORMAT_FLOAT = 0x17, ACI_GATT_FORMAT_DUINT16 = 0x18, ACI_GATT_FORMAT_UTF8S = 0x19, ACI_GATT_FORMAT_UTF16S = 0x1A, ACI_GATT_FORMAT_STRUCT = 0x1B, ACI_GATT_NAMESPACE_INVALID = 0x00, ACI_GATT_NAMESPACE_BTSIG = 0x01, ACI_KEY_TYPE_INVALID = 0x00, ACI_KEY_TYPE_PASSKEY = 0x01, ACI_BOND_STATUS_SUCCESS = 0x00, ACI_BOND_STATUS_FAILED = 0x01, ACI_BOND_STATUS_FAILED_TIMED_OUT = 0x02, ACI_BOND_STATUS_FAILED_PASSKEY_ENTRY_FAILED = 0x81, ACI_BOND_STATUS_FAILED_OOB_UNAVAILABLE = 0x82, ACI_BOND_STATUS_FAILED_AUTHENTICATION_REQ = 0x83, ACI_BOND_STATUS_FAILED_CONFIRM_VALUE = 0x84, ACI_BOND_STATUS_FAILED_PAIRING_UNSUPPORTED = 0x85, ACI_BOND_STATUS_FAILED_ENCRYPTION_KEY_SIZE = 0x86, ACI_BOND_STATUS_FAILED_SMP_CMD_UNSUPPORTED = 0x87, ACI_BOND_STATUS_FAILED_UNSPECIFIED_REASON = 0x88, ACI_BOND_STATUS_FAILED_REPEATED_ATTEMPTS = 0x89, ACI_BOND_STATUS_FAILED_INVALID_PARAMETERS = 0x8A, ACI_BOND_STATUS_SOURCE_INVALID = 0x00, ACI_BOND_STATUS_SOURCE_LOCAL = 0x01, ACI_BOND_STATUS_SOURCE_REMOTE = 0x02, ACI_STATUS_SUCCESS = 0x00, ACI_STATUS_TRANSACTION_CONTINUE = 0x01, ACI_STATUS_TRANSACTION_COMPLETE = 0x02, ACI_STATUS_EXTENDED = 0x03, ACI_STATUS_ERROR_UNKNOWN = 0x80, ACI_STATUS_ERROR_INTERNAL = 0x81, ACI_STATUS_ERROR_CMD_UNKNOWN = 0x82, ACI_STATUS_ERROR_DEVICE_STATE_INVALID = 0x83, ACI_STATUS_ERROR_INVALID_LENGTH = 0x84, ACI_STATUS_ERROR_INVALID_PARAMETER = 0x85, ACI_STATUS_ERROR_BUSY = 0x86, ACI_STATUS_ERROR_INVALID_DATA = 0x87, ACI_STATUS_ERROR_CRC_MISMATCH = 0x88, ACI_STATUS_ERROR_UNSUPPORTED_SETUP_FORMAT = 0x89, ACI_STATUS_ERROR_INVALID_SEQ_NO = 0x8A, ACI_STATUS_ERROR_SETUP_LOCKED = 0x8B, ACI_STATUS_ERROR_LOCK_FAILED = 0x8C, ACI_STATUS_ERROR_BOND_REQUIRED = 0x8D, ACI_STATUS_ERROR_REJECTED = 0x8E, ACI_STATUS_ERROR_DATA_SIZE = 0x8F, ACI_STATUS_ERROR_PIPE_INVALID = 0x90, ACI_STATUS_ERROR_CREDIT_NOT_AVAILABLE = 0x91, ACI_STATUS_ERROR_PEER_ATT_ERROR = 0x92, ACI_STATUS_ERROR_ADVT_TIMEOUT = 0x93, ACI_STATUS_ERROR_PEER_SMP_ERROR = 0x94, ACI_STATUS_ERROR_PIPE_TYPE_INVALID = 0x95, ACI_STATUS_ERROR_PIPE_STATE_INVALID = 0x96, ACI_STATUS_ERROR_INVALID_KEY_SIZE = 0x97, ACI_STATUS_ERROR_INVALID_KEY_DATA = 0x98, ACI_STATUS_RESERVED_START = 0xF0, ACI_STATUS_RESERVED_END = 0xFF, ACI_CMD_TEST = 0x01, ACI_CMD_ECHO = 0x02, ACI_CMD_DTM_CMD = 0x03, ACI_CMD_SLEEP = 0x04, ACI_CMD_WAKEUP = 0x05, ACI_CMD_SETUP = 0x06, ACI_CMD_READ_DYNAMIC_DATA = 0x07, ACI_CMD_WRITE_DYNAMIC_DATA = 0x08, ACI_CMD_GET_DEVICE_VERSION = 0x09, ACI_CMD_GET_DEVICE_ADDRESS = 0x0A, ACI_CMD_GET_BATTERY_LEVEL = 0x0B, ACI_CMD_GET_TEMPERATURE = 0x0C, ACI_CMD_SET_LOCAL_DATA = 0x0D, ACI_CMD_RADIO_RESET = 0x0E, ACI_CMD_CONNECT = 0x0F, ACI_CMD_BOND = 0x10, ACI_CMD_DISCONNECT = 0x11, ACI_CMD_SET_TX_POWER = 0x12, ACI_CMD_CHANGE_TIMING = 0x13, ACI_CMD_OPEN_REMOTE_PIPE = 0x14, ACI_CMD_SEND_DATA = 0x15, ACI_CMD_SEND_DATA_ACK = 0x16, ACI_CMD_REQUEST_DATA = 0x17, ACI_CMD_SEND_DATA_NACK = 0x18, ACI_CMD_SET_APP_LATENCY = 0x19, ACI_CMD_SET_KEY = 0x1A, ACI_CMD_OPEN_ADV_PIPE = 0x1B, ACI_CMD_BROADCAST = 0x1C, ACI_CMD_BOND_SECURITY_REQUEST = 0x1D, ACI_CMD_CONNECT_DIRECT = 0x1E, ACI_CMD_CLOSE_REMOTE_PIPE = 0x1F, ACI_CMD_INVALID = 0xFF, ACI_EVT_INVALID = 0x00, ACI_EVT_DEVICE_STARTED = 0x81, ACI_EVT_ECHO = 0x82, ACI_EVT_HW_ERROR = 0x83, ACI_EVT_CMD_RSP = 0x84, ACI_EVT_CONNECTED = 0x85, ACI_EVT_DISCONNECTED = 0x86, ACI_EVT_BOND_STATUS = 0x87, ACI_EVT_PIPE_STATUS = 0x88, ACI_EVT_TIMING = 0x89, ACI_EVT_DATA_CREDIT = 0x8A, ACI_EVT_DATA_ACK = 0x8B, ACI_EVT_DATA_RECEIVED = 0x8C, ACI_EVT_PIPE_ERROR = 0x8D, ACI_EVT_DISPLAY_PASSKEY = 0x8E, ACI_EVT_KEY_REQUEST = 0x8F } |
enum | _aci_packed_ { ACI_STORE_INVALID = 0x0, ACI_STORE_LOCAL = 0x01, ACI_STORE_REMOTE = 0x02, ACI_TX_BROADCAST = 0x0001, ACI_TX = 0x0002, ACI_TX_ACK = 0x0004, ACI_RX = 0x0008, ACI_RX_ACK = 0x0010, ACI_TX_REQ = 0x0020, ACI_RX_REQ = 0x0040, ACI_SET = 0x0080, ACI_TX_SIGN = 0x0100, ACI_RX_SIGN = 0x0200, ACI_RX_ACK_AUTO = 0x0400, ACI_BD_ADDR_TYPE_INVALID = 0x00, ACI_BD_ADDR_TYPE_PUBLIC = 0x01, ACI_BD_ADDR_TYPE_RANDOM_STATIC = 0x02, ACI_BD_ADDR_TYPE_RANDOM_PRIVATE_RESOLVABLE = 0x03, ACI_BD_ADDR_TYPE_RANDOM_PRIVATE_UNRESOLVABLE = 0x04, ACI_DEVICE_OUTPUT_POWER_MINUS_18DBM = 0x00, ACI_DEVICE_OUTPUT_POWER_MINUS_12DBM = 0x01, ACI_DEVICE_OUTPUT_POWER_MINUS_6DBM = 0x02, ACI_DEVICE_OUTPUT_POWER_0DBM = 0x03, ACI_DEVICE_INVALID =0x00, ACI_DEVICE_TEST =0x01, ACI_DEVICE_SETUP =0x02, ACI_DEVICE_STANDBY =0x03, ACI_DEVICE_SLEEP =0x04, ACI_REASON_TERMINATE =0x01, ACI_REASON_BAD_TIMING =0x02, ACI_TEST_MODE_DTM_UART = 0x01, ACI_TEST_MODE_DTM_ACI = 0x02, ACI_TEST_MODE_EXIT = 0xFF, ACI_PERMISSIONS_NONE =0x00, ACI_PERMISSIONS_LINK_AUTHENTICATED =0x01, ACI_HW_ERROR_NONE = 0x00, ACI_HW_ERROR_FATAL = 0x01, ACI_CLOCK_ACCURACY_500_PPM = 0x00, ACI_CLOCK_ACCURACY_250_PPM = 0x01, ACI_CLOCK_ACCURACY_150_PPM = 0x02, ACI_CLOCK_ACCURACY_100_PPM = 0x03, ACI_CLOCK_ACCURACY_75_PPM = 0x04, ACI_CLOCK_ACCURACY_50_PPM = 0x05, ACI_CLOCK_ACCURACY_30_PPM = 0x06, ACI_CLOCK_ACCURACY_20_PPM = 0x07, ACI_APP_LATENCY_DISABLE = 0, ACI_APP_LATENCY_ENABLE = 1, ACI_GATT_FORMAT_NONE = 0x00, ACI_GATT_FORMAT_BOOLEAN = 0x01, ACI_GATT_FORMAT_2BIT = 0x02, ACI_GATT_FORMAT_NIBBLE = 0x03, ACI_GATT_FORMAT_UINT8 = 0x04, ACI_GATT_FORMAT_UINT12 = 0x05, ACI_GATT_FORMAT_UINT16 = 0x06, ACI_GATT_FORMAT_UINT24 = 0x07, ACI_GATT_FORMAT_UINT32 = 0x08, ACI_GATT_FORMAT_UINT48 = 0x09, ACI_GATT_FORMAT_UINT64 = 0x0A, ACI_GATT_FORMAT_UINT128 = 0x0B, ACI_GATT_FORMAT_SINT8 = 0x0C, ACI_GATT_FORMAT_SINT12 = 0x0D, ACI_GATT_FORMAT_SINT16 = 0x0E, ACI_GATT_FORMAT_SINT24 = 0x0F, ACI_GATT_FORMAT_SINT32 = 0x10, ACI_GATT_FORMAT_SINT48 = 0x11, ACI_GATT_FORMAT_SINT64 = 0x12, ACI_GATT_FORMAT_SINT128 = 0x13, ACI_GATT_FORMAT_FLOAT32 = 0x14, ACI_GATT_FORMAT_FLOAT64 = 0x15, ACI_GATT_FORMAT_SFLOAT = 0x16, ACI_GATT_FORMAT_FLOAT = 0x17, ACI_GATT_FORMAT_DUINT16 = 0x18, ACI_GATT_FORMAT_UTF8S = 0x19, ACI_GATT_FORMAT_UTF16S = 0x1A, ACI_GATT_FORMAT_STRUCT = 0x1B, ACI_GATT_NAMESPACE_INVALID = 0x00, ACI_GATT_NAMESPACE_BTSIG = 0x01, ACI_KEY_TYPE_INVALID = 0x00, ACI_KEY_TYPE_PASSKEY = 0x01, ACI_BOND_STATUS_SUCCESS = 0x00, ACI_BOND_STATUS_FAILED = 0x01, ACI_BOND_STATUS_FAILED_TIMED_OUT = 0x02, ACI_BOND_STATUS_FAILED_PASSKEY_ENTRY_FAILED = 0x81, ACI_BOND_STATUS_FAILED_OOB_UNAVAILABLE = 0x82, ACI_BOND_STATUS_FAILED_AUTHENTICATION_REQ = 0x83, ACI_BOND_STATUS_FAILED_CONFIRM_VALUE = 0x84, ACI_BOND_STATUS_FAILED_PAIRING_UNSUPPORTED = 0x85, ACI_BOND_STATUS_FAILED_ENCRYPTION_KEY_SIZE = 0x86, ACI_BOND_STATUS_FAILED_SMP_CMD_UNSUPPORTED = 0x87, ACI_BOND_STATUS_FAILED_UNSPECIFIED_REASON = 0x88, ACI_BOND_STATUS_FAILED_REPEATED_ATTEMPTS = 0x89, ACI_BOND_STATUS_FAILED_INVALID_PARAMETERS = 0x8A, ACI_BOND_STATUS_SOURCE_INVALID = 0x00, ACI_BOND_STATUS_SOURCE_LOCAL = 0x01, ACI_BOND_STATUS_SOURCE_REMOTE = 0x02, ACI_STATUS_SUCCESS = 0x00, ACI_STATUS_TRANSACTION_CONTINUE = 0x01, ACI_STATUS_TRANSACTION_COMPLETE = 0x02, ACI_STATUS_EXTENDED = 0x03, ACI_STATUS_ERROR_UNKNOWN = 0x80, ACI_STATUS_ERROR_INTERNAL = 0x81, ACI_STATUS_ERROR_CMD_UNKNOWN = 0x82, ACI_STATUS_ERROR_DEVICE_STATE_INVALID = 0x83, ACI_STATUS_ERROR_INVALID_LENGTH = 0x84, ACI_STATUS_ERROR_INVALID_PARAMETER = 0x85, ACI_STATUS_ERROR_BUSY = 0x86, ACI_STATUS_ERROR_INVALID_DATA = 0x87, ACI_STATUS_ERROR_CRC_MISMATCH = 0x88, ACI_STATUS_ERROR_UNSUPPORTED_SETUP_FORMAT = 0x89, ACI_STATUS_ERROR_INVALID_SEQ_NO = 0x8A, ACI_STATUS_ERROR_SETUP_LOCKED = 0x8B, ACI_STATUS_ERROR_LOCK_FAILED = 0x8C, ACI_STATUS_ERROR_BOND_REQUIRED = 0x8D, ACI_STATUS_ERROR_REJECTED = 0x8E, ACI_STATUS_ERROR_DATA_SIZE = 0x8F, ACI_STATUS_ERROR_PIPE_INVALID = 0x90, ACI_STATUS_ERROR_CREDIT_NOT_AVAILABLE = 0x91, ACI_STATUS_ERROR_PEER_ATT_ERROR = 0x92, ACI_STATUS_ERROR_ADVT_TIMEOUT = 0x93, ACI_STATUS_ERROR_PEER_SMP_ERROR = 0x94, ACI_STATUS_ERROR_PIPE_TYPE_INVALID = 0x95, ACI_STATUS_ERROR_PIPE_STATE_INVALID = 0x96, ACI_STATUS_ERROR_INVALID_KEY_SIZE = 0x97, ACI_STATUS_ERROR_INVALID_KEY_DATA = 0x98, ACI_STATUS_RESERVED_START = 0xF0, ACI_STATUS_RESERVED_END = 0xFF, ACI_CMD_TEST = 0x01, ACI_CMD_ECHO = 0x02, ACI_CMD_DTM_CMD = 0x03, ACI_CMD_SLEEP = 0x04, ACI_CMD_WAKEUP = 0x05, ACI_CMD_SETUP = 0x06, ACI_CMD_READ_DYNAMIC_DATA = 0x07, ACI_CMD_WRITE_DYNAMIC_DATA = 0x08, ACI_CMD_GET_DEVICE_VERSION = 0x09, ACI_CMD_GET_DEVICE_ADDRESS = 0x0A, ACI_CMD_GET_BATTERY_LEVEL = 0x0B, ACI_CMD_GET_TEMPERATURE = 0x0C, ACI_CMD_SET_LOCAL_DATA = 0x0D, ACI_CMD_RADIO_RESET = 0x0E, ACI_CMD_CONNECT = 0x0F, ACI_CMD_BOND = 0x10, ACI_CMD_DISCONNECT = 0x11, ACI_CMD_SET_TX_POWER = 0x12, ACI_CMD_CHANGE_TIMING = 0x13, ACI_CMD_OPEN_REMOTE_PIPE = 0x14, ACI_CMD_SEND_DATA = 0x15, ACI_CMD_SEND_DATA_ACK = 0x16, ACI_CMD_REQUEST_DATA = 0x17, ACI_CMD_SEND_DATA_NACK = 0x18, ACI_CMD_SET_APP_LATENCY = 0x19, ACI_CMD_SET_KEY = 0x1A, ACI_CMD_OPEN_ADV_PIPE = 0x1B, ACI_CMD_BROADCAST = 0x1C, ACI_CMD_BOND_SECURITY_REQUEST = 0x1D, ACI_CMD_CONNECT_DIRECT = 0x1E, ACI_CMD_CLOSE_REMOTE_PIPE = 0x1F, ACI_CMD_INVALID = 0xFF, ACI_EVT_INVALID = 0x00, ACI_EVT_DEVICE_STARTED = 0x81, ACI_EVT_ECHO = 0x82, ACI_EVT_HW_ERROR = 0x83, ACI_EVT_CMD_RSP = 0x84, ACI_EVT_CONNECTED = 0x85, ACI_EVT_DISCONNECTED = 0x86, ACI_EVT_BOND_STATUS = 0x87, ACI_EVT_PIPE_STATUS = 0x88, ACI_EVT_TIMING = 0x89, ACI_EVT_DATA_CREDIT = 0x8A, ACI_EVT_DATA_ACK = 0x8B, ACI_EVT_DATA_RECEIVED = 0x8C, ACI_EVT_PIPE_ERROR = 0x8D, ACI_EVT_DISPLAY_PASSKEY = 0x8E, ACI_EVT_KEY_REQUEST = 0x8F } |
enum | _aci_packed_ { ACI_STORE_INVALID = 0x0, ACI_STORE_LOCAL = 0x01, ACI_STORE_REMOTE = 0x02, ACI_TX_BROADCAST = 0x0001, ACI_TX = 0x0002, ACI_TX_ACK = 0x0004, ACI_RX = 0x0008, ACI_RX_ACK = 0x0010, ACI_TX_REQ = 0x0020, ACI_RX_REQ = 0x0040, ACI_SET = 0x0080, ACI_TX_SIGN = 0x0100, ACI_RX_SIGN = 0x0200, ACI_RX_ACK_AUTO = 0x0400, ACI_BD_ADDR_TYPE_INVALID = 0x00, ACI_BD_ADDR_TYPE_PUBLIC = 0x01, ACI_BD_ADDR_TYPE_RANDOM_STATIC = 0x02, ACI_BD_ADDR_TYPE_RANDOM_PRIVATE_RESOLVABLE = 0x03, ACI_BD_ADDR_TYPE_RANDOM_PRIVATE_UNRESOLVABLE = 0x04, ACI_DEVICE_OUTPUT_POWER_MINUS_18DBM = 0x00, ACI_DEVICE_OUTPUT_POWER_MINUS_12DBM = 0x01, ACI_DEVICE_OUTPUT_POWER_MINUS_6DBM = 0x02, ACI_DEVICE_OUTPUT_POWER_0DBM = 0x03, ACI_DEVICE_INVALID =0x00, ACI_DEVICE_TEST =0x01, ACI_DEVICE_SETUP =0x02, ACI_DEVICE_STANDBY =0x03, ACI_DEVICE_SLEEP =0x04, ACI_REASON_TERMINATE =0x01, ACI_REASON_BAD_TIMING =0x02, ACI_TEST_MODE_DTM_UART = 0x01, ACI_TEST_MODE_DTM_ACI = 0x02, ACI_TEST_MODE_EXIT = 0xFF, ACI_PERMISSIONS_NONE =0x00, ACI_PERMISSIONS_LINK_AUTHENTICATED =0x01, ACI_HW_ERROR_NONE = 0x00, ACI_HW_ERROR_FATAL = 0x01, ACI_CLOCK_ACCURACY_500_PPM = 0x00, ACI_CLOCK_ACCURACY_250_PPM = 0x01, ACI_CLOCK_ACCURACY_150_PPM = 0x02, ACI_CLOCK_ACCURACY_100_PPM = 0x03, ACI_CLOCK_ACCURACY_75_PPM = 0x04, ACI_CLOCK_ACCURACY_50_PPM = 0x05, ACI_CLOCK_ACCURACY_30_PPM = 0x06, ACI_CLOCK_ACCURACY_20_PPM = 0x07, ACI_APP_LATENCY_DISABLE = 0, ACI_APP_LATENCY_ENABLE = 1, ACI_GATT_FORMAT_NONE = 0x00, ACI_GATT_FORMAT_BOOLEAN = 0x01, ACI_GATT_FORMAT_2BIT = 0x02, ACI_GATT_FORMAT_NIBBLE = 0x03, ACI_GATT_FORMAT_UINT8 = 0x04, ACI_GATT_FORMAT_UINT12 = 0x05, ACI_GATT_FORMAT_UINT16 = 0x06, ACI_GATT_FORMAT_UINT24 = 0x07, ACI_GATT_FORMAT_UINT32 = 0x08, ACI_GATT_FORMAT_UINT48 = 0x09, ACI_GATT_FORMAT_UINT64 = 0x0A, ACI_GATT_FORMAT_UINT128 = 0x0B, ACI_GATT_FORMAT_SINT8 = 0x0C, ACI_GATT_FORMAT_SINT12 = 0x0D, ACI_GATT_FORMAT_SINT16 = 0x0E, ACI_GATT_FORMAT_SINT24 = 0x0F, ACI_GATT_FORMAT_SINT32 = 0x10, ACI_GATT_FORMAT_SINT48 = 0x11, ACI_GATT_FORMAT_SINT64 = 0x12, ACI_GATT_FORMAT_SINT128 = 0x13, ACI_GATT_FORMAT_FLOAT32 = 0x14, ACI_GATT_FORMAT_FLOAT64 = 0x15, ACI_GATT_FORMAT_SFLOAT = 0x16, ACI_GATT_FORMAT_FLOAT = 0x17, ACI_GATT_FORMAT_DUINT16 = 0x18, ACI_GATT_FORMAT_UTF8S = 0x19, ACI_GATT_FORMAT_UTF16S = 0x1A, ACI_GATT_FORMAT_STRUCT = 0x1B, ACI_GATT_NAMESPACE_INVALID = 0x00, ACI_GATT_NAMESPACE_BTSIG = 0x01, ACI_KEY_TYPE_INVALID = 0x00, ACI_KEY_TYPE_PASSKEY = 0x01, ACI_BOND_STATUS_SUCCESS = 0x00, ACI_BOND_STATUS_FAILED = 0x01, ACI_BOND_STATUS_FAILED_TIMED_OUT = 0x02, ACI_BOND_STATUS_FAILED_PASSKEY_ENTRY_FAILED = 0x81, ACI_BOND_STATUS_FAILED_OOB_UNAVAILABLE = 0x82, ACI_BOND_STATUS_FAILED_AUTHENTICATION_REQ = 0x83, ACI_BOND_STATUS_FAILED_CONFIRM_VALUE = 0x84, ACI_BOND_STATUS_FAILED_PAIRING_UNSUPPORTED = 0x85, ACI_BOND_STATUS_FAILED_ENCRYPTION_KEY_SIZE = 0x86, ACI_BOND_STATUS_FAILED_SMP_CMD_UNSUPPORTED = 0x87, ACI_BOND_STATUS_FAILED_UNSPECIFIED_REASON = 0x88, ACI_BOND_STATUS_FAILED_REPEATED_ATTEMPTS = 0x89, ACI_BOND_STATUS_FAILED_INVALID_PARAMETERS = 0x8A, ACI_BOND_STATUS_SOURCE_INVALID = 0x00, ACI_BOND_STATUS_SOURCE_LOCAL = 0x01, ACI_BOND_STATUS_SOURCE_REMOTE = 0x02, ACI_STATUS_SUCCESS = 0x00, ACI_STATUS_TRANSACTION_CONTINUE = 0x01, ACI_STATUS_TRANSACTION_COMPLETE = 0x02, ACI_STATUS_EXTENDED = 0x03, ACI_STATUS_ERROR_UNKNOWN = 0x80, ACI_STATUS_ERROR_INTERNAL = 0x81, ACI_STATUS_ERROR_CMD_UNKNOWN = 0x82, ACI_STATUS_ERROR_DEVICE_STATE_INVALID = 0x83, ACI_STATUS_ERROR_INVALID_LENGTH = 0x84, ACI_STATUS_ERROR_INVALID_PARAMETER = 0x85, ACI_STATUS_ERROR_BUSY = 0x86, ACI_STATUS_ERROR_INVALID_DATA = 0x87, ACI_STATUS_ERROR_CRC_MISMATCH = 0x88, ACI_STATUS_ERROR_UNSUPPORTED_SETUP_FORMAT = 0x89, ACI_STATUS_ERROR_INVALID_SEQ_NO = 0x8A, ACI_STATUS_ERROR_SETUP_LOCKED = 0x8B, ACI_STATUS_ERROR_LOCK_FAILED = 0x8C, ACI_STATUS_ERROR_BOND_REQUIRED = 0x8D, ACI_STATUS_ERROR_REJECTED = 0x8E, ACI_STATUS_ERROR_DATA_SIZE = 0x8F, ACI_STATUS_ERROR_PIPE_INVALID = 0x90, ACI_STATUS_ERROR_CREDIT_NOT_AVAILABLE = 0x91, ACI_STATUS_ERROR_PEER_ATT_ERROR = 0x92, ACI_STATUS_ERROR_ADVT_TIMEOUT = 0x93, ACI_STATUS_ERROR_PEER_SMP_ERROR = 0x94, ACI_STATUS_ERROR_PIPE_TYPE_INVALID = 0x95, ACI_STATUS_ERROR_PIPE_STATE_INVALID = 0x96, ACI_STATUS_ERROR_INVALID_KEY_SIZE = 0x97, ACI_STATUS_ERROR_INVALID_KEY_DATA = 0x98, ACI_STATUS_RESERVED_START = 0xF0, ACI_STATUS_RESERVED_END = 0xFF, ACI_CMD_TEST = 0x01, ACI_CMD_ECHO = 0x02, ACI_CMD_DTM_CMD = 0x03, ACI_CMD_SLEEP = 0x04, ACI_CMD_WAKEUP = 0x05, ACI_CMD_SETUP = 0x06, ACI_CMD_READ_DYNAMIC_DATA = 0x07, ACI_CMD_WRITE_DYNAMIC_DATA = 0x08, ACI_CMD_GET_DEVICE_VERSION = 0x09, ACI_CMD_GET_DEVICE_ADDRESS = 0x0A, ACI_CMD_GET_BATTERY_LEVEL = 0x0B, ACI_CMD_GET_TEMPERATURE = 0x0C, ACI_CMD_SET_LOCAL_DATA = 0x0D, ACI_CMD_RADIO_RESET = 0x0E, ACI_CMD_CONNECT = 0x0F, ACI_CMD_BOND = 0x10, ACI_CMD_DISCONNECT = 0x11, ACI_CMD_SET_TX_POWER = 0x12, ACI_CMD_CHANGE_TIMING = 0x13, ACI_CMD_OPEN_REMOTE_PIPE = 0x14, ACI_CMD_SEND_DATA = 0x15, ACI_CMD_SEND_DATA_ACK = 0x16, ACI_CMD_REQUEST_DATA = 0x17, ACI_CMD_SEND_DATA_NACK = 0x18, ACI_CMD_SET_APP_LATENCY = 0x19, ACI_CMD_SET_KEY = 0x1A, ACI_CMD_OPEN_ADV_PIPE = 0x1B, ACI_CMD_BROADCAST = 0x1C, ACI_CMD_BOND_SECURITY_REQUEST = 0x1D, ACI_CMD_CONNECT_DIRECT = 0x1E, ACI_CMD_CLOSE_REMOTE_PIPE = 0x1F, ACI_CMD_INVALID = 0xFF, ACI_EVT_INVALID = 0x00, ACI_EVT_DEVICE_STARTED = 0x81, ACI_EVT_ECHO = 0x82, ACI_EVT_HW_ERROR = 0x83, ACI_EVT_CMD_RSP = 0x84, ACI_EVT_CONNECTED = 0x85, ACI_EVT_DISCONNECTED = 0x86, ACI_EVT_BOND_STATUS = 0x87, ACI_EVT_PIPE_STATUS = 0x88, ACI_EVT_TIMING = 0x89, ACI_EVT_DATA_CREDIT = 0x8A, ACI_EVT_DATA_ACK = 0x8B, ACI_EVT_DATA_RECEIVED = 0x8C, ACI_EVT_PIPE_ERROR = 0x8D, ACI_EVT_DISPLAY_PASSKEY = 0x8E, ACI_EVT_KEY_REQUEST = 0x8F } |
enum | _aci_packed_ { ACI_STORE_INVALID = 0x0, ACI_STORE_LOCAL = 0x01, ACI_STORE_REMOTE = 0x02, ACI_TX_BROADCAST = 0x0001, ACI_TX = 0x0002, ACI_TX_ACK = 0x0004, ACI_RX = 0x0008, ACI_RX_ACK = 0x0010, ACI_TX_REQ = 0x0020, ACI_RX_REQ = 0x0040, ACI_SET = 0x0080, ACI_TX_SIGN = 0x0100, ACI_RX_SIGN = 0x0200, ACI_RX_ACK_AUTO = 0x0400, ACI_BD_ADDR_TYPE_INVALID = 0x00, ACI_BD_ADDR_TYPE_PUBLIC = 0x01, ACI_BD_ADDR_TYPE_RANDOM_STATIC = 0x02, ACI_BD_ADDR_TYPE_RANDOM_PRIVATE_RESOLVABLE = 0x03, ACI_BD_ADDR_TYPE_RANDOM_PRIVATE_UNRESOLVABLE = 0x04, ACI_DEVICE_OUTPUT_POWER_MINUS_18DBM = 0x00, ACI_DEVICE_OUTPUT_POWER_MINUS_12DBM = 0x01, ACI_DEVICE_OUTPUT_POWER_MINUS_6DBM = 0x02, ACI_DEVICE_OUTPUT_POWER_0DBM = 0x03, ACI_DEVICE_INVALID =0x00, ACI_DEVICE_TEST =0x01, ACI_DEVICE_SETUP =0x02, ACI_DEVICE_STANDBY =0x03, ACI_DEVICE_SLEEP =0x04, ACI_REASON_TERMINATE =0x01, ACI_REASON_BAD_TIMING =0x02, ACI_TEST_MODE_DTM_UART = 0x01, ACI_TEST_MODE_DTM_ACI = 0x02, ACI_TEST_MODE_EXIT = 0xFF, ACI_PERMISSIONS_NONE =0x00, ACI_PERMISSIONS_LINK_AUTHENTICATED =0x01, ACI_HW_ERROR_NONE = 0x00, ACI_HW_ERROR_FATAL = 0x01, ACI_CLOCK_ACCURACY_500_PPM = 0x00, ACI_CLOCK_ACCURACY_250_PPM = 0x01, ACI_CLOCK_ACCURACY_150_PPM = 0x02, ACI_CLOCK_ACCURACY_100_PPM = 0x03, ACI_CLOCK_ACCURACY_75_PPM = 0x04, ACI_CLOCK_ACCURACY_50_PPM = 0x05, ACI_CLOCK_ACCURACY_30_PPM = 0x06, ACI_CLOCK_ACCURACY_20_PPM = 0x07, ACI_APP_LATENCY_DISABLE = 0, ACI_APP_LATENCY_ENABLE = 1, ACI_GATT_FORMAT_NONE = 0x00, ACI_GATT_FORMAT_BOOLEAN = 0x01, ACI_GATT_FORMAT_2BIT = 0x02, ACI_GATT_FORMAT_NIBBLE = 0x03, ACI_GATT_FORMAT_UINT8 = 0x04, ACI_GATT_FORMAT_UINT12 = 0x05, ACI_GATT_FORMAT_UINT16 = 0x06, ACI_GATT_FORMAT_UINT24 = 0x07, ACI_GATT_FORMAT_UINT32 = 0x08, ACI_GATT_FORMAT_UINT48 = 0x09, ACI_GATT_FORMAT_UINT64 = 0x0A, ACI_GATT_FORMAT_UINT128 = 0x0B, ACI_GATT_FORMAT_SINT8 = 0x0C, ACI_GATT_FORMAT_SINT12 = 0x0D, ACI_GATT_FORMAT_SINT16 = 0x0E, ACI_GATT_FORMAT_SINT24 = 0x0F, ACI_GATT_FORMAT_SINT32 = 0x10, ACI_GATT_FORMAT_SINT48 = 0x11, ACI_GATT_FORMAT_SINT64 = 0x12, ACI_GATT_FORMAT_SINT128 = 0x13, ACI_GATT_FORMAT_FLOAT32 = 0x14, ACI_GATT_FORMAT_FLOAT64 = 0x15, ACI_GATT_FORMAT_SFLOAT = 0x16, ACI_GATT_FORMAT_FLOAT = 0x17, ACI_GATT_FORMAT_DUINT16 = 0x18, ACI_GATT_FORMAT_UTF8S = 0x19, ACI_GATT_FORMAT_UTF16S = 0x1A, ACI_GATT_FORMAT_STRUCT = 0x1B, ACI_GATT_NAMESPACE_INVALID = 0x00, ACI_GATT_NAMESPACE_BTSIG = 0x01, ACI_KEY_TYPE_INVALID = 0x00, ACI_KEY_TYPE_PASSKEY = 0x01, ACI_BOND_STATUS_SUCCESS = 0x00, ACI_BOND_STATUS_FAILED = 0x01, ACI_BOND_STATUS_FAILED_TIMED_OUT = 0x02, ACI_BOND_STATUS_FAILED_PASSKEY_ENTRY_FAILED = 0x81, ACI_BOND_STATUS_FAILED_OOB_UNAVAILABLE = 0x82, ACI_BOND_STATUS_FAILED_AUTHENTICATION_REQ = 0x83, ACI_BOND_STATUS_FAILED_CONFIRM_VALUE = 0x84, ACI_BOND_STATUS_FAILED_PAIRING_UNSUPPORTED = 0x85, ACI_BOND_STATUS_FAILED_ENCRYPTION_KEY_SIZE = 0x86, ACI_BOND_STATUS_FAILED_SMP_CMD_UNSUPPORTED = 0x87, ACI_BOND_STATUS_FAILED_UNSPECIFIED_REASON = 0x88, ACI_BOND_STATUS_FAILED_REPEATED_ATTEMPTS = 0x89, ACI_BOND_STATUS_FAILED_INVALID_PARAMETERS = 0x8A, ACI_BOND_STATUS_SOURCE_INVALID = 0x00, ACI_BOND_STATUS_SOURCE_LOCAL = 0x01, ACI_BOND_STATUS_SOURCE_REMOTE = 0x02, ACI_STATUS_SUCCESS = 0x00, ACI_STATUS_TRANSACTION_CONTINUE = 0x01, ACI_STATUS_TRANSACTION_COMPLETE = 0x02, ACI_STATUS_EXTENDED = 0x03, ACI_STATUS_ERROR_UNKNOWN = 0x80, ACI_STATUS_ERROR_INTERNAL = 0x81, ACI_STATUS_ERROR_CMD_UNKNOWN = 0x82, ACI_STATUS_ERROR_DEVICE_STATE_INVALID = 0x83, ACI_STATUS_ERROR_INVALID_LENGTH = 0x84, ACI_STATUS_ERROR_INVALID_PARAMETER = 0x85, ACI_STATUS_ERROR_BUSY = 0x86, ACI_STATUS_ERROR_INVALID_DATA = 0x87, ACI_STATUS_ERROR_CRC_MISMATCH = 0x88, ACI_STATUS_ERROR_UNSUPPORTED_SETUP_FORMAT = 0x89, ACI_STATUS_ERROR_INVALID_SEQ_NO = 0x8A, ACI_STATUS_ERROR_SETUP_LOCKED = 0x8B, ACI_STATUS_ERROR_LOCK_FAILED = 0x8C, ACI_STATUS_ERROR_BOND_REQUIRED = 0x8D, ACI_STATUS_ERROR_REJECTED = 0x8E, ACI_STATUS_ERROR_DATA_SIZE = 0x8F, ACI_STATUS_ERROR_PIPE_INVALID = 0x90, ACI_STATUS_ERROR_CREDIT_NOT_AVAILABLE = 0x91, ACI_STATUS_ERROR_PEER_ATT_ERROR = 0x92, ACI_STATUS_ERROR_ADVT_TIMEOUT = 0x93, ACI_STATUS_ERROR_PEER_SMP_ERROR = 0x94, ACI_STATUS_ERROR_PIPE_TYPE_INVALID = 0x95, ACI_STATUS_ERROR_PIPE_STATE_INVALID = 0x96, ACI_STATUS_ERROR_INVALID_KEY_SIZE = 0x97, ACI_STATUS_ERROR_INVALID_KEY_DATA = 0x98, ACI_STATUS_RESERVED_START = 0xF0, ACI_STATUS_RESERVED_END = 0xFF, ACI_CMD_TEST = 0x01, ACI_CMD_ECHO = 0x02, ACI_CMD_DTM_CMD = 0x03, ACI_CMD_SLEEP = 0x04, ACI_CMD_WAKEUP = 0x05, ACI_CMD_SETUP = 0x06, ACI_CMD_READ_DYNAMIC_DATA = 0x07, ACI_CMD_WRITE_DYNAMIC_DATA = 0x08, ACI_CMD_GET_DEVICE_VERSION = 0x09, ACI_CMD_GET_DEVICE_ADDRESS = 0x0A, ACI_CMD_GET_BATTERY_LEVEL = 0x0B, ACI_CMD_GET_TEMPERATURE = 0x0C, ACI_CMD_SET_LOCAL_DATA = 0x0D, ACI_CMD_RADIO_RESET = 0x0E, ACI_CMD_CONNECT = 0x0F, ACI_CMD_BOND = 0x10, ACI_CMD_DISCONNECT = 0x11, ACI_CMD_SET_TX_POWER = 0x12, ACI_CMD_CHANGE_TIMING = 0x13, ACI_CMD_OPEN_REMOTE_PIPE = 0x14, ACI_CMD_SEND_DATA = 0x15, ACI_CMD_SEND_DATA_ACK = 0x16, ACI_CMD_REQUEST_DATA = 0x17, ACI_CMD_SEND_DATA_NACK = 0x18, ACI_CMD_SET_APP_LATENCY = 0x19, ACI_CMD_SET_KEY = 0x1A, ACI_CMD_OPEN_ADV_PIPE = 0x1B, ACI_CMD_BROADCAST = 0x1C, ACI_CMD_BOND_SECURITY_REQUEST = 0x1D, ACI_CMD_CONNECT_DIRECT = 0x1E, ACI_CMD_CLOSE_REMOTE_PIPE = 0x1F, ACI_CMD_INVALID = 0xFF, ACI_EVT_INVALID = 0x00, ACI_EVT_DEVICE_STARTED = 0x81, ACI_EVT_ECHO = 0x82, ACI_EVT_HW_ERROR = 0x83, ACI_EVT_CMD_RSP = 0x84, ACI_EVT_CONNECTED = 0x85, ACI_EVT_DISCONNECTED = 0x86, ACI_EVT_BOND_STATUS = 0x87, ACI_EVT_PIPE_STATUS = 0x88, ACI_EVT_TIMING = 0x89, ACI_EVT_DATA_CREDIT = 0x8A, ACI_EVT_DATA_ACK = 0x8B, ACI_EVT_DATA_RECEIVED = 0x8C, ACI_EVT_PIPE_ERROR = 0x8D, ACI_EVT_DISPLAY_PASSKEY = 0x8E, ACI_EVT_KEY_REQUEST = 0x8F } |
GATT Bluetooth namespace. More... | |
enum | _aci_packed_ { ACI_STORE_INVALID = 0x0, ACI_STORE_LOCAL = 0x01, ACI_STORE_REMOTE = 0x02, ACI_TX_BROADCAST = 0x0001, ACI_TX = 0x0002, ACI_TX_ACK = 0x0004, ACI_RX = 0x0008, ACI_RX_ACK = 0x0010, ACI_TX_REQ = 0x0020, ACI_RX_REQ = 0x0040, ACI_SET = 0x0080, ACI_TX_SIGN = 0x0100, ACI_RX_SIGN = 0x0200, ACI_RX_ACK_AUTO = 0x0400, ACI_BD_ADDR_TYPE_INVALID = 0x00, ACI_BD_ADDR_TYPE_PUBLIC = 0x01, ACI_BD_ADDR_TYPE_RANDOM_STATIC = 0x02, ACI_BD_ADDR_TYPE_RANDOM_PRIVATE_RESOLVABLE = 0x03, ACI_BD_ADDR_TYPE_RANDOM_PRIVATE_UNRESOLVABLE = 0x04, ACI_DEVICE_OUTPUT_POWER_MINUS_18DBM = 0x00, ACI_DEVICE_OUTPUT_POWER_MINUS_12DBM = 0x01, ACI_DEVICE_OUTPUT_POWER_MINUS_6DBM = 0x02, ACI_DEVICE_OUTPUT_POWER_0DBM = 0x03, ACI_DEVICE_INVALID =0x00, ACI_DEVICE_TEST =0x01, ACI_DEVICE_SETUP =0x02, ACI_DEVICE_STANDBY =0x03, ACI_DEVICE_SLEEP =0x04, ACI_REASON_TERMINATE =0x01, ACI_REASON_BAD_TIMING =0x02, ACI_TEST_MODE_DTM_UART = 0x01, ACI_TEST_MODE_DTM_ACI = 0x02, ACI_TEST_MODE_EXIT = 0xFF, ACI_PERMISSIONS_NONE =0x00, ACI_PERMISSIONS_LINK_AUTHENTICATED =0x01, ACI_HW_ERROR_NONE = 0x00, ACI_HW_ERROR_FATAL = 0x01, ACI_CLOCK_ACCURACY_500_PPM = 0x00, ACI_CLOCK_ACCURACY_250_PPM = 0x01, ACI_CLOCK_ACCURACY_150_PPM = 0x02, ACI_CLOCK_ACCURACY_100_PPM = 0x03, ACI_CLOCK_ACCURACY_75_PPM = 0x04, ACI_CLOCK_ACCURACY_50_PPM = 0x05, ACI_CLOCK_ACCURACY_30_PPM = 0x06, ACI_CLOCK_ACCURACY_20_PPM = 0x07, ACI_APP_LATENCY_DISABLE = 0, ACI_APP_LATENCY_ENABLE = 1, ACI_GATT_FORMAT_NONE = 0x00, ACI_GATT_FORMAT_BOOLEAN = 0x01, ACI_GATT_FORMAT_2BIT = 0x02, ACI_GATT_FORMAT_NIBBLE = 0x03, ACI_GATT_FORMAT_UINT8 = 0x04, ACI_GATT_FORMAT_UINT12 = 0x05, ACI_GATT_FORMAT_UINT16 = 0x06, ACI_GATT_FORMAT_UINT24 = 0x07, ACI_GATT_FORMAT_UINT32 = 0x08, ACI_GATT_FORMAT_UINT48 = 0x09, ACI_GATT_FORMAT_UINT64 = 0x0A, ACI_GATT_FORMAT_UINT128 = 0x0B, ACI_GATT_FORMAT_SINT8 = 0x0C, ACI_GATT_FORMAT_SINT12 = 0x0D, ACI_GATT_FORMAT_SINT16 = 0x0E, ACI_GATT_FORMAT_SINT24 = 0x0F, ACI_GATT_FORMAT_SINT32 = 0x10, ACI_GATT_FORMAT_SINT48 = 0x11, ACI_GATT_FORMAT_SINT64 = 0x12, ACI_GATT_FORMAT_SINT128 = 0x13, ACI_GATT_FORMAT_FLOAT32 = 0x14, ACI_GATT_FORMAT_FLOAT64 = 0x15, ACI_GATT_FORMAT_SFLOAT = 0x16, ACI_GATT_FORMAT_FLOAT = 0x17, ACI_GATT_FORMAT_DUINT16 = 0x18, ACI_GATT_FORMAT_UTF8S = 0x19, ACI_GATT_FORMAT_UTF16S = 0x1A, ACI_GATT_FORMAT_STRUCT = 0x1B, ACI_GATT_NAMESPACE_INVALID = 0x00, ACI_GATT_NAMESPACE_BTSIG = 0x01, ACI_KEY_TYPE_INVALID = 0x00, ACI_KEY_TYPE_PASSKEY = 0x01, ACI_BOND_STATUS_SUCCESS = 0x00, ACI_BOND_STATUS_FAILED = 0x01, ACI_BOND_STATUS_FAILED_TIMED_OUT = 0x02, ACI_BOND_STATUS_FAILED_PASSKEY_ENTRY_FAILED = 0x81, ACI_BOND_STATUS_FAILED_OOB_UNAVAILABLE = 0x82, ACI_BOND_STATUS_FAILED_AUTHENTICATION_REQ = 0x83, ACI_BOND_STATUS_FAILED_CONFIRM_VALUE = 0x84, ACI_BOND_STATUS_FAILED_PAIRING_UNSUPPORTED = 0x85, ACI_BOND_STATUS_FAILED_ENCRYPTION_KEY_SIZE = 0x86, ACI_BOND_STATUS_FAILED_SMP_CMD_UNSUPPORTED = 0x87, ACI_BOND_STATUS_FAILED_UNSPECIFIED_REASON = 0x88, ACI_BOND_STATUS_FAILED_REPEATED_ATTEMPTS = 0x89, ACI_BOND_STATUS_FAILED_INVALID_PARAMETERS = 0x8A, ACI_BOND_STATUS_SOURCE_INVALID = 0x00, ACI_BOND_STATUS_SOURCE_LOCAL = 0x01, ACI_BOND_STATUS_SOURCE_REMOTE = 0x02, ACI_STATUS_SUCCESS = 0x00, ACI_STATUS_TRANSACTION_CONTINUE = 0x01, ACI_STATUS_TRANSACTION_COMPLETE = 0x02, ACI_STATUS_EXTENDED = 0x03, ACI_STATUS_ERROR_UNKNOWN = 0x80, ACI_STATUS_ERROR_INTERNAL = 0x81, ACI_STATUS_ERROR_CMD_UNKNOWN = 0x82, ACI_STATUS_ERROR_DEVICE_STATE_INVALID = 0x83, ACI_STATUS_ERROR_INVALID_LENGTH = 0x84, ACI_STATUS_ERROR_INVALID_PARAMETER = 0x85, ACI_STATUS_ERROR_BUSY = 0x86, ACI_STATUS_ERROR_INVALID_DATA = 0x87, ACI_STATUS_ERROR_CRC_MISMATCH = 0x88, ACI_STATUS_ERROR_UNSUPPORTED_SETUP_FORMAT = 0x89, ACI_STATUS_ERROR_INVALID_SEQ_NO = 0x8A, ACI_STATUS_ERROR_SETUP_LOCKED = 0x8B, ACI_STATUS_ERROR_LOCK_FAILED = 0x8C, ACI_STATUS_ERROR_BOND_REQUIRED = 0x8D, ACI_STATUS_ERROR_REJECTED = 0x8E, ACI_STATUS_ERROR_DATA_SIZE = 0x8F, ACI_STATUS_ERROR_PIPE_INVALID = 0x90, ACI_STATUS_ERROR_CREDIT_NOT_AVAILABLE = 0x91, ACI_STATUS_ERROR_PEER_ATT_ERROR = 0x92, ACI_STATUS_ERROR_ADVT_TIMEOUT = 0x93, ACI_STATUS_ERROR_PEER_SMP_ERROR = 0x94, ACI_STATUS_ERROR_PIPE_TYPE_INVALID = 0x95, ACI_STATUS_ERROR_PIPE_STATE_INVALID = 0x96, ACI_STATUS_ERROR_INVALID_KEY_SIZE = 0x97, ACI_STATUS_ERROR_INVALID_KEY_DATA = 0x98, ACI_STATUS_RESERVED_START = 0xF0, ACI_STATUS_RESERVED_END = 0xFF, ACI_CMD_TEST = 0x01, ACI_CMD_ECHO = 0x02, ACI_CMD_DTM_CMD = 0x03, ACI_CMD_SLEEP = 0x04, ACI_CMD_WAKEUP = 0x05, ACI_CMD_SETUP = 0x06, ACI_CMD_READ_DYNAMIC_DATA = 0x07, ACI_CMD_WRITE_DYNAMIC_DATA = 0x08, ACI_CMD_GET_DEVICE_VERSION = 0x09, ACI_CMD_GET_DEVICE_ADDRESS = 0x0A, ACI_CMD_GET_BATTERY_LEVEL = 0x0B, ACI_CMD_GET_TEMPERATURE = 0x0C, ACI_CMD_SET_LOCAL_DATA = 0x0D, ACI_CMD_RADIO_RESET = 0x0E, ACI_CMD_CONNECT = 0x0F, ACI_CMD_BOND = 0x10, ACI_CMD_DISCONNECT = 0x11, ACI_CMD_SET_TX_POWER = 0x12, ACI_CMD_CHANGE_TIMING = 0x13, ACI_CMD_OPEN_REMOTE_PIPE = 0x14, ACI_CMD_SEND_DATA = 0x15, ACI_CMD_SEND_DATA_ACK = 0x16, ACI_CMD_REQUEST_DATA = 0x17, ACI_CMD_SEND_DATA_NACK = 0x18, ACI_CMD_SET_APP_LATENCY = 0x19, ACI_CMD_SET_KEY = 0x1A, ACI_CMD_OPEN_ADV_PIPE = 0x1B, ACI_CMD_BROADCAST = 0x1C, ACI_CMD_BOND_SECURITY_REQUEST = 0x1D, ACI_CMD_CONNECT_DIRECT = 0x1E, ACI_CMD_CLOSE_REMOTE_PIPE = 0x1F, ACI_CMD_INVALID = 0xFF, ACI_EVT_INVALID = 0x00, ACI_EVT_DEVICE_STARTED = 0x81, ACI_EVT_ECHO = 0x82, ACI_EVT_HW_ERROR = 0x83, ACI_EVT_CMD_RSP = 0x84, ACI_EVT_CONNECTED = 0x85, ACI_EVT_DISCONNECTED = 0x86, ACI_EVT_BOND_STATUS = 0x87, ACI_EVT_PIPE_STATUS = 0x88, ACI_EVT_TIMING = 0x89, ACI_EVT_DATA_CREDIT = 0x8A, ACI_EVT_DATA_ACK = 0x8B, ACI_EVT_DATA_RECEIVED = 0x8C, ACI_EVT_PIPE_ERROR = 0x8D, ACI_EVT_DISPLAY_PASSKEY = 0x8E, ACI_EVT_KEY_REQUEST = 0x8F } |
Security key types. More... | |
enum | _aci_packed_ { ACI_STORE_INVALID = 0x0, ACI_STORE_LOCAL = 0x01, ACI_STORE_REMOTE = 0x02, ACI_TX_BROADCAST = 0x0001, ACI_TX = 0x0002, ACI_TX_ACK = 0x0004, ACI_RX = 0x0008, ACI_RX_ACK = 0x0010, ACI_TX_REQ = 0x0020, ACI_RX_REQ = 0x0040, ACI_SET = 0x0080, ACI_TX_SIGN = 0x0100, ACI_RX_SIGN = 0x0200, ACI_RX_ACK_AUTO = 0x0400, ACI_BD_ADDR_TYPE_INVALID = 0x00, ACI_BD_ADDR_TYPE_PUBLIC = 0x01, ACI_BD_ADDR_TYPE_RANDOM_STATIC = 0x02, ACI_BD_ADDR_TYPE_RANDOM_PRIVATE_RESOLVABLE = 0x03, ACI_BD_ADDR_TYPE_RANDOM_PRIVATE_UNRESOLVABLE = 0x04, ACI_DEVICE_OUTPUT_POWER_MINUS_18DBM = 0x00, ACI_DEVICE_OUTPUT_POWER_MINUS_12DBM = 0x01, ACI_DEVICE_OUTPUT_POWER_MINUS_6DBM = 0x02, ACI_DEVICE_OUTPUT_POWER_0DBM = 0x03, ACI_DEVICE_INVALID =0x00, ACI_DEVICE_TEST =0x01, ACI_DEVICE_SETUP =0x02, ACI_DEVICE_STANDBY =0x03, ACI_DEVICE_SLEEP =0x04, ACI_REASON_TERMINATE =0x01, ACI_REASON_BAD_TIMING =0x02, ACI_TEST_MODE_DTM_UART = 0x01, ACI_TEST_MODE_DTM_ACI = 0x02, ACI_TEST_MODE_EXIT = 0xFF, ACI_PERMISSIONS_NONE =0x00, ACI_PERMISSIONS_LINK_AUTHENTICATED =0x01, ACI_HW_ERROR_NONE = 0x00, ACI_HW_ERROR_FATAL = 0x01, ACI_CLOCK_ACCURACY_500_PPM = 0x00, ACI_CLOCK_ACCURACY_250_PPM = 0x01, ACI_CLOCK_ACCURACY_150_PPM = 0x02, ACI_CLOCK_ACCURACY_100_PPM = 0x03, ACI_CLOCK_ACCURACY_75_PPM = 0x04, ACI_CLOCK_ACCURACY_50_PPM = 0x05, ACI_CLOCK_ACCURACY_30_PPM = 0x06, ACI_CLOCK_ACCURACY_20_PPM = 0x07, ACI_APP_LATENCY_DISABLE = 0, ACI_APP_LATENCY_ENABLE = 1, ACI_GATT_FORMAT_NONE = 0x00, ACI_GATT_FORMAT_BOOLEAN = 0x01, ACI_GATT_FORMAT_2BIT = 0x02, ACI_GATT_FORMAT_NIBBLE = 0x03, ACI_GATT_FORMAT_UINT8 = 0x04, ACI_GATT_FORMAT_UINT12 = 0x05, ACI_GATT_FORMAT_UINT16 = 0x06, ACI_GATT_FORMAT_UINT24 = 0x07, ACI_GATT_FORMAT_UINT32 = 0x08, ACI_GATT_FORMAT_UINT48 = 0x09, ACI_GATT_FORMAT_UINT64 = 0x0A, ACI_GATT_FORMAT_UINT128 = 0x0B, ACI_GATT_FORMAT_SINT8 = 0x0C, ACI_GATT_FORMAT_SINT12 = 0x0D, ACI_GATT_FORMAT_SINT16 = 0x0E, ACI_GATT_FORMAT_SINT24 = 0x0F, ACI_GATT_FORMAT_SINT32 = 0x10, ACI_GATT_FORMAT_SINT48 = 0x11, ACI_GATT_FORMAT_SINT64 = 0x12, ACI_GATT_FORMAT_SINT128 = 0x13, ACI_GATT_FORMAT_FLOAT32 = 0x14, ACI_GATT_FORMAT_FLOAT64 = 0x15, ACI_GATT_FORMAT_SFLOAT = 0x16, ACI_GATT_FORMAT_FLOAT = 0x17, ACI_GATT_FORMAT_DUINT16 = 0x18, ACI_GATT_FORMAT_UTF8S = 0x19, ACI_GATT_FORMAT_UTF16S = 0x1A, ACI_GATT_FORMAT_STRUCT = 0x1B, ACI_GATT_NAMESPACE_INVALID = 0x00, ACI_GATT_NAMESPACE_BTSIG = 0x01, ACI_KEY_TYPE_INVALID = 0x00, ACI_KEY_TYPE_PASSKEY = 0x01, ACI_BOND_STATUS_SUCCESS = 0x00, ACI_BOND_STATUS_FAILED = 0x01, ACI_BOND_STATUS_FAILED_TIMED_OUT = 0x02, ACI_BOND_STATUS_FAILED_PASSKEY_ENTRY_FAILED = 0x81, ACI_BOND_STATUS_FAILED_OOB_UNAVAILABLE = 0x82, ACI_BOND_STATUS_FAILED_AUTHENTICATION_REQ = 0x83, ACI_BOND_STATUS_FAILED_CONFIRM_VALUE = 0x84, ACI_BOND_STATUS_FAILED_PAIRING_UNSUPPORTED = 0x85, ACI_BOND_STATUS_FAILED_ENCRYPTION_KEY_SIZE = 0x86, ACI_BOND_STATUS_FAILED_SMP_CMD_UNSUPPORTED = 0x87, ACI_BOND_STATUS_FAILED_UNSPECIFIED_REASON = 0x88, ACI_BOND_STATUS_FAILED_REPEATED_ATTEMPTS = 0x89, ACI_BOND_STATUS_FAILED_INVALID_PARAMETERS = 0x8A, ACI_BOND_STATUS_SOURCE_INVALID = 0x00, ACI_BOND_STATUS_SOURCE_LOCAL = 0x01, ACI_BOND_STATUS_SOURCE_REMOTE = 0x02, ACI_STATUS_SUCCESS = 0x00, ACI_STATUS_TRANSACTION_CONTINUE = 0x01, ACI_STATUS_TRANSACTION_COMPLETE = 0x02, ACI_STATUS_EXTENDED = 0x03, ACI_STATUS_ERROR_UNKNOWN = 0x80, ACI_STATUS_ERROR_INTERNAL = 0x81, ACI_STATUS_ERROR_CMD_UNKNOWN = 0x82, ACI_STATUS_ERROR_DEVICE_STATE_INVALID = 0x83, ACI_STATUS_ERROR_INVALID_LENGTH = 0x84, ACI_STATUS_ERROR_INVALID_PARAMETER = 0x85, ACI_STATUS_ERROR_BUSY = 0x86, ACI_STATUS_ERROR_INVALID_DATA = 0x87, ACI_STATUS_ERROR_CRC_MISMATCH = 0x88, ACI_STATUS_ERROR_UNSUPPORTED_SETUP_FORMAT = 0x89, ACI_STATUS_ERROR_INVALID_SEQ_NO = 0x8A, ACI_STATUS_ERROR_SETUP_LOCKED = 0x8B, ACI_STATUS_ERROR_LOCK_FAILED = 0x8C, ACI_STATUS_ERROR_BOND_REQUIRED = 0x8D, ACI_STATUS_ERROR_REJECTED = 0x8E, ACI_STATUS_ERROR_DATA_SIZE = 0x8F, ACI_STATUS_ERROR_PIPE_INVALID = 0x90, ACI_STATUS_ERROR_CREDIT_NOT_AVAILABLE = 0x91, ACI_STATUS_ERROR_PEER_ATT_ERROR = 0x92, ACI_STATUS_ERROR_ADVT_TIMEOUT = 0x93, ACI_STATUS_ERROR_PEER_SMP_ERROR = 0x94, ACI_STATUS_ERROR_PIPE_TYPE_INVALID = 0x95, ACI_STATUS_ERROR_PIPE_STATE_INVALID = 0x96, ACI_STATUS_ERROR_INVALID_KEY_SIZE = 0x97, ACI_STATUS_ERROR_INVALID_KEY_DATA = 0x98, ACI_STATUS_RESERVED_START = 0xF0, ACI_STATUS_RESERVED_END = 0xFF, ACI_CMD_TEST = 0x01, ACI_CMD_ECHO = 0x02, ACI_CMD_DTM_CMD = 0x03, ACI_CMD_SLEEP = 0x04, ACI_CMD_WAKEUP = 0x05, ACI_CMD_SETUP = 0x06, ACI_CMD_READ_DYNAMIC_DATA = 0x07, ACI_CMD_WRITE_DYNAMIC_DATA = 0x08, ACI_CMD_GET_DEVICE_VERSION = 0x09, ACI_CMD_GET_DEVICE_ADDRESS = 0x0A, ACI_CMD_GET_BATTERY_LEVEL = 0x0B, ACI_CMD_GET_TEMPERATURE = 0x0C, ACI_CMD_SET_LOCAL_DATA = 0x0D, ACI_CMD_RADIO_RESET = 0x0E, ACI_CMD_CONNECT = 0x0F, ACI_CMD_BOND = 0x10, ACI_CMD_DISCONNECT = 0x11, ACI_CMD_SET_TX_POWER = 0x12, ACI_CMD_CHANGE_TIMING = 0x13, ACI_CMD_OPEN_REMOTE_PIPE = 0x14, ACI_CMD_SEND_DATA = 0x15, ACI_CMD_SEND_DATA_ACK = 0x16, ACI_CMD_REQUEST_DATA = 0x17, ACI_CMD_SEND_DATA_NACK = 0x18, ACI_CMD_SET_APP_LATENCY = 0x19, ACI_CMD_SET_KEY = 0x1A, ACI_CMD_OPEN_ADV_PIPE = 0x1B, ACI_CMD_BROADCAST = 0x1C, ACI_CMD_BOND_SECURITY_REQUEST = 0x1D, ACI_CMD_CONNECT_DIRECT = 0x1E, ACI_CMD_CLOSE_REMOTE_PIPE = 0x1F, ACI_CMD_INVALID = 0xFF, ACI_EVT_INVALID = 0x00, ACI_EVT_DEVICE_STARTED = 0x81, ACI_EVT_ECHO = 0x82, ACI_EVT_HW_ERROR = 0x83, ACI_EVT_CMD_RSP = 0x84, ACI_EVT_CONNECTED = 0x85, ACI_EVT_DISCONNECTED = 0x86, ACI_EVT_BOND_STATUS = 0x87, ACI_EVT_PIPE_STATUS = 0x88, ACI_EVT_TIMING = 0x89, ACI_EVT_DATA_CREDIT = 0x8A, ACI_EVT_DATA_ACK = 0x8B, ACI_EVT_DATA_RECEIVED = 0x8C, ACI_EVT_PIPE_ERROR = 0x8D, ACI_EVT_DISPLAY_PASSKEY = 0x8E, ACI_EVT_KEY_REQUEST = 0x8F } |
enum | _aci_packed_ { ACI_STORE_INVALID = 0x0, ACI_STORE_LOCAL = 0x01, ACI_STORE_REMOTE = 0x02, ACI_TX_BROADCAST = 0x0001, ACI_TX = 0x0002, ACI_TX_ACK = 0x0004, ACI_RX = 0x0008, ACI_RX_ACK = 0x0010, ACI_TX_REQ = 0x0020, ACI_RX_REQ = 0x0040, ACI_SET = 0x0080, ACI_TX_SIGN = 0x0100, ACI_RX_SIGN = 0x0200, ACI_RX_ACK_AUTO = 0x0400, ACI_BD_ADDR_TYPE_INVALID = 0x00, ACI_BD_ADDR_TYPE_PUBLIC = 0x01, ACI_BD_ADDR_TYPE_RANDOM_STATIC = 0x02, ACI_BD_ADDR_TYPE_RANDOM_PRIVATE_RESOLVABLE = 0x03, ACI_BD_ADDR_TYPE_RANDOM_PRIVATE_UNRESOLVABLE = 0x04, ACI_DEVICE_OUTPUT_POWER_MINUS_18DBM = 0x00, ACI_DEVICE_OUTPUT_POWER_MINUS_12DBM = 0x01, ACI_DEVICE_OUTPUT_POWER_MINUS_6DBM = 0x02, ACI_DEVICE_OUTPUT_POWER_0DBM = 0x03, ACI_DEVICE_INVALID =0x00, ACI_DEVICE_TEST =0x01, ACI_DEVICE_SETUP =0x02, ACI_DEVICE_STANDBY =0x03, ACI_DEVICE_SLEEP =0x04, ACI_REASON_TERMINATE =0x01, ACI_REASON_BAD_TIMING =0x02, ACI_TEST_MODE_DTM_UART = 0x01, ACI_TEST_MODE_DTM_ACI = 0x02, ACI_TEST_MODE_EXIT = 0xFF, ACI_PERMISSIONS_NONE =0x00, ACI_PERMISSIONS_LINK_AUTHENTICATED =0x01, ACI_HW_ERROR_NONE = 0x00, ACI_HW_ERROR_FATAL = 0x01, ACI_CLOCK_ACCURACY_500_PPM = 0x00, ACI_CLOCK_ACCURACY_250_PPM = 0x01, ACI_CLOCK_ACCURACY_150_PPM = 0x02, ACI_CLOCK_ACCURACY_100_PPM = 0x03, ACI_CLOCK_ACCURACY_75_PPM = 0x04, ACI_CLOCK_ACCURACY_50_PPM = 0x05, ACI_CLOCK_ACCURACY_30_PPM = 0x06, ACI_CLOCK_ACCURACY_20_PPM = 0x07, ACI_APP_LATENCY_DISABLE = 0, ACI_APP_LATENCY_ENABLE = 1, ACI_GATT_FORMAT_NONE = 0x00, ACI_GATT_FORMAT_BOOLEAN = 0x01, ACI_GATT_FORMAT_2BIT = 0x02, ACI_GATT_FORMAT_NIBBLE = 0x03, ACI_GATT_FORMAT_UINT8 = 0x04, ACI_GATT_FORMAT_UINT12 = 0x05, ACI_GATT_FORMAT_UINT16 = 0x06, ACI_GATT_FORMAT_UINT24 = 0x07, ACI_GATT_FORMAT_UINT32 = 0x08, ACI_GATT_FORMAT_UINT48 = 0x09, ACI_GATT_FORMAT_UINT64 = 0x0A, ACI_GATT_FORMAT_UINT128 = 0x0B, ACI_GATT_FORMAT_SINT8 = 0x0C, ACI_GATT_FORMAT_SINT12 = 0x0D, ACI_GATT_FORMAT_SINT16 = 0x0E, ACI_GATT_FORMAT_SINT24 = 0x0F, ACI_GATT_FORMAT_SINT32 = 0x10, ACI_GATT_FORMAT_SINT48 = 0x11, ACI_GATT_FORMAT_SINT64 = 0x12, ACI_GATT_FORMAT_SINT128 = 0x13, ACI_GATT_FORMAT_FLOAT32 = 0x14, ACI_GATT_FORMAT_FLOAT64 = 0x15, ACI_GATT_FORMAT_SFLOAT = 0x16, ACI_GATT_FORMAT_FLOAT = 0x17, ACI_GATT_FORMAT_DUINT16 = 0x18, ACI_GATT_FORMAT_UTF8S = 0x19, ACI_GATT_FORMAT_UTF16S = 0x1A, ACI_GATT_FORMAT_STRUCT = 0x1B, ACI_GATT_NAMESPACE_INVALID = 0x00, ACI_GATT_NAMESPACE_BTSIG = 0x01, ACI_KEY_TYPE_INVALID = 0x00, ACI_KEY_TYPE_PASSKEY = 0x01, ACI_BOND_STATUS_SUCCESS = 0x00, ACI_BOND_STATUS_FAILED = 0x01, ACI_BOND_STATUS_FAILED_TIMED_OUT = 0x02, ACI_BOND_STATUS_FAILED_PASSKEY_ENTRY_FAILED = 0x81, ACI_BOND_STATUS_FAILED_OOB_UNAVAILABLE = 0x82, ACI_BOND_STATUS_FAILED_AUTHENTICATION_REQ = 0x83, ACI_BOND_STATUS_FAILED_CONFIRM_VALUE = 0x84, ACI_BOND_STATUS_FAILED_PAIRING_UNSUPPORTED = 0x85, ACI_BOND_STATUS_FAILED_ENCRYPTION_KEY_SIZE = 0x86, ACI_BOND_STATUS_FAILED_SMP_CMD_UNSUPPORTED = 0x87, ACI_BOND_STATUS_FAILED_UNSPECIFIED_REASON = 0x88, ACI_BOND_STATUS_FAILED_REPEATED_ATTEMPTS = 0x89, ACI_BOND_STATUS_FAILED_INVALID_PARAMETERS = 0x8A, ACI_BOND_STATUS_SOURCE_INVALID = 0x00, ACI_BOND_STATUS_SOURCE_LOCAL = 0x01, ACI_BOND_STATUS_SOURCE_REMOTE = 0x02, ACI_STATUS_SUCCESS = 0x00, ACI_STATUS_TRANSACTION_CONTINUE = 0x01, ACI_STATUS_TRANSACTION_COMPLETE = 0x02, ACI_STATUS_EXTENDED = 0x03, ACI_STATUS_ERROR_UNKNOWN = 0x80, ACI_STATUS_ERROR_INTERNAL = 0x81, ACI_STATUS_ERROR_CMD_UNKNOWN = 0x82, ACI_STATUS_ERROR_DEVICE_STATE_INVALID = 0x83, ACI_STATUS_ERROR_INVALID_LENGTH = 0x84, ACI_STATUS_ERROR_INVALID_PARAMETER = 0x85, ACI_STATUS_ERROR_BUSY = 0x86, ACI_STATUS_ERROR_INVALID_DATA = 0x87, ACI_STATUS_ERROR_CRC_MISMATCH = 0x88, ACI_STATUS_ERROR_UNSUPPORTED_SETUP_FORMAT = 0x89, ACI_STATUS_ERROR_INVALID_SEQ_NO = 0x8A, ACI_STATUS_ERROR_SETUP_LOCKED = 0x8B, ACI_STATUS_ERROR_LOCK_FAILED = 0x8C, ACI_STATUS_ERROR_BOND_REQUIRED = 0x8D, ACI_STATUS_ERROR_REJECTED = 0x8E, ACI_STATUS_ERROR_DATA_SIZE = 0x8F, ACI_STATUS_ERROR_PIPE_INVALID = 0x90, ACI_STATUS_ERROR_CREDIT_NOT_AVAILABLE = 0x91, ACI_STATUS_ERROR_PEER_ATT_ERROR = 0x92, ACI_STATUS_ERROR_ADVT_TIMEOUT = 0x93, ACI_STATUS_ERROR_PEER_SMP_ERROR = 0x94, ACI_STATUS_ERROR_PIPE_TYPE_INVALID = 0x95, ACI_STATUS_ERROR_PIPE_STATE_INVALID = 0x96, ACI_STATUS_ERROR_INVALID_KEY_SIZE = 0x97, ACI_STATUS_ERROR_INVALID_KEY_DATA = 0x98, ACI_STATUS_RESERVED_START = 0xF0, ACI_STATUS_RESERVED_END = 0xFF, ACI_CMD_TEST = 0x01, ACI_CMD_ECHO = 0x02, ACI_CMD_DTM_CMD = 0x03, ACI_CMD_SLEEP = 0x04, ACI_CMD_WAKEUP = 0x05, ACI_CMD_SETUP = 0x06, ACI_CMD_READ_DYNAMIC_DATA = 0x07, ACI_CMD_WRITE_DYNAMIC_DATA = 0x08, ACI_CMD_GET_DEVICE_VERSION = 0x09, ACI_CMD_GET_DEVICE_ADDRESS = 0x0A, ACI_CMD_GET_BATTERY_LEVEL = 0x0B, ACI_CMD_GET_TEMPERATURE = 0x0C, ACI_CMD_SET_LOCAL_DATA = 0x0D, ACI_CMD_RADIO_RESET = 0x0E, ACI_CMD_CONNECT = 0x0F, ACI_CMD_BOND = 0x10, ACI_CMD_DISCONNECT = 0x11, ACI_CMD_SET_TX_POWER = 0x12, ACI_CMD_CHANGE_TIMING = 0x13, ACI_CMD_OPEN_REMOTE_PIPE = 0x14, ACI_CMD_SEND_DATA = 0x15, ACI_CMD_SEND_DATA_ACK = 0x16, ACI_CMD_REQUEST_DATA = 0x17, ACI_CMD_SEND_DATA_NACK = 0x18, ACI_CMD_SET_APP_LATENCY = 0x19, ACI_CMD_SET_KEY = 0x1A, ACI_CMD_OPEN_ADV_PIPE = 0x1B, ACI_CMD_BROADCAST = 0x1C, ACI_CMD_BOND_SECURITY_REQUEST = 0x1D, ACI_CMD_CONNECT_DIRECT = 0x1E, ACI_CMD_CLOSE_REMOTE_PIPE = 0x1F, ACI_CMD_INVALID = 0xFF, ACI_EVT_INVALID = 0x00, ACI_EVT_DEVICE_STARTED = 0x81, ACI_EVT_ECHO = 0x82, ACI_EVT_HW_ERROR = 0x83, ACI_EVT_CMD_RSP = 0x84, ACI_EVT_CONNECTED = 0x85, ACI_EVT_DISCONNECTED = 0x86, ACI_EVT_BOND_STATUS = 0x87, ACI_EVT_PIPE_STATUS = 0x88, ACI_EVT_TIMING = 0x89, ACI_EVT_DATA_CREDIT = 0x8A, ACI_EVT_DATA_ACK = 0x8B, ACI_EVT_DATA_RECEIVED = 0x8C, ACI_EVT_PIPE_ERROR = 0x8D, ACI_EVT_DISPLAY_PASSKEY = 0x8E, ACI_EVT_KEY_REQUEST = 0x8F } |
enum | _aci_packed_ { ACI_STORE_INVALID = 0x0, ACI_STORE_LOCAL = 0x01, ACI_STORE_REMOTE = 0x02, ACI_TX_BROADCAST = 0x0001, ACI_TX = 0x0002, ACI_TX_ACK = 0x0004, ACI_RX = 0x0008, ACI_RX_ACK = 0x0010, ACI_TX_REQ = 0x0020, ACI_RX_REQ = 0x0040, ACI_SET = 0x0080, ACI_TX_SIGN = 0x0100, ACI_RX_SIGN = 0x0200, ACI_RX_ACK_AUTO = 0x0400, ACI_BD_ADDR_TYPE_INVALID = 0x00, ACI_BD_ADDR_TYPE_PUBLIC = 0x01, ACI_BD_ADDR_TYPE_RANDOM_STATIC = 0x02, ACI_BD_ADDR_TYPE_RANDOM_PRIVATE_RESOLVABLE = 0x03, ACI_BD_ADDR_TYPE_RANDOM_PRIVATE_UNRESOLVABLE = 0x04, ACI_DEVICE_OUTPUT_POWER_MINUS_18DBM = 0x00, ACI_DEVICE_OUTPUT_POWER_MINUS_12DBM = 0x01, ACI_DEVICE_OUTPUT_POWER_MINUS_6DBM = 0x02, ACI_DEVICE_OUTPUT_POWER_0DBM = 0x03, ACI_DEVICE_INVALID =0x00, ACI_DEVICE_TEST =0x01, ACI_DEVICE_SETUP =0x02, ACI_DEVICE_STANDBY =0x03, ACI_DEVICE_SLEEP =0x04, ACI_REASON_TERMINATE =0x01, ACI_REASON_BAD_TIMING =0x02, ACI_TEST_MODE_DTM_UART = 0x01, ACI_TEST_MODE_DTM_ACI = 0x02, ACI_TEST_MODE_EXIT = 0xFF, ACI_PERMISSIONS_NONE =0x00, ACI_PERMISSIONS_LINK_AUTHENTICATED =0x01, ACI_HW_ERROR_NONE = 0x00, ACI_HW_ERROR_FATAL = 0x01, ACI_CLOCK_ACCURACY_500_PPM = 0x00, ACI_CLOCK_ACCURACY_250_PPM = 0x01, ACI_CLOCK_ACCURACY_150_PPM = 0x02, ACI_CLOCK_ACCURACY_100_PPM = 0x03, ACI_CLOCK_ACCURACY_75_PPM = 0x04, ACI_CLOCK_ACCURACY_50_PPM = 0x05, ACI_CLOCK_ACCURACY_30_PPM = 0x06, ACI_CLOCK_ACCURACY_20_PPM = 0x07, ACI_APP_LATENCY_DISABLE = 0, ACI_APP_LATENCY_ENABLE = 1, ACI_GATT_FORMAT_NONE = 0x00, ACI_GATT_FORMAT_BOOLEAN = 0x01, ACI_GATT_FORMAT_2BIT = 0x02, ACI_GATT_FORMAT_NIBBLE = 0x03, ACI_GATT_FORMAT_UINT8 = 0x04, ACI_GATT_FORMAT_UINT12 = 0x05, ACI_GATT_FORMAT_UINT16 = 0x06, ACI_GATT_FORMAT_UINT24 = 0x07, ACI_GATT_FORMAT_UINT32 = 0x08, ACI_GATT_FORMAT_UINT48 = 0x09, ACI_GATT_FORMAT_UINT64 = 0x0A, ACI_GATT_FORMAT_UINT128 = 0x0B, ACI_GATT_FORMAT_SINT8 = 0x0C, ACI_GATT_FORMAT_SINT12 = 0x0D, ACI_GATT_FORMAT_SINT16 = 0x0E, ACI_GATT_FORMAT_SINT24 = 0x0F, ACI_GATT_FORMAT_SINT32 = 0x10, ACI_GATT_FORMAT_SINT48 = 0x11, ACI_GATT_FORMAT_SINT64 = 0x12, ACI_GATT_FORMAT_SINT128 = 0x13, ACI_GATT_FORMAT_FLOAT32 = 0x14, ACI_GATT_FORMAT_FLOAT64 = 0x15, ACI_GATT_FORMAT_SFLOAT = 0x16, ACI_GATT_FORMAT_FLOAT = 0x17, ACI_GATT_FORMAT_DUINT16 = 0x18, ACI_GATT_FORMAT_UTF8S = 0x19, ACI_GATT_FORMAT_UTF16S = 0x1A, ACI_GATT_FORMAT_STRUCT = 0x1B, ACI_GATT_NAMESPACE_INVALID = 0x00, ACI_GATT_NAMESPACE_BTSIG = 0x01, ACI_KEY_TYPE_INVALID = 0x00, ACI_KEY_TYPE_PASSKEY = 0x01, ACI_BOND_STATUS_SUCCESS = 0x00, ACI_BOND_STATUS_FAILED = 0x01, ACI_BOND_STATUS_FAILED_TIMED_OUT = 0x02, ACI_BOND_STATUS_FAILED_PASSKEY_ENTRY_FAILED = 0x81, ACI_BOND_STATUS_FAILED_OOB_UNAVAILABLE = 0x82, ACI_BOND_STATUS_FAILED_AUTHENTICATION_REQ = 0x83, ACI_BOND_STATUS_FAILED_CONFIRM_VALUE = 0x84, ACI_BOND_STATUS_FAILED_PAIRING_UNSUPPORTED = 0x85, ACI_BOND_STATUS_FAILED_ENCRYPTION_KEY_SIZE = 0x86, ACI_BOND_STATUS_FAILED_SMP_CMD_UNSUPPORTED = 0x87, ACI_BOND_STATUS_FAILED_UNSPECIFIED_REASON = 0x88, ACI_BOND_STATUS_FAILED_REPEATED_ATTEMPTS = 0x89, ACI_BOND_STATUS_FAILED_INVALID_PARAMETERS = 0x8A, ACI_BOND_STATUS_SOURCE_INVALID = 0x00, ACI_BOND_STATUS_SOURCE_LOCAL = 0x01, ACI_BOND_STATUS_SOURCE_REMOTE = 0x02, ACI_STATUS_SUCCESS = 0x00, ACI_STATUS_TRANSACTION_CONTINUE = 0x01, ACI_STATUS_TRANSACTION_COMPLETE = 0x02, ACI_STATUS_EXTENDED = 0x03, ACI_STATUS_ERROR_UNKNOWN = 0x80, ACI_STATUS_ERROR_INTERNAL = 0x81, ACI_STATUS_ERROR_CMD_UNKNOWN = 0x82, ACI_STATUS_ERROR_DEVICE_STATE_INVALID = 0x83, ACI_STATUS_ERROR_INVALID_LENGTH = 0x84, ACI_STATUS_ERROR_INVALID_PARAMETER = 0x85, ACI_STATUS_ERROR_BUSY = 0x86, ACI_STATUS_ERROR_INVALID_DATA = 0x87, ACI_STATUS_ERROR_CRC_MISMATCH = 0x88, ACI_STATUS_ERROR_UNSUPPORTED_SETUP_FORMAT = 0x89, ACI_STATUS_ERROR_INVALID_SEQ_NO = 0x8A, ACI_STATUS_ERROR_SETUP_LOCKED = 0x8B, ACI_STATUS_ERROR_LOCK_FAILED = 0x8C, ACI_STATUS_ERROR_BOND_REQUIRED = 0x8D, ACI_STATUS_ERROR_REJECTED = 0x8E, ACI_STATUS_ERROR_DATA_SIZE = 0x8F, ACI_STATUS_ERROR_PIPE_INVALID = 0x90, ACI_STATUS_ERROR_CREDIT_NOT_AVAILABLE = 0x91, ACI_STATUS_ERROR_PEER_ATT_ERROR = 0x92, ACI_STATUS_ERROR_ADVT_TIMEOUT = 0x93, ACI_STATUS_ERROR_PEER_SMP_ERROR = 0x94, ACI_STATUS_ERROR_PIPE_TYPE_INVALID = 0x95, ACI_STATUS_ERROR_PIPE_STATE_INVALID = 0x96, ACI_STATUS_ERROR_INVALID_KEY_SIZE = 0x97, ACI_STATUS_ERROR_INVALID_KEY_DATA = 0x98, ACI_STATUS_RESERVED_START = 0xF0, ACI_STATUS_RESERVED_END = 0xFF, ACI_CMD_TEST = 0x01, ACI_CMD_ECHO = 0x02, ACI_CMD_DTM_CMD = 0x03, ACI_CMD_SLEEP = 0x04, ACI_CMD_WAKEUP = 0x05, ACI_CMD_SETUP = 0x06, ACI_CMD_READ_DYNAMIC_DATA = 0x07, ACI_CMD_WRITE_DYNAMIC_DATA = 0x08, ACI_CMD_GET_DEVICE_VERSION = 0x09, ACI_CMD_GET_DEVICE_ADDRESS = 0x0A, ACI_CMD_GET_BATTERY_LEVEL = 0x0B, ACI_CMD_GET_TEMPERATURE = 0x0C, ACI_CMD_SET_LOCAL_DATA = 0x0D, ACI_CMD_RADIO_RESET = 0x0E, ACI_CMD_CONNECT = 0x0F, ACI_CMD_BOND = 0x10, ACI_CMD_DISCONNECT = 0x11, ACI_CMD_SET_TX_POWER = 0x12, ACI_CMD_CHANGE_TIMING = 0x13, ACI_CMD_OPEN_REMOTE_PIPE = 0x14, ACI_CMD_SEND_DATA = 0x15, ACI_CMD_SEND_DATA_ACK = 0x16, ACI_CMD_REQUEST_DATA = 0x17, ACI_CMD_SEND_DATA_NACK = 0x18, ACI_CMD_SET_APP_LATENCY = 0x19, ACI_CMD_SET_KEY = 0x1A, ACI_CMD_OPEN_ADV_PIPE = 0x1B, ACI_CMD_BROADCAST = 0x1C, ACI_CMD_BOND_SECURITY_REQUEST = 0x1D, ACI_CMD_CONNECT_DIRECT = 0x1E, ACI_CMD_CLOSE_REMOTE_PIPE = 0x1F, ACI_CMD_INVALID = 0xFF, ACI_EVT_INVALID = 0x00, ACI_EVT_DEVICE_STARTED = 0x81, ACI_EVT_ECHO = 0x82, ACI_EVT_HW_ERROR = 0x83, ACI_EVT_CMD_RSP = 0x84, ACI_EVT_CONNECTED = 0x85, ACI_EVT_DISCONNECTED = 0x86, ACI_EVT_BOND_STATUS = 0x87, ACI_EVT_PIPE_STATUS = 0x88, ACI_EVT_TIMING = 0x89, ACI_EVT_DATA_CREDIT = 0x8A, ACI_EVT_DATA_ACK = 0x8B, ACI_EVT_DATA_RECEIVED = 0x8C, ACI_EVT_PIPE_ERROR = 0x8D, ACI_EVT_DISPLAY_PASSKEY = 0x8E, ACI_EVT_KEY_REQUEST = 0x8F } |
Functions | |
ACI_ASSERT_SIZE (aci_pipe_type_t, 2) | |
ACI_ASSERT_SIZE (aci_test_mode_change_t, 1) | |
ACI_ASSERT_SIZE (aci_tx_data_t, ACI_PIPE_TX_DATA_MAX_LEN+1) | |
ACI_ASSERT_SIZE (aci_rx_data_t, ACI_PIPE_RX_DATA_MAX_LEN+1) | |
ACI_ASSERT_SIZE (aci_bond_status_code_t, 1) | |
ACI_ASSERT_SIZE (aci_status_code_t, 1) | |
Flow control from application mcu to nRF8001
Data flow control: The flow control is credit based and the credit is initally given using the "device started" event. A credit of more than 1 is given to the application mcu. These credits are used only after the "ACI Connected Event" is sent to the application mcu.
every send_data that is used decrements the credit available by 1. This is to be tracked by the application mcu. When the credit available reaches 0, the application mcu shall not send any more send_data. Credit is returned using the "credit event", this returned credit can then be used to send more send_data. This flow control is not necessary and not available for Broadcast. The entire credit available with the external mcu expires when a "disconnected" event arrives.
Command flow control: When a command is sent over the ACI, the next command shall not be sent until after a response for the command sent has arrived.
#define _aci_packed_ |
Define an aci_packed macro we can use in structure and enumerated type declarations so that the types are sized consistently across different platforms. In particular Arduino platforms using the GCC compiler and the Nordic processors using the Keil compiler.
It's really the GNU compiler platforms that need a special keyword to get tight packing of values. On GNU platforms we can use the keyword: attribute((packed)) The thing is that while this keyword does the right thing with old and new versions of the gcc (C) compiler it only works right with g++ (C++) compiler versions that are version 4 or newer.
enum _aci_packed_ |
enum _aci_packed_ |
enum _aci_packed_ |
enum _aci_packed_ |
enum _aci_packed_ |
enum _aci_packed_ |
enum _aci_packed_ |
enum _aci_packed_ |
enum _aci_packed_ |
enum _aci_packed_ |
enum _aci_packed_ |
enum _aci_packed_ |
enum _aci_packed_ |
enum _aci_packed_ |
enum _aci_packed_ |
enum _aci_packed_ |
enum _aci_packed_ |