mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-25 09:35:42 +00:00
sdp_parser: replace sdp_query_service_record_handle_event_t with regular hci event
This commit is contained in:
parent
fd2eb611c5
commit
7620b4f095
@ -41,16 +41,16 @@ static uint8_t sdp_test_record_list[] = {
|
||||
|
||||
|
||||
static void handle_sdp_parser_event(sdp_query_event_t * event){
|
||||
sdp_query_service_record_handle_event_t * ve;
|
||||
const uint8_t * ve;
|
||||
const uint8_t * ce;
|
||||
|
||||
static uint32_t record_handle = sdp_test_record_list[0];
|
||||
|
||||
switch (event->type){
|
||||
case SDP_QUERY_SERVICE_RECORD_HANDLE:
|
||||
ve = (sdp_query_service_record_handle_event_t*) event;
|
||||
ve = (const uint8_t*) event;
|
||||
|
||||
CHECK_EQUAL(ve->record_handle, record_handle);
|
||||
CHECK_EQUAL(sdp_query_service_record_handle_event_get_record_handle(ve), record_handle);
|
||||
record_handle++;
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user