Home
last modified time | relevance | path

Searched refs:attribute (Results 1 – 19 of 19) sorted by relevance

/btstack/src/classic/
H A Dspp_server.c60 uint8_t* attribute; in spp_create_sdp_record_internal() local
69 attribute = de_push_sequence(service); in spp_create_sdp_record_internal()
72 de_add_number(attribute, DE_UUID, DE_SIZE_16, BLUETOOTH_SERVICE_CLASS_SERIAL_PORT ); in spp_create_sdp_record_internal()
74 de_add_uuid128(attribute, (uint8_t *) service_uuid128); in spp_create_sdp_record_internal()
77 de_pop_sequence(service, attribute); in spp_create_sdp_record_internal()
81 attribute = de_push_sequence(service); in spp_create_sdp_record_internal()
83 uint8_t* l2cpProtocol = de_push_sequence(attribute); in spp_create_sdp_record_internal()
87 de_pop_sequence(attribute, l2cpProtocol); in spp_create_sdp_record_internal()
89 uint8_t* rfcomm = de_push_sequence(attribute); in spp_create_sdp_record_internal()
94 de_pop_sequence(attribute, rfcomm); in spp_create_sdp_record_internal()
[all …]
H A Dgatt_sdp.c57 uint8_t* attribute; in gatt_create_sdp_record() local
66 attribute = de_push_sequence(service); in gatt_create_sdp_record()
68 de_add_number(attribute, DE_UUID, DE_SIZE_32, ORG_BLUETOOTH_SERVICE_GENERIC_ATTRIBUTE); in gatt_create_sdp_record()
70 de_pop_sequence(service, attribute); in gatt_create_sdp_record()
74 attribute = de_push_sequence(service); in gatt_create_sdp_record()
76 uint8_t* l2cap_protocol = de_push_sequence(attribute); in gatt_create_sdp_record()
81 de_pop_sequence(attribute, l2cap_protocol); in gatt_create_sdp_record()
83 uint8_t* att_protocol = de_push_sequence(attribute); in gatt_create_sdp_record()
90 de_pop_sequence(attribute, att_protocol); in gatt_create_sdp_record()
92 de_pop_sequence(service, attribute); in gatt_create_sdp_record()
[all …]
H A Dpan.c71 uint8_t* attribute; in pan_create_service() local
80 attribute = de_push_sequence(service); in pan_create_service()
83 de_add_number(attribute, DE_UUID, DE_SIZE_32, service_uuid); in pan_create_service()
85 de_pop_sequence(service, attribute); in pan_create_service()
89 attribute = de_push_sequence(service); in pan_create_service()
91 uint8_t* l2cpProtocol = de_push_sequence(attribute); in pan_create_service()
96 de_pop_sequence(attribute, l2cpProtocol); in pan_create_service()
98 uint8_t* bnep = de_push_sequence(attribute); in pan_create_service()
113 de_pop_sequence(attribute, bnep); in pan_create_service()
115 de_pop_sequence(service, attribute); in pan_create_service()
[all …]
H A Ddevice_id_server.c58 uint8_t* attribute; in device_id_create_sdp_record() local
67 attribute = de_push_sequence(service); in device_id_create_sdp_record()
69 de_add_number(attribute, DE_UUID, DE_SIZE_16, BLUETOOTH_SERVICE_CLASS_PNP_INFORMATION ); in device_id_create_sdp_record()
71 de_pop_sequence(service, attribute); in device_id_create_sdp_record()
75 attribute = de_push_sequence(service); in device_id_create_sdp_record()
77 de_add_number(attribute, DE_UUID, DE_SIZE_16, BLUETOOTH_ATTRIBUTE_PUBLIC_BROWSE_ROOT ); in device_id_create_sdp_record()
79 de_pop_sequence(service, attribute); in device_id_create_sdp_record()
H A Dhid_device.c176 uint8_t * attribute; in hid_create_sdp_record() local
183 attribute = de_push_sequence(service); in hid_create_sdp_record()
185 …de_add_number(attribute, DE_UUID, DE_SIZE_16, BLUETOOTH_SERVICE_CLASS_HUMAN_INTERFACE_DEVICE_SERV… in hid_create_sdp_record()
187 de_pop_sequence(service, attribute); in hid_create_sdp_record()
190 attribute = de_push_sequence(service); in hid_create_sdp_record()
192 uint8_t * l2cpProtocol = de_push_sequence(attribute); in hid_create_sdp_record()
197 de_pop_sequence(attribute, l2cpProtocol); in hid_create_sdp_record()
199 uint8_t * hidProtocol = de_push_sequence(attribute); in hid_create_sdp_record()
203 de_pop_sequence(attribute, hidProtocol); in hid_create_sdp_record()
205 de_pop_sequence(service, attribute); in hid_create_sdp_record()
[all …]
H A Dhsp_hs.c223 uint8_t* attribute; in hsp_hs_create_sdp_record() local
232 attribute = de_push_sequence(service); in hsp_hs_create_sdp_record()
235 … de_add_number(attribute, DE_UUID, DE_SIZE_16, BLUETOOTH_SERVICE_CLASS_HEADSET); // 0x1108 in hsp_hs_create_sdp_record()
236 … de_add_number(attribute, DE_UUID, DE_SIZE_16, BLUETOOTH_SERVICE_CLASS_HEADSET_HS); // 0x1131 in hsp_hs_create_sdp_record()
237 … de_add_number(attribute, DE_UUID, DE_SIZE_16, BLUETOOTH_SERVICE_CLASS_GENERIC_AUDIO); // 0x1203 in hsp_hs_create_sdp_record()
239 de_pop_sequence(service, attribute); in hsp_hs_create_sdp_record()
243 attribute = de_push_sequence(service); in hsp_hs_create_sdp_record()
245 uint8_t* l2cpProtocol = de_push_sequence(attribute); in hsp_hs_create_sdp_record()
249 de_pop_sequence(attribute, l2cpProtocol); in hsp_hs_create_sdp_record()
251 uint8_t* rfcomm = de_push_sequence(attribute); in hsp_hs_create_sdp_record()
[all …]
H A Dhsp_ag.c203 uint8_t* attribute; in hsp_ag_create_sdp_record() local
212 attribute = de_push_sequence(service); in hsp_ag_create_sdp_record()
215 … de_add_number(attribute, DE_UUID, DE_SIZE_16, BLUETOOTH_SERVICE_CLASS_HEADSET_AUDIO_GATEWAY_AG); in hsp_ag_create_sdp_record()
216 de_add_number(attribute, DE_UUID, DE_SIZE_16, BLUETOOTH_SERVICE_CLASS_GENERIC_AUDIO); in hsp_ag_create_sdp_record()
218 de_pop_sequence(service, attribute); in hsp_ag_create_sdp_record()
222 attribute = de_push_sequence(service); in hsp_ag_create_sdp_record()
224 uint8_t* l2cpProtocol = de_push_sequence(attribute); in hsp_ag_create_sdp_record()
228 de_pop_sequence(attribute, l2cpProtocol); in hsp_ag_create_sdp_record()
230 uint8_t* rfcomm = de_push_sequence(attribute); in hsp_ag_create_sdp_record()
235 de_pop_sequence(attribute, rfcomm); in hsp_ag_create_sdp_record()
[all …]
H A Davrcp.c248 uint8_t* attribute; in avrcp_create_sdp_record() local
257 attribute = de_push_sequence(service); in avrcp_create_sdp_record()
260 … de_add_number(attribute, DE_UUID, DE_SIZE_16, BLUETOOTH_SERVICE_CLASS_AV_REMOTE_CONTROL); in avrcp_create_sdp_record()
261 …de_add_number(attribute, DE_UUID, DE_SIZE_16, BLUETOOTH_SERVICE_CLASS_AV_REMOTE_CONTROL_CONTROLLER… in avrcp_create_sdp_record()
263 … de_add_number(attribute, DE_UUID, DE_SIZE_16, BLUETOOTH_SERVICE_CLASS_AV_REMOTE_CONTROL_TARGET); in avrcp_create_sdp_record()
266 de_pop_sequence(service, attribute); in avrcp_create_sdp_record()
270 attribute = de_push_sequence(service); in avrcp_create_sdp_record()
272 uint8_t* l2cpProtocol = de_push_sequence(attribute); in avrcp_create_sdp_record()
277 de_pop_sequence(attribute, l2cpProtocol); in avrcp_create_sdp_record()
279 uint8_t* avctpProtocol = de_push_sequence(attribute); in avrcp_create_sdp_record()
[all …]
H A Da2dp.c90 uint8_t* attribute; in a2dp_create_sdp_record() local
99 attribute = de_push_sequence(service); in a2dp_create_sdp_record()
101 de_add_number(attribute, DE_UUID, DE_SIZE_16, service_class_uuid); in a2dp_create_sdp_record()
103 de_pop_sequence(service, attribute); in a2dp_create_sdp_record()
107 attribute = de_push_sequence(service); in a2dp_create_sdp_record()
109 uint8_t* l2cpProtocol = de_push_sequence(attribute); in a2dp_create_sdp_record()
114 de_pop_sequence(attribute, l2cpProtocol); in a2dp_create_sdp_record()
116 uint8_t* avProtocol = de_push_sequence(attribute); in a2dp_create_sdp_record()
121 de_pop_sequence(attribute, avProtocol); in a2dp_create_sdp_record()
123 de_pop_sequence(service, attribute); in a2dp_create_sdp_record()
[all …]
H A Dhfp.c703 uint8_t* attribute; in hfp_create_sdp_record() local
712 attribute = de_push_sequence(service); in hfp_create_sdp_record()
715 de_add_number(attribute, DE_UUID, DE_SIZE_16, service_uuid); in hfp_create_sdp_record()
716 de_add_number(attribute, DE_UUID, DE_SIZE_16, BLUETOOTH_SERVICE_CLASS_GENERIC_AUDIO); in hfp_create_sdp_record()
718 de_pop_sequence(service, attribute); in hfp_create_sdp_record()
722 attribute = de_push_sequence(service); in hfp_create_sdp_record()
724 uint8_t* l2cpProtocol = de_push_sequence(attribute); in hfp_create_sdp_record()
728 de_pop_sequence(attribute, l2cpProtocol); in hfp_create_sdp_record()
730 uint8_t* rfcomm = de_push_sequence(attribute); in hfp_create_sdp_record()
735 de_pop_sequence(attribute, rfcomm); in hfp_create_sdp_record()
[all …]
H A Dpbap_client.c1423 uint8_t* attribute; in pbap_client_create_sdp_record() local
1432 attribute = de_push_sequence(service); in pbap_client_create_sdp_record()
1434 de_add_number(attribute, DE_UUID, DE_SIZE_16, BLUETOOTH_SERVICE_CLASS_PHONEBOOK_ACCESS_PCE); in pbap_client_create_sdp_record()
1436 de_pop_sequence(service, attribute); in pbap_client_create_sdp_record()
1440 attribute = de_push_sequence(service); in pbap_client_create_sdp_record()
1442 uint8_t *pbapServerProfile = de_push_sequence(attribute); in pbap_client_create_sdp_record()
1447 de_pop_sequence(attribute, pbapServerProfile); in pbap_client_create_sdp_record()
1449 de_pop_sequence(service, attribute); in pbap_client_create_sdp_record()
/btstack/doc/notes/
H A DSDP.txt9 * service attribute = { attribute ID, attribute value }
14 * attribute ID: 16 bit (pre-defined), data element
15 * attribute value: var length field, data element
16 * service class: UUID (128 bit) stored as ServiceClassIDList attribute
22 …rowse Group UUID: all top-level services contain browse group UUID in the BrowseGroupList attribute
37 * attribute ID in AttributeIDList
41 * get attribute value (DE) for attribute ID
75 * ServiceAttributeRequest: Iterate over all attributes - use attribute index as cont.
76 …* ServiceSearchAttributeRequest: Iterate over all records and attributes. Use {record, attribute} …
/btstack/test/security_manager_sc/
H A Dsm_test.py308 for attribute in attributes:
309 name = attribute
310 if attribute == 'header':
314 elif attribute == '---':
318 elif attribute == 'io_capabilities':
321 elif attribute == 'mitm':
324 elif attribute == 'secure_connection':
327 elif attribute == 'keypress':
330 elif attribute == 'rfu':
333 elif attribute == 'passkey':
[all …]
/btstack/port/msp432p401lp-cc256x/
H A Dmain.c328 uint32_t attribute = MAP_DMA_getChannelAttribute(DMA_CH5_EUSCIA2RX & 0x0F); in hal_uart_dma_update_rts() local
329 uint8_t active_transfer_buffer = (attribute & UDMA_ATTR_ALTSELECT) ? 1 : 0; in hal_uart_dma_update_rts()
/btstack/doc/manual/docs-template/
H A Dprotocols.md639 attributes are added to it. The Service Record Handle attribute is added
641 0x0000 as attribute ID, and the second time to add the actual record
642 handle (here 0x1000) as attribute value. The Service Class ID List
643 attribute has ID 0x0001, and it requires a list of UUIDs as attribute
667 the attribute value byte by byte.
788 The ATT protocol is used by an ATT client to read and write attribute
790 the client about attribute value changes. An attribute has a handle, a
799 into the corresponding ATT attribute database and provided by the *att_server*
H A Dprofiles.md629 identify a Characteristic without hard-coding the attribute ID, the GATT
640 to *btstack_config.h*. Now, you can store the requested attribute handle and return
642 For ATT operations that read more than one attribute, your *att_read_callback*
644 attribute handles have been 'requested' by the *att_server*, you'll get a final
645 *att_read_callback* with the attribute handle of *ATT_READ_RESPONSE_PENDING*.
726 …eed to know the attribute handle for particular Characteristics to handle Characteristic read/writ…
728attribute value handle, the handle for the Client Characteristic Configuration is needed to suppor…
/btstack/port/samv71-xplained-atwilc3000/ASF/sam/utils/make/
H A DMakefile.sam.in289 cflags-gnu-y += -Wformat -Wmissing-format-attribute -Wno-deprecated-declarations
/btstack/
H A DREADME.md45 …ation guidelines](https://bluekitchen-gmbh.com/btstack/profiles/#gatt-generic-attribute-profile).
H A DCHANGELOG.md50 - SDP Server: skip empty attribute lists in Service Search Attribute Response
1243 - ATT DB Util: attribute handle is returned for new Services and Characteristics