mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-31 01:20:44 +00:00
example/le_streamer_client: stop on enable notify error
This commit is contained in:
parent
34c39fbd75
commit
6da5c9d5bb
@ -293,6 +293,7 @@ static void handle_gatt_client_event(uint8_t packet_type, uint16_t channel, uint
|
||||
switch(hci_event_packet_get_type(packet)){
|
||||
case GATT_EVENT_QUERY_COMPLETE:
|
||||
printf("Notifications enabled, status %02x\n", gatt_event_query_complete_get_status(packet));
|
||||
if ( gatt_event_query_complete_get_status(packet)) break;
|
||||
state = TC_W4_TEST_DATA;
|
||||
#if (TEST_MODE & TEST_MODE_WRITE_WITHOUT_RESPONSE)
|
||||
printf("Start streaming - request can send now.\n");
|
||||
|
Loading…
x
Reference in New Issue
Block a user