use channel_nr instead of rfcomm_channel_nr

This commit is contained in:
matthias.ringwald@gmail.com 2013-04-26 20:51:03 +00:00
parent 5f74f46bbb
commit fc0aa8102b
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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;