text
stringlengths
1
9.98k
__index_level_0__
int64
0
4.17k
The background connection ** ** Parameters add_remove: TRUE to add; FALSE to remove. ** remote_bda: device address to add/remove. ** ** Returns void ** / //extern BOOLEAN BTM_BleUpdateBgConnDev(BOOLEAN add_remove, BD_ADDR remote_bda); / ** ** Function BTM_BleClearBgConnDev **...
3,110
** ** Parameters p_adv - pointer of ADV data ** type - finding ADV data type ** p_length - return the length of ADV data not including type ** ** Returns pointer of ADV data ** / //extern UINT8 *BTM_CheckAdvData( UINT8 *p_adv, UINT8 type, UINT8 *p_length); / ** ** Fu...
3,110
** ** Returns BTM_BLE_NON_CONNECTABLE or BTM_BLE_CONNECTABLE ** / //extern UINT16 BTM_BleReadConnectability (void); void BTM_Recovery_Pre_State(void); / ** ** Function BTM_ReadDevInfo ** ** Description This function is called to read the device/address type ** of BD address. **...
3,110
** ** Parameters start: start or stop broadcasting. ** ** Returns status. ** / //extern tBTM_STATUS BTM_BleBroadcast(BOOLEAN start, tBTM_START_STOP_ADV_CMPL_CBACK *p_stop_adv_cback); / ** ** Function BTM_BleConfigPrivacy ** ** Description This function is called to enable or disable the pr...
3,110
2 ** is applicable in controller. ** ** Parameters mixed_on: mixed mode to be used or not. ** ** Returns void ** / //extern void BTM_BleEnableMixedPrivacyMode(BOOLEAN mixed_on); / ** ** Function BTM_BleMaxMultiAdvInstanceCount ** ** Description Returns max number of mul...
3,110
** / //extern tBTM_STATUS BTM_BleSetConnectableMode(tBTM_BLE_CONN_MODE connectable_mode); / ** ** Function BTM_BleTurnOnPrivacyOnRemote ** ** Description This function is called to enable or disable the privacy on the ** remote device. ** ** Parameters bd_addr: remote device addres...
3,110
** ** Parameter adv_policy: advertising filter policy ** ** Return void / //extern void BTM_BleUpdateAdvFilterPolicy(tBTM_BLE_AFP adv_policy); / ** ** Function BTM_BleReceiverTest ** ** Description This function is called to start the LE Receiver test ** ** Parameter rx_freq - Freq...
3,110
** ** Returns TRUE to use LE, FALSE use BR/EDR. ** / //extern BOOLEAN BTM_UseLeLink (BD_ADDR bd_addr); / ** ** Function BTM_BleStackEnable ** ** Description Enable/Disable BLE functionality on stack regarless controller ** capability. ** ** Parameters: enable: TRUE to enabl...
3,110
** ** Returns BOOLEAN TRUE if security procedure is running, FALSE otherwise. ** / //extern BOOLEAN BTM_BleSecurityProcedureIsRunning (BD_ADDR bd_addr); / ** ** Function BTM_BleGetSupportedKeySize ** ** Description This function gets the maximum encryption key size in bytes ** t...
3,110
** p_ref: reference data attach to the adv instance to be enabled. ** ** Returns status ** / //extern tBTM_STATUS BTM_BleEnableAdvInstance (tBTM_BLE_ADV_PARAMS *p_params, tBTM_BLE_MULTI_ADV_CBACK *p_cback, void *p_re...
3,110
** data_mask: adv data mask. ** p_data: pointer to the adv data structure. ** ** Returns status ** / //extern tBTM_STATUS BTM_BleCfgAdvInstData (UINT8 inst_id, BOOLEAN is_scan_rsp, tBTM_BLE_AD_MASK data_mask, ...
3,110
** ** Parameters action: to read/write/clear ** cond_type: filter condition type. ** p_cond: filter condition paramter ** ** Returns tBTM_STATUS ** / //extern tBTM_STATUS BTM_BleCfgFilterCondition(tBTM_BLE_SCAN_COND_OP action, tBTM_...
3,110
** / //extern tBTM_STATUS BTM_SetBleDataLength(BD_ADDR bd_addr, UINT16 tx_pdu_length); / ** ** Function BTM_UpdateBleDuplicateExceptionalList ** ** Description This function is called to update duplicate scan exceptional list. ** ** Parameters: subcode: add, remove or clean duplicate scan exceptiona...
3,110
/ / #ifndef AVRC_API_H #define AVRC_API_H #include "common/bt_target.h" #include "common/bt_defs.h" #include "stack/avct_api.h" #include "stack/sdp_api.h" #include "stack/avrc_defs.h" #if (AVRC_INCLUDED == TRUE) / ** constants / /* API function return value result codes. */ #define AVRC_SUCCESS AVCT_SUCCESS ...
3,111
#define AVRC_OPEN_IND_EVT 0 /* AVRC_CLOSE_IND_EVT event is sent when a connection is closed. #define AVRC_CLOSE_IND_EVT 1 /* AVRC_CONG_IND_EVT event indicates that AVCTP is congested and cannot send #define AVRC_CONG_IND_EVT 2 /* AVRC_UNCONG_IND_EVT event indicates that AVCTP is uncongested and rea...
3,111
If NULL, AVRCP API sets the attribute filter } tAVRC_SDP_DB_PARAMS; /* This callback function returns service discovery information to the typedef void (tAVRC_FIND_CBACK) (UINT16 status); /* This is the control callback function. This function passes events typedef void (tAVRC_CTRL_CBACK) (UINT8 handle, UINT8 even...
3,111
** Prior to calling this function the application must ** call SDP_CreateRecord() to create an SDP record. ** ** Input Parameters: ** service_uuid: Indicates TG(UUID_SERVCLASS_AV_REM_CTRL_TARGET) ** or C...
3,111
** ** Returns AVRC_SUCCESS if successful. ** AVRC_NO_RESOURCES if not enough resources to build the SDP record. ** / extern UINT16 AVRC_AddRecord(UINT16 service_uuid, char *p_service_name, char *p_provider_name, UINT16 categories, UINT32 sdp_handle, BOOLEAN browsi...
3,111
** The application is responsible for allocating memory for the ** discovery database. It is recommended that the size of the ** discovery database be at least 300 bytes. The application ** can deallocate the memory after the callback function has *...
3,111
** / extern UINT16 AVRC_FindService(UINT16 service_uuid, BD_ADDR bd_addr, tAVRC_SDP_DB_PARAMS *p_db, tAVRC_FIND_CBACK *p_cback); / ** ** Function AVRC_Open ** ** Description This function is called to open a connection to AVCTP. ** The connection can be eit...
3,111
** ** Input Parameters: ** p_ccb->company_id: Company Identifier. ** ** p_ccb->p_ctrl_cback: Pointer to control callback function. ** ** p_ccb->p_msg_cback: Pointer to message callback function. ** ** p_ccb->conn: AV...
3,111
This parameter is only ** valid if AVRC_SUCCESS is returned. ** ** Returns AVRC_SUCCESS if successful. ** AVRC_NO_RESOURCES if there are not enough resources to open ** the connection. ** / extern UINT16 AVRC_Open(UINT8 *p_handle, tAVRC_CONN_CB...
3,111
** The connection can be either an initiator or acceptor, as ** determined by the conn_role. ** The handle is returned by a previous call to AVRC_Open. ** ** Returns AVRC_SUCCESS if successful. ** AVRC_NO_RESOURCES if there are not enough res...
3,111
** ** Returns AVRC_SUCCESS if successful. ** AVRC_BAD_HANDLE if handle is invalid. ** / extern UINT16 AVRC_MsgReq (UINT8 handle, UINT8 label, UINT8 ctype, BT_HDR *p_pkt); / ** ** Function AVRC_UnitCmd ** ** Description Send a UNIT INFO command to the peer device. This ** ...
3,111
This ** function can only be called for controller role connections. ** Any response message from the peer is passed back through ** the tAVRC_MSG_CBACK callback function. ** ** Input Parameters: ** handle: Handle of this connect...
3,111
** Any response message from the peer is passed back through ** the tAVRC_MSG_CBACK callback function. ** ** Input Parameters: ** handle: Handle of this connection. ** ** label: Transaction label. ** ** p_...
3,111
** ** Input Parameters: ** handle: Handle of this connection. ** ** label: Transaction label. Must be the same value as ** passed with the command message in the callback function. ** ** p_msg: Pointer to PASS THROUGH...
3,111
** ** label: Transaction label. ** ** p_msg: Pointer to VENDOR DEPENDENT message structure. ** ** Output Parameters: ** None. ** ** Returns AVRC_SUCCESS if successful. ** AVRC_BAD_HANDLE if handle is invalid. ** /...
3,111
** ** p_msg: Pointer to VENDOR DEPENDENT message structure. ** ** Output Parameters: ** None. ** ** Returns AVRC_SUCCESS if successful. ** AVRC_BAD_HANDLE if handle is invalid. ** / extern UINT16 AVRC_VendorRsp(UINT8 handle, UINT8 l...
3,111
** / extern UINT8 AVRC_SetTraceLevel (UINT8 new_level); / ** ** Function AVRC_Init ** ** Description This function is called at stack startup to allocate the ** control block (if using dynamic memory), and initializes the ** control block and tracing level. ** ** Returns...
3,111
** ** Returns AVRC_STS_NO_ERROR, if the message in p_data is parsed successfully. ** Otherwise, the error code defined by AVRCP 1.4 ** / extern tAVRC_STS AVRC_ParsResponse (tAVRC_MSG *p_msg, tAVRC_RESPONSE *p_result); / ** ** Function AVRC_BldCommand ** ** Description This funct...
3,111
/ #ifndef PROFILES_API_H #define PROFILES_API_H #include "common/bt_target.h" #include "stack/btm_api.h" / ** Constants / #define BT_PASS 0 /* Used for general successful function returns */ /*** Port entity passes back 8 bit errors; will use upper byte offset ***/ #define PORT_ERR_GRP 0x0000 ...
3,112
*/ typedef struct { UINT8 level; UINT8 mask; } tBT_SECURITY; #endif /* PROFILES_API_H */
3,112
/ / #ifndef AVCT_API_H #define AVCT_API_H #include "stack/bt_types.h" #include "common/bt_target.h" / ** Constants / /* API function return value result codes. */ #define AVCT_SUCCESS 0 /* Function successful */ #define AVCT_NO_RESOURCES 1 /* Not enough resources */ #define AVC...
3,113
The number of bytes needed by the protocol stack for the ** protocol headers of an AVCTP message packet. */ #define AVCT_MSG_OFFSET 15 #define AVCT_BROWSE_OFFSET 17 /* the default offset for browsing channel */ /* Connection role. */ #define AVCT_INT 0 /* Initiator conne...
3,113
*/ #define AVCT_RESULT_FAIL 5 / ** Type Definitions / /* Control callback function. */ typedef void (tAVCT_CTRL_CBACK)(UINT8 handle, UINT8 event, UINT16 result, BD_ADDR peer_addr); /* Message callback function */ /* p_pkt->layer_specific is AVCT_DATA_CTRL or AVCT_DATA_BRO...
3,113
This function initializes AVCTP and ** prepares the protocol stack for its use. This function ** must be called once by the system or platform using AVCTP ** before the other functions of the API an be used. ** ** ** Returns void ** / extern void AVCT_Regis...
3,113
When this function is called to ** create an initiator connection, an AVCTP connection to ** the peer device is initiated if one does not already exist. ** If an acceptor connection is created, the connection waits ** passively for an incoming AVCTP ...
3,113
There are two types of ** connections, initiator and acceptor, as determined by ** the p_cc->role parameter. When this function is called to ** create an initiator connection, an AVCTP connection to ** the peer device is initiated if one does not al...
3,113
** / extern UINT16 AVCT_RemoveBrowse(UINT8 handle); / ** ** Function AVCT_GetBrowseMtu ** ** Description Get the peer_mtu for the AVCTP Browse channel of the given ** connection. ** ** Returns the peer browsing channel MTU. ** / extern UINT16 AVCT_GetBrowseMtu (UINT8 handle); /...
3,113
The application may make its ** first call to AVCT_MsgReq() after it receives an ** AVCT_CONNECT_CFM_EVT or AVCT_CONNECT_IND_EVT on control channel or ** AVCT_BROWSE_CONN_CFM_EVT or AVCT_BROWSE_CONN_IND_EVT on browsing channel. ** ** p_msg->layer_spe...
3,113
/ / #ifndef BTM_API_H #define BTM_API_H #include "common/bt_defs.h" #include "common/bt_target.h" #include "stack/hcidefs.h" #if SDP_INCLUDED == TRUE #include "stack/sdp_api.h" #endif #if SMP_INCLUDED == TRUE #include "stack/smp_api.h" #endif / ** DEVICE CONTROL and COMMON / / ** Device Control Constants / /* Max...
3,114
Appl must poll for ** what the new state is (BTM_IsDeviceUp). The event occurs whenever the stack ** has detected that the controller status has changed. This asynchronous event ** is enabled/disabled by calling BTM_RegisterForDeviceStatusNotif(). */ enum { BTM_DEV_STATUS_UP, BTM_DEV_STATUS_DOWN, BTM_DEV_S...
3,114
The length and ** array of returned parameter bytes are included. This asynchronous event ** is enabled/disabled by calling BTM_RegisterForVSEvents(). */ typedef void (tBTM_VS_EVT_CB) (UINT8 len, UINT8 *p); /* General callback function for notifying an application that a synchronous ** BTM function is complete. The ...
3,114
2 devices only */ /* Define inquiry results mode */ #define BTM_INQ_RESULT_STANDARD 0 #define BTM_INQ_RESULT_WITH_RSSI 1 #define BTM_INQ_RESULT_EXTENDED 2 #define BTM_INQ_RES_IGNORE_RSSI 0x7f /* RSSI value not supplied (ignore it) */ /* Inquiry Filter Condition types (see tBTM_INQ_PARMS) */ #define...
3,114
1 : 0)) /* MACRO to set the service bit mask in a bit stream */ #define BTM_EIR_SET_SERVICE(p, service) (((UINT32 *)(p))[(((UINT32)(service)) / BTM_EIR_ARRAY_BITS)] |= \ ((UINT32)1 > (((UINT32)(service)) % BTM_EIR_ARRAY_BITS)) /* start of EIR in HCI buffer, 4 bytes = HCI Command...
3,114
28 sec increments) */ UINT8 max_resps; /* maximum number of responses to return */ BOOLEAN report_dup; /* report duplicated inquiry response with higher RSSI value */ UINT8 filter_cond_type; /* new devices, BD ADDR, COD, or No filtering */ tBTM_INQ_FILT_CON...
3,114
It ** is returned in the results callback if registered. */ typedef struct { UINT16 clock_offset; BD_ADDR remote_bd_addr; DEV_CLASS dev_class; UINT8 page_scan_rep_mode; UINT8 page_scan_per_mode; UINT8 page_scan_mode; INT8 rssi; /* Set to BTM_INQ_RE...
3,114
This is later used by application to determine if remote name request is required to be done. Having the flag here avoid duplicate store of inquiry results */ #if ( BLE_INCLUDED == TRUE) UINT16 remote_nam...
3,114
First param is inquiry database, second is if added to or removed ** from the inquiry database. */ typedef void (tBTM_INQ_DB_CHANGE_CB) (void *p1, BOOLEAN is_new); /* Callback function for notifications when the BTM gets inquiry response. ** First param is inquiry results database, second is pointer of EIR. */ typede...
3,114
*/ typedef struct { UINT8 hci_status; /* HCI status returned with the event */ UINT8 role; /* BTM_ROLE_MASTER or BTM_ROLE_SLAVE */ BD_ADDR remote_bd_addr; /* Remote BD addr involved with the switch */ } tBTM_ROLE_SWITCH_CMPL; /* Structure returned with QoS information (in tBTM_CMPL_CB ca...
3,114
*/ typedef struct { tBTM_STATUS status; UINT8 hci_status; UINT8 link_quality; BD_ADDR rem_bda; } tBTM_LINK_QUALITY_RESULTS; /* Structure returned with set AFH channels event (in tBTM_CMPL_CB callback function) ** in response to BTM_SetAfhChannels call. */ typedef struct { tBTM_STAT...
3,114
*/ typedef struct { tBTM_STATUS status; BD_ADDR rem_bda; UINT16 pkt_types; } tBTM_SET_ACL_PKT_TYPES_RESULTS; /* Structure returned with set BLE channels event (in tBTM_CMPL_CB callback function) ** in response to BTM_BleSetChannels call. */ typedef struct { tBTM_STATUS status; UINT8 ...
3,114
*/ BD_ADDR_PTR p_bda; /* The address of the newly connected device */ DEV_CLASS_PTR p_dc; /* The device class */ BD_NAME_PTR p_bdn; /* The device name */ UINT8 *p_features; /* pointer to the remote device's features page[0] (supported features page) */...
3,114
*/ UINT8 busy_level;/* when paging or inquiring, level is 10. UINT8 busy_level_flags; /* Notifies actual inquiry/page activities */ } tBTM_BL_UPDATE_DATA; /* the data type associated with BTM_BL_ROLE_CHG_EVT */ typedef struct { tBTM_BL_EVENT event; /* The event reported. */ ...
3,114
*/ typedef void (tBTM_BL_CHANGE_CB) (tBTM_BL_EVENT_DATA *p_data); / ** ACL Callback Functions / /* Callback function for notifications when the BTM ACL connection DB ** changes. First param is BD address, second is if added or removed. ** Registered through BTM_AclRegisterForChanges call. */ #if BLE_INCLUDED == TRUE...
3,114
h #define BTM_SCO_CODEC_NONE 0x0000 #define BTM_SCO_CODEC_CVSD 0x0001 #define BTM_SCO_CODEC_MSBC 0x0002 typedef UINT16 tBTM_SCO_CODEC_TYPE; / ** SCO Air Mode Types / #define BTM_SCO_AIR_MODE_U_LAW 0 #define BTM_SCO_AIR_MODE_A_LAW 1 #define BTM_SCO_AIR_MODE_CVSD ...
3,114
** returned in link key notification callback function */ #define BTM_LKEY_TYPE_COMBINATION HCI_LKEY_TYPE_COMBINATION #define BTM_LKEY_TYPE_LOCAL_UNIT HCI_LKEY_TYPE_LOCAL_UNIT #define BTM_LKEY_TYPE_REMOTE_UNIT HCI_LKEY_TYPE_REMOTE_UNIT #define BTM_LKEY_TYPE_DEBUG_COMB HCI_LKEY_TYPE_DEBUG_COMB #define BTM_LKE...
3,114
1 : 0)) /* Security service definitions (BTM_SetSecurityLevel) ** Used for Authorization APIs */ #define BTM_SEC_SERVICE_SDP_SERVER 0 #define BTM_SEC_SERVICE_SERIAL_PORT 1 #define BTM_SEC_SERVICE_LAN_ACCESS 2 #define BTM_SEC_SERVICE_DUN 3 #define BTM_SEC_SERVICE_IRMC_SYNC 4 #define BTM...
3,114
** This can be used directly in the Tx Power Level EIR data type. ** ** Returns BTM_SUCCESS if successful ** / //extern tBTM_STATUS BTM_ReadInquiryRspTxPower (tBTM_CMPL_CB *p_cb); #if SDP_INCLUDED == TRUE / ** ** Function BTM_StartDiscovery ** ** Description This function is cal...
3,114
** ** Returns Pointer to matching record, or NULL ** / //extern tSDP_DISC_REC *BTM_FindAttribute (UINT16 attr_id, tSDP_DISC_REC *p_start_rec); / ** ** Function BTM_FindService ** ** Description This function is called by an application (or profile) ** ...
3,114
** ** Returns void ** / //extern void BTM_SetDefaultLinkPolicy (UINT16 settings); / ** ** Function BTM_SetDefaultLinkSuperTout ** ** Description Set the default value for HCI "Write Link Supervision Timeout" ** command to use when an ACL link is created. ** ** Returns ...
3,114
** ** Returns TRUE if connection is up, else FALSE. ** / //extern BOOLEAN BTM_IsAclConnectionUp (BD_ADDR remote_bda, tBT_TRANSPORT transport); / ** ** Function BTM_GetRole ** ** Description This function is called to get the role of the local device ** for the ACL connection wi...
3,114
** BTM_NO_RESOURCES if couldn't allocate memory to issue command ** BTM_UNKNOWN_ADDR if no active link with bd addr specified ** BTM_MODE_UNSUPPORTED if local device does not support role switching ** / //extern tBTM_STATUS BTM_SwitchRole (BD_ADDR remote_bd_addr, ...
3,114
The TX power level results ** are returned in the callback. ** (tBTM_RSSI_RESULTS) ** ** Returns BTM_CMD_STARTED if command issued to controller. ** BTM_NO_RESOURCES if couldn't allocate memory to issue command ** BTM_UNKNOWN_ADDR if no activ...
3,114
** ** Returns BTM_SUCCESS if successfully registered, otherwise error ** / //extern tBTM_STATUS BTM_RegBusyLevelNotif (tBTM_BL_CHANGE_CB *p_cb, UINT8 *p_level, tBTM_BL_EVENT_MASK evt_mask); / ** ** Function BTM_RegAclLinkStatNotif ** ** Description This functio...
3,114
** ** Returns UINT16 Number of active ACL links ** / //extern UINT16 BTM_GetNumAclLinks (void); / ** ** Function BTM_SetQoS ** ** Description This function is called to setup QoS ** ** Returns BTM_CMD_STARTED if successfully initiated, otherwise error ** / //extern tBTM_STATUS BTM_SetQ...
3,114
** In this case, "*p_sco_inx" is filled in ** with the sco index used for the connection. ** / //extern tBTM_STATUS BTM_CreateSco (BD_ADDR remote_bda, BOOLEAN is_orig, UINT16 pkt_types, UINT16 *p_sco_inx, ...
3,114
** ** Returns One or more of the following (bitmask) ** BTM_SCO_PKT_TYPES_MASK_HV1 ** BTM_SCO_PKT_TYPES_MASK_HV2 ** BTM_SCO_PKT_TYPES_MASK_HV3 ** BTM_SCO_PKT_TYPES_MASK_EV3 ** BTM_SCO_PKT_TYPES_MASK_EV4 ** BTM_S...
3,114
** / //extern UINT16 BTM_ReadScoHandle (UINT16 sco_inx); / ** ** Function BTM_ReadScoBdAddr ** ** Description This function is read the remote BD Address for a specific ** SCO connection, ** ** Returns pointer to BD address or NULL if not known ** / //extern UINT8 *BTM_ReadScoB...
3,114
** ** Returns BTM_SUCCESS if the successful. ** BTM_BUSY if there are one or more active (e)SCO links. ** / //extern tBTM_STATUS BTM_SetEScoMode (tBTM_SCO_TYPE sco_mode, tBTM_ESCO_PARAMS *p_parms); / ** ** Function BTM_SetWBSCodec ** ** Description T...
3,114
This can be called anytime a connection ** is active, but is typically called after receiving the SCO ** opened callback. ** ** Note: If called over a 1.1 controller, only the packet types ** field has meaning. ** Note: If the ...
3,114
If any of the changes are accepted ** by the controllers, the BTM_ESCO_CHG_EVT event is sent in ** the tBTM_ESCO_CBACK function with the current settings of ** the link. The callback is registered through the call to ** BTM_SetEScoMode. ** ** ** Retu...
3,114
Parameters used to negotiate eSCO links. ** If p_parms is NULL, then values set through BTM_SetEScoMode ** are used. ** If the link type of the incoming request is SCO, then only ** the tx_bw, max_latency, content format, and packet_types are ** ...
3,114
BTM allows only first registration. ** ** Returns TRUE if registered OK, else FALSE ** / //extern BOOLEAN BTM_SecRegister (tBTM_APPL_INFO *p_cb_info); / ** ** Function BTM_SecRegisterLinkKeyNotificationCallback ** ** Description Profiles can register to be notified when a new Link Key ** ...
3,114
** ** Returns TRUE if OK, else FALSE ** / //extern BOOLEAN BTM_SecDeleteRmtNameNotifyCallback (tBTM_RMT_NAME_CALLBACK *p_callback); / ** ** Function BTM_GetSecurityFlags ** ** Description Get security flags for the device ** ** Returns BOOLEAN TRUE or FALSE is device found ** / //extern...
3,114
** otherwise, the trusted mask ** / //extern UINT32 *BTM_ReadTrustedMask (BD_ADDR bd_addr); / ** ** Function BTM_SetPinType ** ** Description Set PIN type for the device. ** ** Returns void ** / //extern void BTM_SetPinType (UINT8 pin_type, PIN_CODE pin_code, UINT8 pin_code_len)...
3,114
** FALSE means that the device should provide default treatment for ** Mode 4 Level 0 services. ** ** Returns void ** / //extern void BTM_SetSecureConnectionsOnly (BOOLEAN secure_connections_only_mode); / ** ** Function BTM_SetSecurityLevel ** ** Description Reg...
3,114
** ** Returns void ** / //extern void BTM_SetOutService(BD_ADDR bd_addr, UINT8 service_id, UINT32 mx_chan_id); / ** ** Function BTM_SecClrService ** ** Description Removes specified service record(s) from the security database. ** All service records with the specified name are ...
3,114
** ** Returns TRUE if rmoved OK, FALSE if not found ** / //extern BOOLEAN BTM_SecDeleteDevice (BD_ADDR bd_addr, tBT_TRANSPORT transport); / ** ** Function BTM_SecGetDeviceLinkKey ** ** Description This function is called to obtain link key for the device ** it returns BTM_SUCCES...
3,114
** / //extern tBTM_LINK_KEY_TYPE BTM_SecGetDeviceLinkKeyType (BD_ADDR bd_addr); / ** ** Function BTM_PINCodeReply ** ** Description This function is called after Security Manager submitted ** PIN code request to the UI. ** ** Parameters: bd_addr - Address of the device for whi...
3,114
** ** Returns BTM_CMD_STARTED if successfully initiated, otherwise error ** / //extern tBTM_STATUS BTM_SecBondCancel (BD_ADDR bd_addr); / ** ** Function BTM_SetEncryption ** ** Description This function is called to ensure that connection is ** encrypted. Should be called only ...
3,114
** ** Returns BTM_SUCCESS - already encrypted ** BTM_PENDING - command will be returned in the callback ** BTM_WRONG_MODE- connection not up. ** BTM_BUSY - security procedures are currently active ** BTM_MODE_UNSUPPORTED - if securit...
3,114
** / //extern void BTM_PasskeyReqReply(tBTM_STATUS res, BD_ADDR bd_addr, UINT32 passkey); / ** ** Function BTM_SendKeypressNotif ** ** Description This function is used during the passkey entry model ** by a device with KeyboardOnly IO capabilities ** (very likely to be ...
3,114
** oob - BTM_OOB_NONE or BTM_OOB_PRESENT. ** auth_req- MITM protection required or not. ** / //extern void BTM_IoCapRsp(BD_ADDR bd_addr, tBTM_IO_CAP io_cap, tBTM_OOB_DATA oob, tBTM_AUTH_REQ auth_req); / ** ** Function BTM_ReadLocalOobData ** ** Descripti...
3,114
** c - simple pairing Hash C. ** r - simple pairing Randomizer C. ** name_len- 0, local device name would not be included. ** otherwise, the local device name is included for ** up to this specified le...
3,114
** ** Parameters: bd_addr - address of the peer ** ** Returns TRUE if BR/EDR Secure Connections are supported by the peer, ** else FALSE. ** / //extern BOOLEAN BTM_PeerSupportsSecureConnections(BD_ADDR bd_addr); / ** ** Function BTM_ReadOobData ** ** Description This functi...
3,114
** ** Returns Pointer to the name or NULL ** / //extern char *BTM_SecReadDevName (BD_ADDR bd_addr); / ** ** Function BTM_SecClearSecurityFlags ** ** Description Reset the security flags (mark as not-paired) for a given ** remove device. ** / extern void BTM_SecClearSecurityFlags...
3,114
** ** Input Param remote_bda - device address of desired ACL connection ** ** Output Param p_mode - address where the current mode is copied into. ** BTM_ACL_MODE_NORMAL ** BTM_ACL_MODE_HOLD ** BTM_ACL_MODE_SNIFF ** ...
3,114
** ** Returns the handle of the connection, or 0xFFFF if none. ** / //extern UINT16 BTM_GetHCIConnHandle (BD_ADDR remote_bda, tBT_TRANSPORT transport); / ** ** Function BTM_DeleteStoredLinkKey ** ** Description This function is called to delete link key for the specified ** devi...
3,114
** ** Parameters p_eir - pointer of EIR significant part ** type - finding EIR data type ** p_length - return the length of EIR data ** ** Returns pointer of EIR data ** / //extern UINT8 *BTM_CheckEirData( UINT8 *p_eir, UINT8 type, UINT8 *p_length ); / ** ** Function...
3,114
** ** Parameters custom_uuid - pointer to custom_uuid array in tBTA_DM_CB ** uuid - UUID struct ** ** Returns TRUE - if found ** FALSE - if not found ** / BOOLEAN BTM_HasCustomEirService( tBT_UUID *custom_uuid, tBT_UUID uuid ); / ** ** Function BTM_AddEirServic...
3,114
** ** Parameters p_eir_uuid - bit mask of UUID list for EIR ** uuid16 - UUID 16-bit ** ** Returns None ** / //extern void BTM_RemoveEirService( UINT32 *p_eir_uuid, UINT16 uuid16 ); / ** ** Function BTM_RemoveCustomEirService ** ** Description This function is called to rem...
3,114
** ** Parameters p_eir - EIR ** uuid_size - LEN_UUID_16, LEN_UUID_32, LEN_UUID_128 ** p_num_uuid - return number of UUID in found list ** p_uuid_list - return UUID 16-bit list ** max_num_uuid - maximum number of UUID to be returned ** ** Returns...
3,114
** ** Parameter path: SCO or HCI ** p_sco_data_cb: callback function or SCO data if path is set ** to transport. ** p_pcm_param: pointer to the PCM interface parameter. If a NULL ** pointer is used, PCM parameter mai...
3,114
The data ** to be written p_buf needs to carry an offset of ** HCI_SCO_PREAMBLE_SIZE bytes, and the data length can not ** exceed BTM_SCO_DATA_SIZE_MAX bytes, whose default value is set ** to 60 and is configurable. Data longer than the maximum bytes ...
3,114
** ** Returns void ** / //extern void BTM_PCM2Setup_Write (BOOLEAN clk_master, tBTM_VSC_CMPL_CB *p_arc_cb); / ** ** Function BTM_PM_ReadControllerState ** ** Description This function is called to obtain the controller state ** ** Returns Controller state (BTM_CONTRL_ACTIVE, BTM_CONTRL...
3,114
/* */ #ifndef ACL_HCI_LINK_INTERFACE_H #define ACL_HCI_LINK_INTERFACE_H #include "bt_common.h" void btm_acl_connected(BD_ADDR bda, UINT16 handle, UINT8 link_type, UINT8 enc_mode, UINT8 status); void btm_acl_disconnected(UINT16 handle, UINT8 reason); #endif /* ACL_HCI_LINK_INTERFACE_H */
3,115
/ #ifndef DYN_MEM_H #define DYN_MEM_H #include "common/bluedroid_user_config.h" #if UC_BT_BLE_DYNAMIC_ENV_MEMORY #define BTU_DYNAMIC_MEMORY TRUE #define BTM_DYNAMIC_MEMORY TRUE #define L2C_DYNAMIC_MEMORY TRUE #define GATT_DYNAMIC_MEMORY TRUE #define SMP_DYNAMIC_MEMORY TRUE #defi...
3,116
h) ** The default for each component is to use static memory allocations. */ #ifndef BTU_DYNAMIC_MEMORY #define BTU_DYNAMIC_MEMORY FALSE #endif #ifndef BTM_DYNAMIC_MEMORY #define BTM_DYNAMIC_MEMORY FALSE #endif #ifndef SDP_DYNAMIC_MEMORY #define SDP_DYNAMIC_MEMORY FALSE #endif #ifndef GAP_DYNAMIC_MEMORY #define ...
3,116