Mistake on this page? Email us
fcc_defs.h
Go to the documentation of this file.
1 // ----------------------------------------------------------------------------
2 // Copyright 2016-2017 ARM Ltd.
3 //
4 // Licensed under the Apache License, Version 2.0 (the "License");
5 // you may not use this file except in compliance with the License.
6 // You may obtain a copy of the License at
7 //
8 // http://www.apache.org/licenses/LICENSE-2.0
9 //
10 // Unless required by applicable law or agreed to in writing, software
11 // distributed under the License is distributed on an "AS IS" BASIS,
12 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 // See the License for the specific language governing permissions and
14 // limitations under the License.
15 // ----------------------------------------------------------------------------
16 
17 #ifndef __FCC_DEFS_H__
18 #define __FCC_DEFS_H__
19 
20 
21 #ifdef __cplusplus
22 extern "C" {
23 #endif
24 
29 /*
30 * Warnings linked list structure
31 */
33  //Example for warning_info_string - "Certificate is self signed:mbed.BootstrapServerCACert"
34  char *warning_info_string;// pattern of the warning string - warning_string:item_name
35  struct fcc_warning_info_ *next;
36 };
37 typedef struct fcc_warning_info_ fcc_warning_info_s;
41 typedef struct fcc_output_info_ {
42  //Example for error_string_info - "Invalid certificate:mbed.BootstrapServerCACert"
43  char *error_string_info; // pattern of the error string - error_string:failed_item_name. Only one error string is possible.
44  size_t size_of_warning_info_list; // size of warning_info_list
45  struct fcc_warning_info_ *head_of_warning_list; //The head of warning list
46  struct fcc_warning_info_ *tail_of_warning_list; //The tail of warning list
48 /*=== Device general information ===*/
49 
53 extern const char g_fcc_use_bootstrap_parameter_name[];
54 
58 extern const char g_fcc_endpoint_parameter_name[];
59 
63 extern const char g_fcc_first_to_claim_parameter_name[];
64 
65 /*=== Device meta data ===*/
66 
70 extern const char g_fcc_manufacturer_parameter_name[];
71 
75 extern const char g_fcc_model_number_parameter_name[];
76 
80 extern const char g_fcc_device_type_parameter_name[];
81 
85 extern const char g_fcc_hardware_version_parameter_name[];
86 
90 extern const char g_fcc_memory_size_parameter_name[];
91 
96 
100 extern const char g_fcc_current_time_parameter_name[];
104 extern const char g_fcc_device_time_zone_parameter_name[];
108 extern const char g_fcc_offset_from_utc_parameter_name[];
109 
110 /*=== Bootstrap configuration ===*/
111 
116 
120 extern const char g_fcc_bootstrap_server_crl_name[];
121 
125 extern const char g_fcc_bootstrap_server_uri_name[];
126 
130 extern const char g_fcc_bootstrap_device_certificate_name[];
131 
135 extern const char g_fcc_bootstrap_device_private_key_name[];
136 
137 /*=== LWM2M configuration ===*/
138 
142 extern const char g_fcc_lwm2m_server_ca_certificate_name[];
143 
147 extern const char g_fcc_lwm2m_server_crl_name[];
148 
152 extern const char g_fcc_lwm2m_server_uri_name[];
153 
157 extern const char g_fcc_lwm2m_device_certificate_name[];
158 
162 extern const char g_fcc_lwm2m_device_private_key_name[];
163 
168 
169 
173 extern const char g_fcc_class_id_name[];
174 
179 extern const char g_fcc_vendor_id_name[];
180 
181 
182 #ifdef __cplusplus
183 }
184 #endif
185 
186 #endif //__FCC_DEFS_H__
const char g_fcc_device_type_parameter_name[]
const char g_fcc_bootstrap_server_uri_name[]
const char g_fcc_offset_from_utc_parameter_name[]
const char g_fcc_device_serial_number_parameter_name[]
const char g_fcc_lwm2m_server_uri_name[]
const char g_fcc_device_time_zone_parameter_name[]
const char g_fcc_bootstrap_device_private_key_name[]
const char g_fcc_hardware_version_parameter_name[]
const char g_fcc_use_bootstrap_parameter_name[]
const char g_fcc_class_id_name[]
const char g_fcc_endpoint_parameter_name[]
const char g_fcc_vendor_id_name[]
const char g_fcc_bootstrap_device_certificate_name[]
const char g_fcc_lwm2m_server_crl_name[]
const char g_fcc_lwm2m_device_private_key_name[]
const char g_fcc_first_to_claim_parameter_name[]
Definition: fcc_defs.h:41
const char g_fcc_bootstrap_server_crl_name[]
struct fcc_output_info_ fcc_output_info_s
const char g_fcc_model_number_parameter_name[]
const char g_fcc_lwm2m_device_certificate_name[]
Definition: fcc_defs.h:32
const char g_fcc_lwm2m_server_ca_certificate_name[]
const char g_fcc_update_authentication_certificate_name[]
const char g_fcc_bootstrap_server_ca_certificate_name[]
const char g_fcc_current_time_parameter_name[]
const char g_fcc_manufacturer_parameter_name[]
const char g_fcc_memory_size_parameter_name[]