mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-01 09:08:06 +00:00
fix build
This commit is contained in:
parent
25107fb724
commit
eaac31e881
@ -182,7 +182,7 @@ static void packet_handler(uint8_t packet_type, uint16_t channel, uint8_t *packe
|
||||
printf("with COD: 0x%06x, ", (unsigned int) gap_event_inquiry_result_get_class_of_device(packet));
|
||||
printf("pageScan %d, ", devices[deviceCount].pageScanRepetitionMode);
|
||||
printf("clock offset 0x%04x",devices[deviceCount].clockOffset & 0x7fff);
|
||||
if (gap_event_inquiry_result_get_rssi_availabe(packet)){
|
||||
if (gap_event_inquiry_result_get_rssi_available(packet)){
|
||||
printf(", rssi %d dBm", (int8_t) gap_event_inquiry_result_get_rssi(packet));
|
||||
}
|
||||
if (gap_event_inquiry_result_get_name_available(packet)){
|
||||
|
@ -407,7 +407,7 @@ static void packet_handler(uint8_t packet_type, uint16_t channel, uint8_t * even
|
||||
// print info
|
||||
printf("Device found: %s ", bd_addr_to_str(addr));
|
||||
printf("with COD: 0x%06x, ", (unsigned int) gap_event_inquiry_result_get_class_of_device(event));
|
||||
if (gap_event_inquiry_result_get_rssi_availabe(event)){
|
||||
if (gap_event_inquiry_result_get_rssi_available(event)){
|
||||
printf(", rssi %d dBm", (int8_t) gap_event_inquiry_result_get_rssi(event));
|
||||
}
|
||||
if (gap_event_inquiry_result_get_name_available(event)){
|
||||
|
@ -516,7 +516,7 @@ int att_server_indicate(hci_con_handle_t con_handle, uint16_t attribute_handle,
|
||||
att_server_t * att_server = att_server_for_handle(con_handle);
|
||||
if (!att_server) return ERROR_CODE_UNKNOWN_CONNECTION_IDENTIFIER;
|
||||
|
||||
if (att_server->value_indication_handle) return ATT_HANDLE_VALUE_INDICATION_IN_PORGRESS;
|
||||
if (att_server->value_indication_handle) return ATT_HANDLE_VALUE_INDICATION_IN_PROGRESS;
|
||||
if (!att_dispatch_server_can_send_now(con_handle)) return BTSTACK_ACL_BUFFERS_FULL;
|
||||
|
||||
// track indication
|
||||
|
Loading…
Reference in New Issue
Block a user