ble_svc_sps_defs variable
Syntax
static const struct ble_gatt_svc_def ble_svc_sps_defs[] = {
{
.type = BLE_GATT_SVC_TYPE_PRIMARY,
.uuid = BLE_UUID16_DECLARE(BLE_SVC_SPS_UUID16),
.characteristics = (struct ble_gatt_chr_def[]) { {
.uuid = BLE_UUID16_DECLARE(BLE_SVC_SPS_CHR_UUID16_SCAN_ITVL_WINDOW),
.access_cb = ble_svc_sps_access,
.flags = BLE_GATT_CHR_F_WRITE_NO_RSP,
.val_handle = &ble_scan_itvl_handle,
}, {
.uuid = BLE_UUID16_DECLARE(BLE_SVC_SPS_CHR_UUID16_SCAN_REFRESH),
.access_cb = ble_svc_sps_access,
.flags = BLE_GATT_CHR_F_NOTIFY,
.val_handle = &ble_scan_refresh_handle,
}, {
0,
}, }
},
{
0,
},
};