Home
last modified time | relevance | path

Searched refs:BTSTACK_API (Results 1 - 14 of 14) sorted by relevance

/foundation/communication/bluetooth_service/services/bluetooth/stack/include/
H A Dbtm.h40 int BTSTACK_API BTM_Initialize();
47 int BTSTACK_API BTM_Close();
58 int BTSTACK_API BTM_Enable(int controller);
66 int BTSTACK_API BTM_Disable(int controller);
74 bool BTSTACK_API BTM_IsEnabled(int controller);
88 int BTSTACK_API BTM_RegisterCallbacks(const BtmCallbacks *callbacks, void *context);
96 int BTSTACK_API BTM_DeregisterCallbacks(const BtmCallbacks *callbacks);
108 int BTSTACK_API BTM_AclConnect(const BtAddr *addr);
116 int BTSTACK_API BTM_AclCancelConnect(const BtAddr *addr);
124 int BTSTACK_API BTM_LeConnec
[all...]
H A Dpacket.h50 BTSTACK_API Packet *PacketMalloc(uint16_t headSize, uint16_t tailSize, uint32_t payloadSize);
60 BTSTACK_API Packet *PacketRefMalloc(const Packet *pkt);
74 BTSTACK_API Packet *PacketInheritMalloc(const Packet *pkt, uint16_t headSize, uint16_t tailSize);
83 BTSTACK_API void PacketFree(Packet *pkt);
93 BTSTACK_API Buffer *PacketHead(const Packet *pkt);
103 BTSTACK_API Buffer *PacketTail(const Packet *pkt);
114 BTSTACK_API Buffer *PacketContinuousPayload(Packet *pkt);
124 BTSTACK_API uint32_t PacketPayloadSize(const Packet *pkt);
137 BTSTACK_API uint32_t PacketPayloadRead(const Packet *pkt, uint8_t *dst, uint32_t offset, uint32_t size);
150 BTSTACK_API uint32_
[all...]
H A Dl2cap_le_if.h39 int BTSTACK_API L2CIF_LeRegisterService(
48 void BTSTACK_API L2CIF_LeDeregisterService(uint16_t lpsm, void (*cb)(uint16_t lpsm, int result));
58 int BTSTACK_API L2CIF_LeCreditBasedConnectionReq(const BtAddr *addr, uint16_t lpsm, uint16_t rpsm,
70 int BTSTACK_API L2CIF_LeCreditBasedConnectionRsp(
79 void BTSTACK_API L2CIF_LeDisconnectionReq(uint16_t lcid, void (*cb)(uint16_t lcid, int result));
88 void BTSTACK_API L2CIF_LeDisconnectionRsp(uint16_t lcid, uint8_t id, void (*cb)(uint16_t lcid, int result));
97 int BTSTACK_API L2CIF_LeSendData(uint16_t lcid, const Packet *pkt, void (*cb)(uint16_t lcid, int result));
106 int BTSTACK_API L2CIF_LeRegisterFixChannel(
115 void BTSTACK_API L2CIF_LeDeregisterFixChannel(uint16_t cid, void (*cb)(uint16_t cid, int result));
124 int BTSTACK_API L2CIF_LeConnec
[all...]
H A Dgap_if.h232 BTSTACK_API int GAPIF_SetLocalName(const char *name, int length);
240 BTSTACK_API int GAPIF_SetClassOfDevice(uint32_t cod);
248 BTSTACK_API int GAPIF_SetExtendedInquiryResponse(const uint8_t eir[GAP_EIR_SIZE_MAX]);
262 BTSTACK_API int GAPIF_SetScanMode(const GapDiscoverModeInfo *discoverInfo,
273 BTSTACK_API int GAPIF_SetBondableMode(uint8_t isBondable);
283 BTSTACK_API int GAPIF_RegisterServiceSecurity(
285 BTSTACK_API int GAPIF_RegisterServiceSecurityAsync(
295 BTSTACK_API int GAPIF_DeregisterServiceSecurity(const BtAddr *addr, const GapServiceSecurityInfo *serviceInfo);
296 BTSTACK_API int GAPIF_DeregisterServiceSecurityAsync(const BtAddr *addr, const GapServiceSecurityInfo *serviceInfo);
305 BTSTACK_API in
[all...]
H A Dl2cap_if.h37 void BTSTACK_API L2CIF_Initialize(int traceLevel);
43 void BTSTACK_API L2CIF_Finalize();
53 int BTSTACK_API L2CIF_RegisterService(
61 void BTSTACK_API L2CIF_DeregisterService(uint16_t lpsm, void (*cb)(uint16_t lpsm, int result));
72 int BTSTACK_API L2CIF_ConnectReq(const BtAddr *addr, uint16_t lpsm, uint16_t rpsm, void *context,
83 void BTSTACK_API L2CIF_ConnectRsp(
93 int BTSTACK_API L2CIF_ConfigReq(uint16_t lcid, const L2capConfigInfo *cfg, void (*cb)(uint16_t lcid, int result));
104 int BTSTACK_API L2CIF_ConfigRsp(
112 void BTSTACK_API L2CIF_DisconnectionReq(uint16_t lcid, void (*cb)(uint16_t lcid, int result));
120 void BTSTACK_API L2CIF_DisconnectionRs
[all...]
H A Dgap_le_if.h446 BTSTACK_API int GAPIF_LeSetRole(uint8_t role);
454 BTSTACK_API int GAPIF_LeSetStaticIdentityAddr(uint8_t addr[BT_ADDRESS_SIZE]);
463 BTSTACK_API int GAPIF_LeGenResPriAddr(GenResPriAddrResult callback, void *context);
471 BTSTACK_API int GAPIF_LeExAdvGetMaxDataLen(uint16_t *len);
479 BTSTACK_API int GAPIF_LeExAdvGetMaxHandleNum(uint8_t *num);
488 BTSTACK_API int GAPIF_RegisterExAdvCallback(const GapExAdvCallback *callback, void *context);
495 BTSTACK_API int GAPIF_DeregisterExAdvCallback(void);
504 BTSTACK_API int GAPIF_LeExAdvSetRandAddr(uint8_t advHandle, const uint8_t addr[BT_ADDRESS_SIZE]);
515 BTSTACK_API int GAPIF_LeExAdvSetParam(
528 BTSTACK_API in
[all...]
H A Davdtp.h363 BTSTACK_API void AVDT_Register(const AvdtRegisterParam *reg);
373 BTSTACK_API void AVDT_Deregister(void);
385 BTSTACK_API uint16_t AVDT_AbortReq(uint16_t handle, uint8_t *transLabel);
398 BTSTACK_API uint16_t AVDT_AbortRsp(uint16_t handle, uint8_t transLabel, uint8_t errCode);
411 BTSTACK_API uint16_t AVDT_CreateStream(const BtAddr *bdAddr, uint16_t *handle, uint16_t codeIndex);
421 BTSTACK_API uint16_t AVDT_RegisterLocalSEP(AvdtStreamConfig *avdtStreamConfig, uint8_t number);
431 BTSTACK_API uint16_t AVDT_RemoveStream(uint16_t handle);
446 BTSTACK_API uint16_t AVDT_DiscoverReq(const BtAddr *bdAddr, uint8_t maxSeps, uint8_t *transLabel);
461 BTSTACK_API uint16_t AVDT_DiscoverRsp(
478 BTSTACK_API uint16_
[all...]
H A Dsdp.h145 uint32_t BTSTACK_API SDP_CreateServiceRecord();
153 int BTSTACK_API SDP_DestroyServiceRecord(uint32_t handle);
161 int BTSTACK_API SDP_RegisterServiceRecord(uint32_t handle);
169 int BTSTACK_API SDP_DeregisterServiceRecord(uint32_t handle);
180 int BTSTACK_API SDP_AddServiceClassIdList(uint32_t handle, const BtUuid *classid, uint16_t classidNumber);
189 int BTSTACK_API SDP_AddServiceRecordState(uint32_t handle, uint32_t state);
198 int BTSTACK_API SDP_AddServiceId(uint32_t handle, const BtUuid *serviceid);
210 int BTSTACK_API SDP_AddProtocolDescriptorList(
223 int BTSTACK_API SDP_AddAdditionalProtocolDescriptorList(
236 int BTSTACK_API SDP_AddBrowseGroupLis
[all...]
H A Drfcomm.h216 uint8_t BTSTACK_API RFCOMM_AssignServerNum();
225 int BTSTACK_API RFCOMM_FreeServerNum(uint8_t scn);
235 int BTSTACK_API RFCOMM_ConnectChannel(const RfcommConnectReqInfo *reqInfo, uint16_t *handle);
250 int BTSTACK_API RFCOMM_RegisterServer(uint8_t scn, uint16_t mtu, uint32_t eventMask,
262 int BTSTACK_API RFCOMM_DeregisterServer(uint8_t scn, bool isRemoveCallback);
274 int BTSTACK_API RFCOMM_AcceptConnection(uint16_t handle);
286 int BTSTACK_API RFCOMM_RejectConnection(uint16_t handle);
296 int BTSTACK_API RFCOMM_DisconnectChannel(uint16_t handle);
309 int BTSTACK_API RFCOMM_SetPortConfig(uint16_t handle, const RfcommRemotePortConfig *config);
319 int BTSTACK_API RFCOMM_ReqPortConfi
[all...]
H A Datt.h407 void BTSTACK_API ATT_ClientDataRegister(attCallback dataCallback, void *context);
413 void BTSTACK_API ATT_ClientDataDeregister();
421 void BTSTACK_API ATT_ServerDataRegister(attCallback dataCallback, void *context);
427 void BTSTACK_API ATT_ServerDataDeregister();
435 void BTSTACK_API ATT_ConnectRegister(AttConnectCallback connectBack, void *context);
441 void BTSTACK_API ATT_ConnectDeregister();
449 void BTSTACK_API ATT_ClientSendDataRegister(attSendDataCallback attSendDataCB, void *context);
454 void BTSTACK_API ATT_ClientSendDataDeRegister();
462 void BTSTACK_API ATT_ServerSendDataRegister(attSendDataCallback AttSendDataCB, void *context);
467 void BTSTACK_API ATT_ServerSendDataDeRegiste
[all...]
H A Dbuffer.h49 BTSTACK_API Buffer *BufferMalloc(uint32_t size);
59 BTSTACK_API Buffer *BufferRefMalloc(const Buffer *buf);
81 BTSTACK_API Buffer *BufferSliceMalloc(const Buffer *buf, uint32_t offset, uint32_t size);
93 BTSTACK_API Buffer *BufferResize(Buffer *buf, uint32_t offset, uint32_t size);
102 BTSTACK_API void BufferFree(Buffer *buf);
112 BTSTACK_API void *BufferPtr(const Buffer *buf);
122 BTSTACK_API uint32_t BufferGetSize(const Buffer *buf);
H A Davctp.h149 BTSTACK_API void AVCT_Register(uint16_t mtu, uint16_t mtuBr, uint16_t role);
165 BTSTACK_API void AVCT_Deregister(void);
185 BTSTACK_API uint16_t AVCT_ConnectReq(uint8_t *connId, const AvctConnectParam *connParam, const BtAddr *peerAddr);
201 BTSTACK_API uint16_t AVCT_DisconnectReq(uint8_t connId);
220 BTSTACK_API uint16_t AVCT_SendMsgReq(uint8_t connId, uint8_t label, uint8_t cr, const Packet *msg);
233 BTSTACK_API uint16_t AVCT_GetPeerMtu(uint8_t connId);
247 BTSTACK_API uint16_t AVCT_BrConnectReq(uint8_t connId, uint8_t role);
260 BTSTACK_API uint16_t AVCT_BrDisconnectReq(uint8_t connId);
279 BTSTACK_API uint16_t AVCT_BrSendMsgReq(uint8_t connId, uint8_t label, uint8_t cr, const Packet *msg);
292 BTSTACK_API uint16_
[all...]
H A Dhci_vendor_if.h46 BTSTACK_API int HCIVIF_RegisterVendorEventCallback(
55 BTSTACK_API int HCIVIF_DeregisterVendorEventCallback(const HCIVendorEventCallback *callback);
66 int BTSTACK_API HCIVIF_SendCmd(uint16_t opCode, const void *param, size_t paramLength);
H A Dbtstack.h115 #define BTSTACK_API __attribute__((visibility("default"))) macro
117 #define BTSTACK_API macro

Completed in 10 milliseconds