mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-04-02 07:20:16 +00:00
shortened function names
This commit is contained in:
parent
49f1a62f59
commit
0cfafc5a1d
@ -323,7 +323,7 @@ static int btstack_command_handler(connection_t *connection, uint8_t *packet, ui
|
|||||||
case SDP_CLIENT_QUERY_RFCOMM_SERVICES:
|
case SDP_CLIENT_QUERY_RFCOMM_SERVICES:
|
||||||
bt_flip_addr(addr, &packet[3]);
|
bt_flip_addr(addr, &packet[3]);
|
||||||
sdp_query_rfcomm_register_callback(handle_sdp_rfcomm_service_result, connection);
|
sdp_query_rfcomm_register_callback(handle_sdp_rfcomm_service_result, connection);
|
||||||
sdp_query_rfcomm_channel_and_name_for_service_with_service_search_pattern(addr, &packet[9]);
|
sdp_query_rfcomm_channel_and_name_for_search_pattern(addr, &packet[9]);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
@ -286,15 +286,15 @@ void sdp_query_rfcomm_init(){
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void sdp_query_rfcomm_channel_and_name_for_service_with_service_search_pattern(bd_addr_t remote, uint8_t * serviceSearchPattern){
|
void sdp_query_rfcomm_channel_and_name_for_search_pattern(bd_addr_t remote, uint8_t * serviceSearchPattern){
|
||||||
sdp_parser_init();
|
sdp_parser_init();
|
||||||
sdp_query_rfcomm_init();
|
sdp_query_rfcomm_init();
|
||||||
sdp_client_query(remote, serviceSearchPattern, (uint8_t*)&des_attributeIDList[0]);
|
sdp_client_query(remote, serviceSearchPattern, (uint8_t*)&des_attributeIDList[0]);
|
||||||
}
|
}
|
||||||
|
|
||||||
void sdp_query_rfcomm_channel_and_name_for_service_with_uuid(bd_addr_t remote, uint16_t uuid){
|
void sdp_query_rfcomm_channel_and_name_for_uuid(bd_addr_t remote, uint16_t uuid){
|
||||||
net_store_16(des_serviceSearchPattern, 3, uuid);
|
net_store_16(des_serviceSearchPattern, 3, uuid);
|
||||||
sdp_query_rfcomm_channel_and_name_for_service_with_service_search_pattern(remote, (uint8_t*)des_serviceSearchPattern);
|
sdp_query_rfcomm_channel_and_name_for_search_pattern(remote, (uint8_t*)des_serviceSearchPattern);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -63,10 +63,10 @@ typedef struct sdp_query_rfcomm_service_event {
|
|||||||
void sdp_query_rfcomm_init(void);
|
void sdp_query_rfcomm_init(void);
|
||||||
|
|
||||||
// Searches SDP records on a remote device for RFCOMM services with the given UUID.
|
// Searches SDP records on a remote device for RFCOMM services with the given UUID.
|
||||||
void sdp_query_rfcomm_channel_and_name_for_service_with_uuid(bd_addr_t remote, uint16_t uuid);
|
void sdp_query_rfcomm_channel_and_name_for_uuid(bd_addr_t remote, uint16_t uuid);
|
||||||
|
|
||||||
// Searches SDP records on a remote device for RFCOMM services with a given service search pattern.
|
// Searches SDP records on a remote device for RFCOMM services with a given service search pattern.
|
||||||
void sdp_query_rfcomm_channel_and_name_for_service_with_service_search_pattern(bd_addr_t remote, uint8_t * des_serviceSearchPattern);
|
void sdp_query_rfcomm_channel_and_name_for_search_pattern(bd_addr_t remote, uint8_t * des_serviceSearchPattern);
|
||||||
|
|
||||||
// Registers a callback to receive RFCOMM service and done event.
|
// Registers a callback to receive RFCOMM service and done event.
|
||||||
void sdp_query_rfcomm_register_callback(void(*sdp_app_callback)(sdp_query_event_t * event, void * context), void * context);
|
void sdp_query_rfcomm_register_callback(void(*sdp_app_callback)(sdp_query_event_t * event, void * context), void * context);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user