text
stringlengths
1
9.98k
__index_level_0__
int64
0
4.17k
/* */ #ifndef __ESP_BT_MAIN_H__ #define __ESP_BT_MAIN_H__ #include #include #include "esp_err.h" #ifdef __cplusplus extern "C" { #endif /** */ typedef enum { ESP_BLUEDROID_STATUS_UNINITIALIZED = 0, /*!< Bluetooth not initialized */ ESP_BLUEDROID_STATUS_INITIALIZED, /*!< Bluetoot...
3,063
/* */ #ifndef __ESP_HF_DEFS_H__ #define __ESP_HF_DEFS_H__ #include "esp_bt_defs.h" #ifdef __cplusplus extern "C" { #endif /// in-band ring tone state typedef enum { ESP_HF_IN_BAND_RINGTONE_NOT_PROVIDED = 0, ESP_HF_IN_BAND_RINGTONE_PROVIDED, } esp_hf_in_band_ring_state_t; /// voice recognition state typede...
3,064
< acknowledges execution of a command line */ ESP_HF_AT_RESPONSE_CODE_ERR, /*!< command not accepted */ ESP_HF_AT_RESPONSE_CODE_NO_CARRIER, /*!< connection terminated */ ESP_HF_AT_RESPONSE_CODE_BUSY, /*!< busy signal detected */ ESP_HF_AT_RESPONSE_CODE_NO_ANSWER, /*!< conne...
3,064
< operation not supported */ ESP_HF_CME_PH_SIM_PIN_REQUIRED = 5, /*!< PH-SIM PIN Required */ ESP_HF_CME_SIM_NOT_INSERTED = 10, /*!< SIM not inserted */ ESP_HF_CME_SIM_PIN_REQUIRED = 11, /*!< SIM PIN required */ ESP_HF_CME_SIM_PUK_REQUIRED = 12, /*!< SIM PUK ...
3,064
< invalid characters in text string */ ESP_HF_CME_DIAL_STRING_TOO_LONG = 26, /*!< dial string too long*/ ESP_HF_CME_INVALID_CHARACTERS_IN_DIAL_STRING = 27, /*!< invalid characters in dial string */ ESP_HF_CME_NO_NETWORK_SERVICE = 30, /*!< no network service */ ESP_HF_CME_NETWORK_TIMEO...
3,064
/* */ #ifndef __ESP_BT_DEVICE_H__ #define __ESP_BT_DEVICE_H__ #include #include #include "esp_err.h" #include "esp_bt_defs.h" #ifdef __cplusplus extern "C" { #endif // coexist status for MESH #define ESP_BT_DEV_COEX_BLE_ST_MESH_CONFIG 0x08 #define ESP_BT_DEV_COEX_BLE_ST_MESH_TRAFFIC 0x10 #define ESP...
3,065
< Device name result event */ ESP_BT_DEV_VENDOR_CMD_COMPLETE_EVT, /*!< When vendor hci command complete, the event comes */ ESP_BT_DEV_EVT_MAX, } esp_bt_dev_cb_event_t; /// BT device callback parameters typedef union { /** */ struct name_res_param { esp_bt_status_t status; ...
3,065
/* */ #ifndef __ESP_GATT_COMMON_API_H__ #define __ESP_GATT_COMMON_API_H__ #include #include #include "esp_err.h" #include "esp_bt_defs.h" #ifdef __cplusplus extern "C" { #endif // Maximum Transmission Unit used in GATT #define ESP_GATT_DEF_BLE_MTU_SIZE 23 /* relate to GATT_DEF_BLE_MTU_SIZE in stack/gatt_api...
3,066
/* */ #ifndef __ESP_GATTC_API_H__ #define __ESP_GATTC_API_H__ #include "esp_bt_defs.h" #include "esp_gatt_defs.h" #include "esp_err.h" #ifdef __cplusplus extern "C" { #endif /// GATT Client callback function events typedef enum { ESP_GATTC_REG_EVT = 0, /*!< When GATT client is registered...
3,067
< When GATT service discovery result is got, the event comes */ ESP_GATTC_READ_DESCR_EVT = 8, /*!< When GATT characteristic descriptor read completes, the event comes */ ESP_GATTC_WRITE_DESCR_EVT = 9, /*!< When GATT characteristic descriptor write completes, the event comes */ ...
3,067
< When encryption procedure completes, the event comes */ ESP_GATTC_CFG_MTU_EVT = 18, /*!< When configuration of MTU completes, the event comes */ ESP_GATTC_ADV_DATA_EVT = 19, /*!< When advertising of data, the event comes */ ESP_GATTC_MULT_ADV_ENB_EVT = 20, /...
3,067
< When Batch scan read event is reported, the event comes */ ESP_GATTC_BTH_SCAN_THR_EVT = 28, /*!< When Batch scan threshold is set, the event comes */ ESP_GATTC_BTH_SCAN_PARAM_EVT = 29, /*!< When Batch scan parameters are set, the event comes */ ESP_GATTC_BTH_SCAN_DIS_EVT = 3...
3,067
< When unregister for notification of a service completes, the event comes */ ESP_GATTC_CONNECT_EVT = 40, /*!< When the ble physical connection is set up, the event comes */ ESP_GATTC_DISCONNECT_EVT = 41, /*!< When the ble physical connection disconnected, the event comes */ ...
3,067
< Operation status */ uint16_t app_id; /*!< Application id which input in register API */ } reg; /*!< Gatt client callback param of ESP_GATTC_REG_EVT */ /** */ struct gattc_open_evt_param { esp_gatt_status_t status; /*!< Operation statu...
3,067
< Gatt client callback param of ESP_GATTC_CLOSE_EVT */ /** */ struct gattc_cfg_mtu_evt_param { esp_gatt_status_t status; /*!< Operation status */ uint16_t conn_id; /*!< Connection id */ uint16_t mtu; /*!< MTU size */ } cfg_mtu; ...
3,067
< Service end handle */ esp_gatt_id_t srvc_id; /*!< Service id, include service uuid and other information */ bool is_primary; /*!< True if this is the primary service */ } search_res; /*!< Gatt client callback param of ESP_GATTC_SEARCH_RES_EVT */ /...
3,067
< The Characteristic or descriptor handle */ uint16_t offset; /*!< The prepare write offset, this value is valid only when prepare write */ } write; /*!< Gatt client callback param of ESP_GATTC_WRITE_DESCR_EVT */ /** */ struct gattc_exec_cmpl_evt_param...
3,067
< True means notify, false means indicate */ } notify; /*!< Gatt client callback param of ESP_GATTC_NOTIFY_EVT */ /** */ struct gattc_srvc_chg_evt_param { esp_bd_addr_t remote_bda; /*!< Remote bluetooth device address */ } srvc_chg; /*!<...
3,067
< Operation status */ uint16_t handle; /*!< The characteristic or descriptor handle */ } unreg_for_notify; /*!< Gatt client callback param of ESP_GATTC_UNREG_FOR_NOTIFY_EVT */ /** */ struct gattc_connect_evt_param { uint16_t conn_id; /*!< Co...
3,067
< Connection id */ esp_bd_addr_t remote_bda; /*!< Remote bluetooth device address */ } disconnect; /*!< Gatt client callback param of ESP_GATTC_DISCONNECT_EVT */ /** */ struct gattc_set_assoc_addr_cmp_evt_param { esp_gatt_status_t status; /*!< Operation ...
3,067
< Connection id */ bool is_full; /*!< The gattc command queue is full or not */ } queue_full; /*!< Gatt client callback param of ESP_GATTC_QUEUE_FULL_EVT */ /** */ struct gattc_dis_srvc_cmpl_evt_param { esp_gatt_status_t status; /*!< Operation...
3,067
/* */ #ifndef __ESP_HIDH_API_H__ #define __ESP_HIDH_API_H__ #include "esp_bt_defs.h" #include "esp_err.h" #ifdef __cplusplus extern "C" { #endif /// maximum size of HID Device report descriptor #define BTHH_MAX_DSC_LEN 884 /** */ typedef enum { ESP_HIDH_CONN_STATE_CONNECTED = 0, /*!< connected stat...
3,068
< handshake error: parameter value does not meet the expected criteria of called function or API */ ESP_HIDH_HS_ERROR, /*!< handshake error: HID device could not identify the error condition */ ESP_HIDH_ERR, /*!< general ESP HID Host error */ ESP_HIDH_ERR_SDP, /*!< SDP error...
3,068
*/ ESP_HIDH_NEED_INIT, /*!< vendor-defined: HIDH module shall initialize first */ ESP_HIDH_NEED_DEINIT, /*!< vendor-defined: HIDH module shall de-deinitialize first */ ESP_HIDH_NO_CONNECTION, /*!< vendor-defined: connection may have been closed */ } esp_hidh_status_t; /** */ typedef enu...
3,068
< when HID host connection opened, the event comes */ ESP_HIDH_CLOSE_EVT, /*!< when HID host connection closed, the event comes */ ESP_HIDH_GET_RPT_EVT, /*!< when Get_Report command is called, the event comes */ ESP_HIDH_SET_RPT_EVT, /*!< when Set_Report command is called, the event comes */ ESP...
3,068
< when send data on interrupt channel, the event comes */ ESP_HIDH_DATA_IND_EVT, /*!< when receive data on interrupt channel, the event comes */ ESP_HIDH_SET_INFO_EVT /*!< when set the HID device descriptor, the event comes */ } esp_hidh_cb_event_t; /** */ typedef enum { ESP_HIDH_DEV_ATTR_VIRTUAL_CABLE...
3,068
< gamepad*/ } esp_hidh_dev_app_id_t; /** */ typedef struct { int attr_mask; /*!< device attribute bit mask, refer to esp_hidh_dev_attr_t */ uint8_t sub_class; /*!< HID device subclass */ uint8_t app_id; /*!< application ID, refer ...
3,068
< status */ } init; /*!< HIDH callback param of ESP_HIDH_INIT_EVT */ /** */ struct hidh_uninit_evt_param { esp_hidh_status_t status; /*!< status */ } deinit; /*!< HIDH callback param of ESP_HIDH_DEINIT_EVT */ /** */ struct hidh_open_e...
3,068
< lower layer failed reason(ref hiddefs.h) */ esp_hidh_connection_state_t conn_status; /*!< connection status */ uint8_t handle; /*!< device handle */ } close; /*!< HIDH callback param of ESP_HIDH_CLOSE_EVT */ ...
3,068
< HIDH callback param of ESP_HIDH_GET_PROTO_EVT */ /** */ struct hidh_set_proto_evt_param { esp_hidh_status_t status; /*!< operation status */ uint8_t handle; /*!< device handle */ } set_proto; /*!< HIDH callback param of ESP_HIDH_SET_PROTO...
3,068
< operation status */ uint8_t handle; /*!< device handle */ uint8_t reason; /*!< lower layer failed reason(ref hiddefs.h) */ } send_data; /*!< HIDH callback param of ESP_HIDH_DATA_EVT */ /** */ struct hidh_get_idle_evt_param...
3,068
< device handle */ esp_hidh_protocol_mode_t proto_mode; /*!< protocol mode */ uint16_t len; /*!< data length */ uint8_t *data; /*!< data pointer */ } data_ind; /*!< HIDH c...
3,068
< operation status */ uint8_t handle; /*!< device handle */ bool added; /*!< Indicate if added */ uint16_t vendor_id; /*!< Vendor ID */ uint16_t product_id; /*!< Product ID */ uint16_t version; /*!< Version */ ...
3,068
< HIDH callback param of ESP_HIDH_SET_INFO_EVT */ } esp_hidh_cb_param_t; /** */ typedef void (*esp_hh_cb_t)(esp_hidh_cb_event_t event, esp_hidh_cb_param_t *param); /** */ esp_err_t esp_bt_hid_host_register_callback(esp_hh_cb_t callback); /** */ esp_err_t esp_bt_hid_host_init(void); /** */ esp_err_t esp_bt_hid_h...
3,068
/* */ #ifndef __ESP_BLUEDROID_HCI_H__ #define __ESP_BLUEDROID_HCI_H__ #include #include "esp_err.h" #ifdef __cplusplus extern "C" { #endif /* HCI driver callbacks */ typedef struct esp_bluedroid_hci_driver_callbacks { /** */ void (*notify_host_send_available)(void); /** */ int (*notify_...
3,069
/* */ #ifndef __ESP_GAP_BT_API_H__ #define __ESP_GAP_BT_API_H__ #include #include "esp_err.h" #include "esp_bt_defs.h" #ifdef __cplusplus extern "C" { #endif /// RSSI threshold #define ESP_BT_GAP_RSSI_HIGH_THRLD -20 /*!> ESP_BT_COD_SRVC_BIT_OFFSET; } /** */ static inline uint32_t esp_bt_gap_get_cod...
3,070
unit is 0.625ms esp_err_t esp_bt_gap_set_qos(esp_bd_addr_t remote_bda, uint32_t t_poll); /** Base-band page response from the remote device at a locally initiated connection attempt. The valid range is 0x0016 ~ 0xffff, the default ...
3,070
/ #ifndef _BDADDR_H_ #define _BDADDR_H_ #include #include #include "common/bt_defs.h" #include "osi/hash_map.h" // Note: the string representation of a bdaddr is expected to have the format // xx:xx:xx:xx:xx:xx // where each 'x' is a hex digit. The API presented in this header will accept // both uppercase and lo...
3,071
On success, this // function returns |string|, otherwise it returns NULL. Neither |addr| nor |string| // may be NULL. const char *bdaddr_to_string(const bt_bdaddr_t *addr, char *string, size_t size); // Returns true if |string| represents a Bluetooth address. |string| may not be NULL. bool string_is_bdaddr(const char...
3,071
/ #ifndef _EVENT_MASK_H_ #define _EVENT_MASK_H_ #include // Represents a mask which can be used to tell the controller which // HCI events the stack wishes to be informed about. See the bluetooth // spec for more information on what each bit means. typedef struct { uint8_t as_array[8]; } bt_event_mask_t; #endif...
3,072
/ #ifndef _VERSION_H_ #define _VERSION_H_ #include typedef struct { uint8_t hci_version; uint16_t hci_revision; uint8_t lmp_version; uint16_t manufacturer; uint16_t lmp_subversion; } bt_version_t; #endif /*_VERSION_H_*/
3,073
/ #ifndef _INTEROP_DATABASE_H_ #define _INTEROP_DATABASE_H_ #include "device/interop.h" typedef struct { bt_bdaddr_t addr; uint8_t len; interop_feature_t feature; } interop_entry_t; static const interop_entry_t interop_database[] = { // Nexus Remote (Spike) // Note: May affect other Asus brand d...
3,074
/ #ifndef _INTEROP_H_ #define _INTEROP_H_ #include #include "common/bt_defs.h" #include "common/bt_target.h" typedef enum { // Disable secure connections // This is for pre BT 4.1/2 devices that do not handle secure mode // very well. INTEROP_DISABLE_LE_SECURE_CONNECTIONS, // Some devices have ...
3,075
/ #ifndef _DEVICE_FEATURES_H_ #define _DEVICE_FEATURES_H_ #include // Represents a page of device feature enabled/disabled bits returned // by the local controller. See the bluetooth spec for bit indexes. typedef struct { uint8_t as_array[8]; } bt_device_features_t; #endif /*_DEVICE_FEATURES_H_*/
3,076
/ #ifndef _CONTROLLER_H_ #define _CONTROLLER_H_ #include #include #include "common/bt_target.h" #include "device/bdaddr.h" #include "device/device_features.h" #include "hci/hci_layer.h" #include "hci/hci_packet_factory.h" #include "hci/hci_packet_parser.h" typedef struct controller_t { void (*start_up)(void);...
3,077
uint16_t (*get_acl_data_size_classic)(void); uint16_t (*get_acl_data_size_ble)(void); // Get the cached acl packet sizes for the controller. // This is a convenience function for the respective // acl data size + size of the acl header. uint16_t (*get_acl_packet_size_classic)(void); uint16...
3,077
/* */ #ifndef _SBC_PLC_H #define _SBC_PLC_H #include #if defined __cplusplus extern "C" { #endif /* Paramter for PLC (16 kHZ)*/ #define SBC_FS 120 /* SBC Frame Size */ #define SBC_N 256 /* 16ms - Window Length for pattern matching */ #define SBC_M ...
3,078
/ / #ifndef SBC_ENCODER_H #define SBC_ENCODER_H #define ENCODER_VERSION "0025" #ifdef BUILDCFG #include "common/bt_target.h" #endif /*DEFINES*/ #ifndef FALSE #define FALSE 0 #endif #ifndef TRUE #define TRUE (!FALSE) #endif #define SBC_MAX_NUM_OF_SUBBANDS 8 #define SBC_MAX_NUM_OF_CHANNELS 2 #define SBC_MAX_NUM_OF...
3,079
*/ #ifndef SBC_IS_64_MULT_IN_WINDOW_ACCU #define SBC_IS_64_MULT_IN_WINDOW_ACCU FALSE #endif /*SBC_IS_64_MULT_IN_WINDOW_ACCU */ /* Set SBC_IS_64_MULT_IN_IDCT to TRUE to use 64 bits multiplication in the DCT of Matrixing */ /* -> more MIPS required for a better audio quality. comparasion with the SIG utilities shows ...
3,079
h" typedef struct SBC_ENC_PARAMS_TAG { SINT16 s16SamplingFreq; /* 16k, 32k, 44.1k or 48k*/ SINT16 s16ChannelMode; /* mono, dual, streo or joint streo*/ SINT16 s16NumOfSubBands; /* 4 or 8 */ SINT16 s16NumOfChannels; SINT16 s16Nu...
3,079
/ #ifndef _SBC_IF_H #define _SBC_IF_H #define PCM_BUFFER_SIZE 512 /* SBC_Init - called once for each track played pcm_sample_freq - 4000 to 48000 channels - 1 mono 2 stereo bits_per_sample - 8 or 16 return - 0 sucess */ int SBC_init(int pcm_sample_freq, int channels, int bits_per_sample); /* SBC_write - cal...
3,080
/ / #ifndef SBC_DCT_H #define SBC_DCT_H #if (SBC_ARM_ASM_OPT==TRUE) #define SBC_MULT_32_16_SIMPLIFIED(s16In2, s32In1, s32OutLow) \ { \ __asm \ { ...
3,081
/ / #ifndef SBC_FUNCDECLARE_H #define SBC_FUNCDECLARE_H /*#include "sbc_encoder.h"*/ /* Global data */ #if (SBC_IS_64_MULT_IN_WINDOW_ACCU == FALSE) extern const SINT16 gas32CoeffFor4SBs[]; extern const SINT16 gas32CoeffFor8SBs[]; #else extern const SINT32 gas32CoeffFor4SBs[]; extern const SINT32 gas32CoeffFor8SBs[];...
3,082
/ / #ifndef SBC_TYPES_H #define SBC_TYPES_H #include #ifdef BUILDCFG #include "common/bt_target.h" #endif #include "stack/bt_types.h" typedef short SINT16; typedef long SINT32; #if (SBC_IPAQ_OPT == TRUE) #if (SBC_FOR_EMBEDDED_LINUX == TRUE) typedef long long SINT64; #else typedef int64_t SINT64; #endif #elif ...
3,083
/ #ifndef _OI_TIME_H #define _OI_TIME_H /** @file / $Revision: #1 $ / #include "oi_stddefs.h" /** \addtogroup Misc Miscellaneous APIs */ /**@{*/ #ifdef __cplusplus extern "C" { #endif /** */ typedef OI_UINT16 OI_INTERVAL; #define OI_INTERVALS_PER_SECOND 10 #define MSECS_PER_OI_INTERVAL (1000 / OI_...
3,084
h" // #endif /* _OI_TIME_H */
3,084
/ #ifndef _OI_BITSTREAM_H #define _OI_BITSTREAM_H / $Revision: #1 $ / /** @file Function prototypes and macro definitions for manipulating input and output bitstreams. @ingroup codec_internal */ /** @addtogroup codec_internal @{ */ #include "oi_codec_sbc_private.h" #include "oi_stddefs.h" INLINE void OI_BITSTR...
3,085
When */ #define OI_BITSTREAM_GetWritePtr(bs) ((bs)->ptr.w - 3) #define OI_BITSTREAM_GetReadPtr(bs) ((bs)->ptr.r - 3) /** This is declared here as a macro because decoder.c breaks the bitsream */ #define OI_BITSTREAM_READUINT(result, bits, ptr, value, bitPtr) \ do { \ OI_ASSERT((bits) = 8); \ \ result = ...
3,085
/ #ifndef _OI_OSINTERFACE_H #define _OI_OSINTERFACE_H /** @file / $Revision: #1 $ / #include "oi_stddefs.h" #include "oi_time.h" #include "oi_status.h" #include "oi_modules.h" /** \addtogroup Misc Miscellaneous APIs */ /**@{*/ #ifdef __cplusplus extern "C" { #endif /** */ void OI_FatalError(OI_STATUS reason);...
3,086
/ / $Revision: #1 $ / #ifndef _OI_CODEC_SBC_CORE_H #define _OI_CODEC_SBC_CORE_H #ifdef __cplusplus extern "C" { #endif /** @file Declarations of codec functions, data types, and macros. @ingroup codec_lib */ /** @addtogroup codec_lib @{ */ /* Non-BM3 users of of the codec must include oi_codec_sbc_bm3defs.h pr...
3,087
One possible value for the @a frequency parameter of OI_CODEC_SBC_EncoderConfigure() */ #define SBC_FREQ_32000 1 /**< The sampling frequency is 32 kHz. One possible value for the @a frequency parameter of OI_CODEC_SBC_EncoderConfigure() */ #define SBC_FREQ_44100 2 /**< The sampling frequency is 44.1 kHz. One possible ...
3,087
One possible value for the @a mode parameter of OI_CODEC_SBC_EncoderConfigure() */ /**@}*/ /**@name Subbands */ /**@{*/ #define SBC_SUBBANDS_4 0 /**< The encoded stream has 4 subbands. One possible value for the @a subbands parameter of OI_CODEC_SBC_EncoderConfigure()*/ #define SBC_SUBBANDS_8 1 /**< The encoded str...
3,087
One possible value for the @a blocks parameter of OI_CODEC_SBC_EncoderConfigure() */ /**@}*/ /**@name Bit allocation methods */ /**@{*/ #define SBC_LOUDNESS 0 /**< The bit allocation method. One possible value for the @a loudness parameter of OI_CODEC_SBC_EncoderConfigure() */ #define SBC_SNR 1 /**< The bi...
3,087
*/ OI_UINT8 alloc; /**< The bit allocation method. Input parameter. */ OI_UINT8 bitpool; /**< Size of the bit allocation pool used to encode the stream. Input parameter. */ OI_UINT8 crc; /**< Parity check byte used for error detection. */ OI_UINT8 join; /**< Whether jo...
3,087
*/ typedef struct { OI_CODEC_SBC_COMMON_CONTEXT common; OI_UINT8 limitFrameFormat; /* Boolean, set by OI_CODEC_SBC_DecoderLimit() */ OI_UINT8 restrictSubbands; OI_UINT8 enhancedEnabled; OI_UINT8 bufferedBlocks; OI_UINT8 sbc_mode; /* OI_SBC_MODE_STD or OI_SBC_MO...
3,087
@param frame The frame whose length to calculate @return the length of an individual encoded frame in bytes */ OI_UINT16 OI_CODEC_SBC_CalculateFramelen(OI_CODEC_SBC_FRAME_INFO *frame); /** */ OI_UINT16 OI_CODEC_SBC_CalculateBitpool(OI_CODEC_SBC_FRAME_INFO *frame, OI...
3,087
/ #ifndef _OI_STATUS_H #define _OI_STATUS_H /** */ #include "oi_stddefs.h" /** \addtogroup Misc Miscellaneous APIs */ /**@{*/ #ifdef __cplusplus extern "C" { #endif /** test it **/ /** */ typedef enum { OI_STATUS_SUCCESS = 0, /**< function call succeeded alias for #OI_OK */ OI_OK...
3,088
*/ OI_STATUS_INVALID_COMMAND = 117, /**< The command was invalid. */ OI_BUSY_FAIL = 118, /**< command rejected due to busy */ OI_STATUS_ALREADY_REGISTERED = 119, /**< The registration has already been performed. */ OI_STATUS_NOT_FOUND ...
3,088
This is used for embedded platforms. */ OI_STATUS_RESET_IN_PROGRESS = 129, /**< Request failed/rejected because we're busy resetting. */ OI_STATUS_ACCESS_DENIED = 130, /**< Generic access denied error. */ OI_STATUS_DATA_ERROR = 131, /**< Generic data error. */ ...
3,088
*/ OI_STATUS_MTU_EXCEEDED = 142, /**< The packet is too big */ OI_STATUS_LINK_TERMINATED = 143, /**< The link was terminated */ OI_STATUS_PIN_CODE_TOO_LONG = 144, /**< Application gave us a pin code that is too long */ OI_STATUS_STILL_REGISTERED = 145...
3,088
1 HCI spec does not allow SSP mode to be disabled */ OI_SECMGR_INVALID_SEC_LEVEL = 1418, /**< SECMGR: security level for a service is not a valid value */ OI_SECMGR_INSUFFICIENT_LINK_KEY = 1419, /**< SECMGR: link key type is not sufficient to meet service requirements */ OI_SECMGR_INVALID_...
3,088
*/ OI_OBEX_NOT_FOUND = 1724, /**< OBEX: Maps to obex response of same name */ OI_OBEX_ACCESS_DENIED = 1735, /**< OBEX: Object could not be read or written. */ OI_OBEX_VALUE_NOT_ACCEPTABLE = 1736, /**< OBEX: Value in a command was not in the acceptable range. ...
3,088
*/ OI_OBEX_INVALID_AUTH_DIGEST = 1744, /**< OBEX: An authentication digest was bad. */ OI_OBEX_INVALID_OPERATION = 1745, /**< OBEX: Operation not allowed at this time. */ OI_OBEX_DATABASE_FULL = 1746, /**< OBEX: Sync database full. */ OI_OBEX_DATABASE_LOCKED ...
3,088
*/ OI_HANDSFREE_EVENT_REPORTING_DISABLED = 1801, /**< HANDSFREE: Event reporting disabled */ OI_HANDSFREE_NOT_CONNECTED = 1802, /**< HANDSFREE: Not connected */ OI_HANDSFREE_SERVICE_NOT_STARTED = 1803, /**< HANDSFREE: Cannot connect to handsfree AG if handsfree service not started */ ...
3,088
*/ OI_BNEP_SERVICE_NOT_REGISTERED = 2003, /**< BNEP: The requested service was not found. */ OI_BNEP_INVALID_HANDLE = 2004, /**< BNEP: The specified connection handle is not valid. */ OI_BNEP_RESPONSE_TIMEOUT = 2005, /**< BNEP: The timer for ...
3,088
Next call will provide audio without consuming input data. */ OI_FIFOQ_QUEUE_NOT_ALIGNED = 2401, /**< FIFOQ: queue must be 32-bit aligned */ OI_FIFOQ_INVALID_Q = 2402, /**< FIFOQ: queue parameter is not a valid queue */ OI_FIFOQ_BUF_TOO_LARGE = 2403, /**< FI...
3,088
*/ OI_BLST_ACKNOWLDGE_TIMEOUT = 2802, /**< BLST: Timeout expired while waiting for event acknowledgment from the client */ OI_BLST_TX_NOT_READY = 2803, /**< BLST: BLST is not ready to send a BHAPI message to the client. */ OI_BLST_TX_BUSY = 2804, /**< BL...
3,088
*/ OI_UNICODE_INVALID_SOURCE = 3200, /**< Unicode Conversion: Source string has invalid character encoding. */ OI_UNICODE_SOURCE_EXHAUSTED = 3201, /**< Unicode Conversion: Incomplete Unicode character at end of source buffer. */ OI_UNICODE_DESTINATION_EXHAUSTED = 3202, /**< U...
3,088
*/ OI_AVRCP_RESPONSE_INVALID_PDU = 3305, /**< AVRCP: Command rejected: target received a PDU that it did not understand. */ OI_AVRCP_RESPONSE_INVALID_PARAMETER = 3306, /**< AVRCP: Command rejected: target received a PDU with a parameter ID that it did not understand. */ OI_AVRCP_RESPONSE_PARAME...
3,088
(Only to be used for special cases involving OI_SLOG_ERROR() and OI_SLOG_WARNING().) */ } OI_STATUS; /* Remeber to update the #define below when new reserved blocks are added to #define OI_NUM_RESERVED_STATUS_BLOCKS 4 /**< Number of status code blocks reserved, including user apps */ /** */ #define OI_SUCCESS(x)...
3,088
/ #ifndef _OI_CODEC_SBC_PRIVATE_H #define _OI_CODEC_SBC_PRIVATE_H / $Revision: #1 $ / /** @file Function prototypes and macro definitions used internally by the codec. @ingroup codec_internal */ /** @addtogroup codec_internal @{ */ #ifdef USE_RESTRICT_KEYWORD #define RESTRICT restrict #else #define RESTRICT #end...
3,089
*/ typedef struct { union { const OI_UINT8 *r; OI_UINT8 *w; } ptr; OI_UINT32 value; OI_UINT bitPtr; } OI_BITSTREAM; #define VALID_INT16(x) (((x) >= OI_INT16_MIN) && ((x) = OI_INT32_MIN) && ((x) <= OI_INT32_MAX)) #define DCTII_8_SHIFT_IN 0 #define DCTII_8_SHIFT_OUT 16-DCTII_8_SHIFT_IN...
3,089
/ #ifndef _OI_CPU_DEP_H #define _OI_CPU_DEP_H /** */ / $Revision: #1 $ / #ifdef __cplusplus extern "C" { #endif /** \addtogroup Misc Miscellaneous APIs */ /**@{*/ /** @name Definitions indicating family of target OI_CPU_TYPE */ #define OI_CPU_X86 1 /**< x86 processor family */ #define OI_CPU_ARM ...
3,090
*/ #define OI_LITTLE_ENDIAN_BYTE_ORDER 1 /**< Multiple-byte values are stored in memory beginning with the least significant byte at the lowest address. */ /**@}*/ /** @name CPU/compiler-independent primitive data type definitions */ typedef int OI_BOOL; /**< Boolean values use native integer data...
3,090
*/ typedef signed short OI_INT16; /**< 16-bit signed integer values use native signed short integer data type for x86 processor. */ typedef signed long OI_INT32; /**< 32-bit signed integer values use native signed long integer data type for x86 processor. */ typedef unsigned char OI_UINT8; /**< 8-bit unsig...
3,090
*/ #error OI_CPU_ARM is deprecated #endif // #if OI_CPU_TYPE==OI_CPU_ARC /* This CPU type is deprecated (removed from use). Instead, use OI_CPU_ARC_LEND or OI_CPU_ARC_BEND for little-endian or big-endian configurations of the ARC, respectively. */ #error OI_CPU_ARC is deprecated #endif // #if OI_CPU_TYPE==OI_CP...
3,090
*/ typedef signed short OI_INT16; /**< 16-bit signed integer values use native signed short integer data type for SH-3 processor. */ typedef signed long OI_INT32; /**< 32-bit signed integer values use native signed long integer data type for SH-3 processor. */ typedef unsigned char OI_UINT8; /**< 8-bit uns...
3,090
*/ typedef signed short OI_INT16; /**< 16-bit signed integer values use native signed short integer data type for SH-2 processor. */ typedef signed long OI_INT32; /**< 32-bit signed integer values use native signed long integer data type for SH-2 processor. */ typedef unsigned char OI_UINT8; /**< 8-bit uns...
3,090
*/ typedef signed short OI_INT16; /**< 16-bit signed integer values use native signed short integer data type for ARM7 processor. */ typedef signed long OI_INT32; /**< 32-bit signed integer values use native signed long integer data type for ARM7 processor. */ typedef unsigned char OI_UINT8; /**< 8-bit uns...
3,090
*/ /** @name CPU/compiler-dependent primitive data type definitions for M68000 processor family */ typedef signed char OI_INT8; /**< 8-bit signed integer values use native signed character data type for M68000 processor. */ typedef signed short OI_INT16; /**< 16-bit signed integer values use native signe...
3,090
*/ /**@}*/ #endif // #if OI_CPU_TYPE==OI_CPU_PPC #define OI_CPU_BYTE_ORDER OI_BIG_ENDIAN_BYTE_ORDER /** @name CPU/compiler-dependent primitive data type definitions for PPC 8XX processor family */ typedef signed char OI_INT8; /**< 8-bit signed integer values use native signed character data type for PPC...
3,090
*/ typedef OI_UINT32 OI_ELEMENT_UNION; /**< Type for first element of a union to support all data types up to pointer width. */ /**@}*/ #endif // #if OI_CPU_TYPE==OI_CPU_SH4_7750 #define OI_CPU_BYTE_ORDER OI_BIG_ENDIAN_BYTE_ORDER /**< SH7750 platform byte ordering is big-endian. */ /** @name CPU/compiler-depe...
3,090
*/ typedef unsigned long OI_UINT32; /**< 32-bit unsigned integer values use native unsigned long integer data type for SH7750 SH-4 processor. */ typedef OI_UINT32 OI_ELEMENT_UNION; /**< Type for first element of a union to support all data types up to pointer width. */ /**@}*/ #endif // #if OI_CPU_TYPE==OI_CPU_...
3,090
*/ typedef unsigned short OI_UINT16; /**< 16-bit unsigned integer values use native unsigned short integer data type for ARM7 processor. */ typedef unsigned long OI_UINT32; /**< 32-bit unsigned integer values use native unsigned long integer data type for ARM7 processor. */ typedef void *OI_ELEMENT_UNION; /**< Ty...
3,090
*/ typedef unsigned char OI_UINT8; /**< 8-bit unsigned integer values use native unsigned character data type for ARM7 processor. */ typedef unsigned short OI_UINT16; /**< 16-bit unsigned integer values use native unsigned short integer data type for ARM7 processor. */ typedef unsigned long OI_UINT32; /**< 32-bi...
3,090
*/ typedef OI_UINT32 OI_ELEMENT_UNION; /**< Type for first element of a union to support all data types up to pointer width. */ #endif // #if OI_CPU_TYPE==OI_CPU_ARC_LEND #define OI_CPU_BYTE_ORDER OI_LITTLE_ENDIAN_BYTE_ORDER /** @name CPU/compiler-dependent primitive data type definitions for ARC processor famil...
3,090
*/ typedef OI_UINT32 OI_ELEMENT_UNION; /**< Type for first element of a union to support all data types up to pointer width. */ /**@}*/ #endif // #if OI_CPU_TYPE==OI_CPU_ARC_BEND #define OI_CPU_BYTE_ORDER OI_BIG_ENDIAN_BYTE_ORDER /** @name CPU/compiler-dependent primitive data type definitions for ARC processor ...
3,090
*/ typedef OI_UINT32 OI_ELEMENT_UNION; /**< Type for first element of a union to support all data types up to pointer width. */ /**@}*/ #endif // #if OI_CPU_TYPE==OI_CPU_M30833F #define OI_CPU_BYTE_ORDER OI_LITTLE_ENDIAN_BYTE_ORDER /** @name CPU/compiler-dependent primitive data type definitions for Mitsubishi M...
3,090
*/ typedef unsigned long OI_UINT32; /**< 32-bit unsigned integer values use native unsigned long integer data type for M308 processor. */ typedef OI_UINT32 OI_ELEMENT_UNION; /**< Type for first element of a union to support all data types up to pointer width. */ /**@}*/ #endif // #if OI_CPU_TYPE==OI_CPU_CR16C #...
3,090
*/ typedef unsigned short OI_UINT16; /**< 16-bit unsigned integer values use native unsigned short integer data type for CR16C processor. */ typedef unsigned long OI_UINT32; /**< 32-bit unsigned integer values use native unsigned long integer data type for CR16C processor. */ typedef OI_UINT32 OI_ELEMENT_UNION; /*...
3,090