| Airoha M0 BLE API 1.0.5.4

service_device_information.h
1 /******************************************************************************
2 Copyright (c) Airoha 2016 - All rights reserved
3
4 FILE NAME
5 service_device_information.h
6 DESCRIPTION
7 NOTES
8 ********************************************************************************/
9 #ifndef _DEVICE_INFORMATION_SERVICE_H_
10 #define _DEVICE_INFORMATION_SERVICE_H_
11
18 #include "ble_gatt_server.h"
19
20
24 typedef struct
25 {
26 uint8_t* manufacturer_name_string;
27 uint8_t* model_number_string;
28 uint8_t* seriel_number_string;
29 uint8_t* hardware_revision_string;
30 uint8_t* firmware_revision_string;
31 uint8_t* software_revision_string;
32 uint8_t* system_id;
33 uint8_t* ieee_11073_20601_rcdl;
34 uint8_t* pnp_id;
35 }dis_init_para;
36
42 void DIS_init(dis_init_para * para);
43
44
45
46
47
51 #endif
52
53
54
dis_init_para::model_number_string
uint8_t * model_number_string
Definition: service_device_information.h:27
dis_init_para::pnp_id
uint8_t * pnp_id
Definition: service_device_information.h:34
dis_init_para::ieee_11073_20601_rcdl
uint8_t * ieee_11073_20601_rcdl
Definition: service_device_information.h:33
dis_init_para::firmware_revision_string
uint8_t * firmware_revision_string
Definition: service_device_information.h:30
dis_init_para::seriel_number_string
uint8_t * seriel_number_string
Definition: service_device_information.h:28
dis_init_para::system_id
uint8_t * system_id
Definition: service_device_information.h:32
dis_init_para::software_revision_string
uint8_t * software_revision_string
Definition: service_device_information.h:31
dis_init_para
device information service initialization Parameters
Definition: service_device_information.h:24
DIS_init
void DIS_init(dis_init_para *para)
Initialization function of device information service.
dis_init_para::manufacturer_name_string
uint8_t * manufacturer_name_string
Definition: service_device_information.h:26
dis_init_para::hardware_revision_string
uint8_t * hardware_revision_string
Definition: service_device_information.h:29