14 lines
481 B
C
14 lines
481 B
C
#pragma once
|
|
|
|
#include "host/ble_gatt.h"
|
|
#include "host/ble_uuid.h"
|
|
|
|
#include "BLEh.h"
|
|
#include <stdint.h>
|
|
|
|
typedef void* gatt_value_server_handle_t;
|
|
|
|
gatt_value_server_handle_t simple_gatt_value_server(void* values, int values_num, size_t values_size, struct char_pres_format format, struct ble_gatt_svc_def* svc, uint16_t svc_ind, ble_uuid_t* uuid);
|
|
void simple_gatt_value_server_deinit();
|
|
|
|
void simple_gatt_value_server_notify(gatt_value_server_handle_t handle, int values_num); |