| Airoha M0 BLE API 1.0.5.4

service_mesh.h
1 /******************************************************************************
2 Copyright (c) Airoha 2016 - All rights reserved
3
4 FILE NAME
5 service_mesh.h
6 DESCRIPTION
7 NOTES
8 ********************************************************************************/
9 #ifndef _BATTERY_MESH_H_
10 #define _BATTERY_MESH_H_
11
18 #include "ble_gatt_server.h"
19
23 typedef struct
24 {
25 uint8_t * data_in;
26 ATTCB cb;
27 }mesh_init_para;
28
29
30 void MESH_provision_service_init(mesh_init_para * para);
31 void MESH_proxy_service_init(mesh_init_para * para);
32 void MESH_provision_data_out_notify(uint8_t len, uint8_t * data);
33 void MESH_proxy_data_out_notify(uint8_t len, uint8_t * data);
34
38 #endif
mesh_init_para::cb
ATTCB cb
Definition: service_mesh.h:26
ATTCB
void(* ATTCB)(ATT_CB_TYPE type, uint8_t linkindex, uint16_t handle)
attribute value accessed call back function.
Definition: ble_att.h:111
mesh_init_para
mesh service initialization Parameters
Definition: service_mesh.h:23
mesh_init_para::data_in
uint8_t * data_in
Definition: service_mesh.h:25