/foundation/communication/bluetooth_service/services/bluetooth/stack/src/sdp/ |
H A D | sdp_server.h | 48 uint32_t handle, const SdpLanguageBaseAttributeId *baseAttributeId, uint16_t baseAttributeIdNum); 56 int SdpAddServiceName(uint32_t handle, uint16_t baseAttributeId, const char *name, uint16_t nameLen); 58 uint32_t handle, uint16_t baseAttributeId, const char *description, uint16_t descriptionLen); 59 int SdpAddProviderName(uint32_t handle, uint16_t baseAttributeId, const char *name, uint16_t nameLen);
|
H A D | sdp.c | 100 const SdpLanguageBaseAttributeId *baseAttributeId; member 138 uint16_t baseAttributeId; member 719 ctx->result = SdpAddLanguageBaseAttributeIdList(ctx->handle, ctx->baseAttributeId, ctx->baseAttributeIdNumber); in SdpAddLanguageBaseAttributeIdListTask() 726 uint32_t handle, const SdpLanguageBaseAttributeId *baseAttributeId, uint16_t baseAttributeIdNum) in SDP_AddLanguageBaseAttributeIdList() 739 ctx->baseAttributeId = baseAttributeId; in SDP_AddLanguageBaseAttributeIdList() 1014 ctx->result = SdpAddServiceName(ctx->handle, ctx->baseAttributeId, ctx->name, ctx->nameLen); in SdpAddServiceNameTask() 1020 int SDP_AddServiceName(uint32_t handle, uint16_t baseAttributeId, const char *name, uint16_t nameLen) in SDP_AddServiceName() argument 1033 ctx->baseAttributeId = baseAttributeId; in SDP_AddServiceName() 725 SDP_AddLanguageBaseAttributeIdList( uint32_t handle, const SdpLanguageBaseAttributeId *baseAttributeId, uint16_t baseAttributeIdNum) SDP_AddLanguageBaseAttributeIdList() argument 1063 SDP_AddServiceDescription( uint32_t handle, uint16_t baseAttributeId, const char *description, uint16_t descriptionLen) SDP_AddServiceDescription() argument 1107 SDP_AddProviderName(uint32_t handle, uint16_t baseAttributeId, const char *name, uint16_t nameLen) SDP_AddProviderName() argument [all...] |
H A D | sdp_server.c | 438 uint32_t handle, const SdpLanguageBaseAttributeId *baseAttributeId, uint16_t baseAttributeIdNum) in SdpAddLanguageBaseAttributeIdList() 466 *(uint16_t *)(buffer + offset) = H2BE_16(baseAttributeId[i].languageIdentifier); in SdpAddLanguageBaseAttributeIdList() 472 *(uint16_t *)(buffer + offset) = H2BE_16(baseAttributeId[i].characterEncodingIdentifier); in SdpAddLanguageBaseAttributeIdList() 478 *(uint16_t *)(buffer + offset) = H2BE_16(baseAttributeId[i].baseAttributeId); in SdpAddLanguageBaseAttributeIdList() 637 int SdpAddServiceName(uint32_t handle, uint16_t baseAttributeId, const char *name, uint16_t nameLen) in SdpAddServiceName() argument 639 LOG_INFO("[%{public}s][%{public}d] handle = [0x%08x], baseAttributeId = [0x%04x], name = [%{public}s], nameLen = [%hu]", in SdpAddServiceName() 643 baseAttributeId, in SdpAddServiceName() 656 /// Attribute ID: ServiceName (0x0000 + baseAttributeId) in SdpAddServiceName() 657 ret = SdpAddAttributeToServiceRecord(handle, SDP_ATTRIBUTE_SERVICE_NAME + baseAttributeId, in SdpAddServiceName() 437 SdpAddLanguageBaseAttributeIdList( uint32_t handle, const SdpLanguageBaseAttributeId *baseAttributeId, uint16_t baseAttributeIdNum) SdpAddLanguageBaseAttributeIdList() argument 662 SdpAddServiceDescription( uint32_t handle, uint16_t baseAttributeId, const char *description, uint16_t descriptionLen) SdpAddServiceDescription() argument 688 SdpAddProviderName(uint32_t handle, uint16_t baseAttributeId, const char *name, uint16_t nameLen) SdpAddProviderName() argument [all...] |
H A D | sdp_client_parse.c | 1209 service->baseAttributeId = MEM_MALLOC.alloc(sizeof(SdpLanguageBaseAttributeId) * SDP_LANGUAGE_ATTRIBUTE_MAX); in SdpGetLanguageBaseAttributeIdList() 1210 if (service->baseAttributeId == NULL) { in SdpGetLanguageBaseAttributeIdList() 1211 LOG_ERROR("baseAttributeId is NULL"); in SdpGetLanguageBaseAttributeIdList() 1215 (void)memset_s(service->baseAttributeId, setLength, 0, setLength); in SdpGetLanguageBaseAttributeIdList() 1225 service->baseAttributeId[baseAttributeIdNumber].languageIdentifier = in SdpGetLanguageBaseAttributeIdList() 1236 service->baseAttributeId[baseAttributeIdNumber].characterEncodingIdentifier = in SdpGetLanguageBaseAttributeIdList() 1247 service->baseAttributeId[baseAttributeIdNumber].baseAttributeId = in SdpGetLanguageBaseAttributeIdList() 1896 if (service->baseAttributeId) { in SdpFreeService() 1897 MEM_MALLOC.free(service->baseAttributeId); in SdpFreeService() [all...] |
/foundation/communication/bluetooth_service/services/bluetooth/stack/include/ |
H A D | sdp.h | 129 uint16_t baseAttributeId; member 245 * @param baseAttributeId The list of the natural languages' attribute IDs. 250 uint32_t handle, const SdpLanguageBaseAttributeId *baseAttributeId, uint16_t baseAttributeIdNum); 327 * @param baseAttributeId The attribute ID base (default 0x0100). 332 int BTSTACK_API SDP_AddServiceName(uint32_t handle, uint16_t baseAttributeId, const char *name, uint16_t nameLen); 339 * @param baseAttributeId The attribute ID base (default 0x0100). 345 uint32_t handle, uint16_t baseAttributeId, const char *description, uint16_t descriptionLen); 352 * @param baseAttributeId The attribute ID base (default 0x0100). 357 int BTSTACK_API SDP_AddProviderName(uint32_t handle, uint16_t baseAttributeId, const char *name, uint16_t nameLen); 460 SdpLanguageBaseAttributeId *baseAttributeId; member [all...] |
/foundation/communication/bluetooth_service/services/bluetooth/service/src/pan/ |
H A D | pan_sdp.cpp | 172 languageBaseAttr.baseAttributeId = PAN_LANGUAGE_BASE_ID; in AddLanguageBaseAttributeIdList()
|