att_server: fix use of service packet handler

This commit is contained in:
Matthias Ringwald 2019-03-18 19:37:17 +01:00
parent 826b57efe1
commit a444112b40

View File

@ -135,7 +135,7 @@ static void att_handle_value_indication_notify_client(uint8_t status, uint16_t c
little_endian_store_16(event, pos, client_handle); little_endian_store_16(event, pos, client_handle);
pos += 2; pos += 2;
little_endian_store_16(event, pos, attribute_handle); little_endian_store_16(event, pos, attribute_handle);
(*att_client_packet_handler)(HCI_EVENT_PACKET, 0, &event[0], sizeof(event)); (*packet_handler)(HCI_EVENT_PACKET, 0, &event[0], sizeof(event));
} }
static void att_emit_event_to_all(const uint8_t * event, uint16_t size){ static void att_emit_event_to_all(const uint8_t * event, uint16_t size){