mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-07 15:39:51 +00:00
gatt-service/device_information_service_server: fix service lookup
This commit is contained in:
parent
92f80bb035
commit
e8944524b0
@ -115,8 +115,8 @@ void device_information_service_server_init(void){
|
||||
|
||||
|
||||
// get service handle range
|
||||
uint16_t start_handle;
|
||||
uint16_t end_handle;
|
||||
uint16_t start_handle = 0;
|
||||
uint16_t end_handle = 0xffff;
|
||||
int service_found = gatt_server_get_handle_range_for_service_with_uuid16(ORG_BLUETOOTH_SERVICE_DEVICE_INFORMATION, &start_handle, &end_handle);
|
||||
btstack_assert(service_found != 0);
|
||||
UNUSED(service_found);
|
||||
|
Loading…
x
Reference in New Issue
Block a user