1 /** 2 * Copyright (c) 2019 Oticon A/S 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 /** 7 * @brief Service E 8 * 9 * This code is auto-generated from the Excel Workbook 10 * 'GATT_Test_Databases.xlsm' Sheet: 'Large Database 3' 11 */ 12 #include <zephyr/sys/byteorder.h> 13 #include <zephyr/sys/printk.h> 14 15 #include <zephyr/bluetooth/gatt.h> 16 17 #include "gatt_macs.h" 18 19 /** 20 * @brief UUID for the Service E 21 */ 22 #define BT_UUID_SERVICE_E BT_UUID_DECLARE_16(0xa00e) 23 24 static struct bt_gatt_attr service_e_3_attrs[] = { 25 BT_GATT_H_PRIMARY_SERVICE(BT_UUID_SERVICE_E, 0xFFFF) 26 }; 27 28 static struct bt_gatt_service service_e_3_svc = 29 BT_GATT_SERVICE(service_e_3_attrs); 30 31 /** 32 * @brief Register the Service E and all its Characteristics... 33 */ service_e_3_init(void)34void service_e_3_init(void) 35 { 36 bt_gatt_service_register(&service_e_3_svc); 37 } 38 39 /** 40 * @brief Un-Register the Service E and all its Characteristics... 41 */ service_e_3_remove(void)42void service_e_3_remove(void) 43 { 44 bt_gatt_service_unregister(&service_e_3_svc); 45 } 46