Go to the documentation of this file.
66 #include "custom_config.h"
73 #define DIS_CONNECTION_MAX 10
74 #define DIS_SYS_ID_LEN 8
75 #define DIS_PNP_ID_LEN 7
76 #define DIS_VAL_MAX_LEN 128
77 #define DIS_IEEE_CERTIF_MIN_LEN 6
84 #define DIS_CHAR_SYSTEM_ID_SUP 0x00000006
85 #define DIS_CHAR_MODEL_NUMBER_SUP 0x00000018
86 #define DIS_CHAR_SERIAL_NUMBER_SUP 0x00000060
87 #define DIS_CHAR_FIRMWARE_REV_SUP 0x00000180
88 #define DIS_CHAR_HARDWARE_REV_SUP 0x00000600
89 #define DIS_CHAR_SOFTWARE_REV_SUP 0x00001800
90 #define DIS_CHAR_MANUFACTURER_NAME_SUP 0x00006000
91 #define DIS_CHAR_11073_CERT_DATA_SUP 0x00018000
92 #define DIS_CHAR_PNP_ID_SUP 0x00060000
93 #define DIS_CHAR_FULL 0x0007ffff
100 #define DIS_11073_BODY_EMPTY 0
101 #define DIS_11073_BODY_IEEE 1
102 #define DIS_11073_BODY_CONTINUA 2
103 #define DIS_11073_BODY_EXP 254
122 uint8_t manufacturer_id[5];
123 uint8_t org_unique_id[3];
dis_reg_cert_data_list_t reg_cert_data_list
System ID parameters. The first field is the LSOs and the second field contains the MSOs.
dis_string_t model_num_str
dis_string_t manufact_name_str
uint16_t sdk_err_t
SDK API result type.
dis_string_t serial_num_str
uint16_t dis_service_start_handle_get(void)
Provide the interface for other modules to obtain the dis service start handle .
Device Information Service init structure. This contains all options and data needed for initializati...
IEEE 11073-20601 Regulatory Certification Data List Structure.
sdk_err_t dis_service_init(dis_init_t *p_dis_init)
Initialize a Device Information Service instance and add in the database.