}
const btgatt_server_interface_t btgatt_server_interface = {
- gatt_server_register_app,
- gatt_server_unregister_app,
- gatt_server_open,
- gatt_server_close,
- gatt_server_add_service,
- gatt_server_add_included_service,
- gatt_server_add_characteristic,
- gatt_server_add_descriptor,
- gatt_server_start_service,
- gatt_server_stop_service,
- gatt_server_delete_service,
- gatt_server_send_indication,
- gatt_server_send_response,
- gatt_server_update_att_value,
- gatt_server_listen,
- gatt_server_set_adv_data,
- gatt_server_multi_adv_enable,
- gatt_server_multi_adv_update,
- gatt_server_multi_adv_set_inst_data,
- gatt_server_multi_adv_disable,
- gatt_server_get_mtu_size,
- gatt_server_send_acquire_response
+ .register_server = gatt_server_register_app,
+ .unregister_server = gatt_server_unregister_app,
+ .connect = gatt_server_open,
+ .disconnect = gatt_server_close,
+ .add_service = gatt_server_add_service,
+ .add_included_service = gatt_server_add_included_service,
+ .add_characteristic = gatt_server_add_characteristic,
+ .add_descriptor = gatt_server_add_descriptor,
+ .start_service = gatt_server_start_service,
+ .stop_service = gatt_server_stop_service,
+ .delete_service = gatt_server_delete_service,
+ .send_indication = gatt_server_send_indication,
+ .send_response = gatt_server_send_response,
+ .update_att_value = gatt_server_update_att_value,
+ .listen = gatt_server_listen,
+ .set_adv_data = gatt_server_set_adv_data,
+ .multi_adv_enable = gatt_server_multi_adv_enable,
+ .multi_adv_update = gatt_server_multi_adv_update,
+ .multi_adv_set_inst_data = gatt_server_multi_adv_set_inst_data,
+ .multi_adv_disable = gatt_server_multi_adv_disable,
+ .get_att_mtu = gatt_server_get_mtu_size,
+ .send_response_acquire = gatt_server_send_acquire_response
};