mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-28 18:32:41 +00:00
use channel_nr instead of rfcomm_channel_nr
This commit is contained in:
parent
5f74f46bbb
commit
fc0aa8102b
@ -198,7 +198,7 @@ void handleServiceNameData(uint32_t attribute_value_length, uint32_t data_offset
|
||||
sdp_query_rfcomm_service_event_t value_event = {
|
||||
.type = SDP_QUERY_RFCOMM_SERVICE,
|
||||
.service_name = (uint8_t *) sdp_service_name,
|
||||
.rfcomm_channel_nr = sdp_rfcom_channel_nr
|
||||
.channel_nr = sdp_rfcom_channel_nr
|
||||
};
|
||||
printf("Service found %s\n", sdp_service_name);
|
||||
(*sdp_app_callback)((sdp_query_rfcomm_event_t*)&value_event, sdp_app_context);
|
||||
|
@ -15,7 +15,7 @@ typedef struct sdp_query_rfcomm_event {
|
||||
|
||||
typedef struct sdp_query_rfcomm_service_event {
|
||||
uint8_t type;
|
||||
uint8_t rfcomm_channel_nr;
|
||||
uint8_t channel_nr;
|
||||
uint8_t * service_name;
|
||||
} sdp_query_rfcomm_service_event_t;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user