mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-04 15:39:59 +00:00
mesh: disable printfs in mesh gatt services
This commit is contained in:
parent
e1a07a2123
commit
017cc24260
@ -116,7 +116,6 @@ static uint16_t mesh_provisioning_service_read_callback(hci_con_handle_t con_han
|
||||
}
|
||||
return 2;
|
||||
}
|
||||
printf("mesh_provisioning_service_read_callback: not handled read on handle 0x%02x\n", attribute_handle);
|
||||
log_info("mesh_provisioning_service_read_callback: not handled read on handle 0x%02x", attribute_handle);
|
||||
return 0;
|
||||
}
|
||||
@ -131,8 +130,6 @@ static int mesh_provisioning_service_write_callback(hci_con_handle_t con_handle,
|
||||
log_error("mesh_provisioning_service_write_callback: instance is null");
|
||||
return 0;
|
||||
}
|
||||
printf("mesh_provisioning_service_write_callback: handle 0x%02x, buffer size %d: ", attribute_handle, buffer_size);
|
||||
printf_hexdump(buffer, buffer_size);
|
||||
|
||||
if (attribute_handle == instance->data_in_client_value_handle){
|
||||
if (!mesh_provisioning_service_packet_handler) return 0;
|
||||
|
@ -167,9 +167,9 @@ void mesh_proxy_service_server_init(void){
|
||||
instance->data_out_client_value_handle = gatt_server_get_value_handle_for_characteristic_with_uuid16(start_handle, end_handle, ORG_BLUETOOTH_CHARACTERISTIC_MESH_PROXY_DATA_OUT);
|
||||
instance->data_out_client_configuration_descriptor_handle = gatt_server_get_client_configuration_handle_for_characteristic_with_uuid16(start_handle, end_handle, ORG_BLUETOOTH_CHARACTERISTIC_MESH_PROXY_DATA_OUT);
|
||||
|
||||
printf("DataIn value handle 0x%02x\n", instance->data_in_client_value_handle);
|
||||
printf("DataOut value handle 0x%02x\n", instance->data_out_client_value_handle);
|
||||
printf("DataOut CC value handle 0x%02x\n", instance->data_out_client_configuration_descriptor_handle);
|
||||
log_info("DataIn value handle 0x%02x", instance->data_in_client_value_handle);
|
||||
log_info("DataOut value handle 0x%02x", instance->data_out_client_value_handle);
|
||||
log_info("DataOut CC value handle 0x%02x", instance->data_out_client_configuration_descriptor_handle);
|
||||
|
||||
mesh_proxy_service.start_handle = start_handle;
|
||||
mesh_proxy_service.end_handle = end_handle;
|
||||
|
Loading…
x
Reference in New Issue
Block a user