API  2.2
TSmarT Software Library
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
tsmart_xv.h
1 
10 #ifndef TSMART_XV_H_
11 #define TSMART_XV_H_
12 
13 /* Select interface */
14 #ifdef _USE_MIDDLEWARE_ETHERNET
15  #define PR_TSMART_XV_ETHERNET
16 #endif
17 #ifdef _USE_MIDDLEWARE_CELLULAR_2G
18  #define PR_TSMART_XV_CELLULAR_2G
19 #endif
20 #ifdef _USE_MIDDLEWARE_WIFI
21  #define PR_TSMART_XV_WIFI
22 #endif
23 #include <stdint.h>
24 #include <string.h>
25 #include <stdio.h>
26 /* FreeRTOS headers */
27 #include "FreeRTOS.h"
28 #include "task.h"
29 #include "queue.h"
30 #include "semphr.h"
31 #include "timers.h"
32 #include "tsmart_defs.h"
33 #include "tsmart_utilities.h"
34 
35 #ifdef PR_TSMART_XV_ETHERNET
36 /* Specific headers for the Ethernet interface */
37 #include "tsmart_lwip_headers.h"
38 #endif
39 #ifdef PR_TSMART_XV_CELLULAR_2G
40 #include "tsmart_cellular_2g.h"
41 #endif
42 #ifdef PR_TSMART_XV_WIFI
43 #include "tsmart_wifi_headers.h"
44 #endif
45 
56 /*--------------------------------------------------- Well-known definitions ---------------------------------------------------------*/
57 #define PR_TSMART_XV_MAXIMUM_BUFFER_SIZE 1500
58 #define PR_TSMART_XV_TRIGGER_SIZE 8
59 #define PR_TSMART_XV_FEED_SIZE 8
60 #define PR_TSMART_XV_DATASTREAM_SIZE 20
61 #define PR_TSMART_XV_TRIGGER_VALUE_SIZE 16
62 /*--------------------------------------------------- Error codes --------------------------------------------------------------------*/
63 #define TSMART_XV_FAULT_CODE1 -1
64 #define TSMART_XV_FAULT_CODE2 -2
65 #define TSMART_XV_FAULT_CODE3 -3
66 #define TSMART_XV_FAULT_CODE4 -4
80 typedef struct{
81  uint8_t v0;
82  uint8_t v1;
83  uint8_t v2;
84  uint8_t v3;
86 
87 
96 typedef struct{
97  uint8_t xv_buffer[PR_TSMART_XV_MAXIMUM_BUFFER_SIZE];
99 
103 typedef enum {
113 
116 typedef enum{
121 
124 typedef struct{
127 
131 typedef struct{
133  double *value;
135 
139 typedef struct{
141  int32_t *value;
143 
144 
148 typedef struct{
150  uint8_t *value;
152 
156 typedef union{
162 
166 typedef struct {
177  uint16_t port;
179  uint8_t trigger_id[PR_TSMART_XV_TRIGGER_SIZE];
181  uint32_t feed_id;
182  uint8_t *datastream_id;
184 
185 
188 typedef struct{
189  uint16_t year;
190  uint8_t month;
191  uint8_t day;
192  uint8_t hour;
193  uint8_t min;
194  uint8_t sec;
196 
197 
201 typedef enum{
205 
208 typedef struct{
211 
214 typedef struct{
216  uint8_t current_value[PR_TSMART_XV_TRIGGER_VALUE_SIZE];
217  uint8_t threshold_value[PR_TSMART_XV_TRIGGER_VALUE_SIZE];
218  uint32_t feed_id;
219  uint8_t datastream_id[PR_TSMART_XV_DATASTREAM_SIZE];
220  uint32_t trigger_id;
224 
225 
230 typedef enum{
234 
235 
240 typedef struct{
251 
252 
253 
257 typedef union{
262 
263 
267 typedef struct {
268  uint8_t *id;
271 
275 typedef struct{
281 
285 typedef struct{
286  uint8_t *disposition;
287  uint8_t *name;
288  uint8_t *exposure;
289  uint8_t *domain;
290  double elevation;
291  double latitude;
292  double longitude;
294 
298 typedef struct{
299  uint8_t *name;
300  uint8_t *description;
301  uint8_t *title;
302  uint8_t *type;
303  uint8_t *private;
305  uint8_t n_datastreams;
306  uint8_t *user;
308 
309 /*--------------------------------------------------- Cellular 2G structures ----------------------------------------------------------------*/
310 #ifdef PR_TSMART_XV_CELLULAR_2G
311 
315 typedef enum{
319 
320 
321 
325 typedef struct{
326  uint8_t *apn;
327  uint8_t *login;
328  uint8_t *password;
329  uint16_t time_to_connect;
333 
337 typedef struct{
338  uint8_t *pin_code;
344  uint8_t ip_ttl;
357  uint16_t ip_frag_timeo;
363  uint16_t tcp_maxinitwin;
370  uint8_t tcp_rexmt_max;
376 #endif
377 /*--------------------------------------------------- Ethernet structures -------------------------------------------------------------------*/
378 #ifdef PR_TSMART_XV_ETHERNET
379 
382 typedef struct{
386 }tsmart_xv_ethernet_ipv4_addr_t;
387 
388 
389 #endif
390 /*--------------------------------------------------- WIFI structures -----------------------------------------------------------------------*/
391 #ifdef PR_TSMART_XV_WIFI
392 
396 typedef enum{
397  TSMART_XV_WIFI_UNSEC = WLAN_SEC_UNSEC,
398  TSMART_XV_WIFI_WEP = WLAN_SEC_WEP,
399  TSMART_XV_WIFI_WPA = WLAN_SEC_WPA,
400  TSMART_XV_WIFI_WPA2 = WLAN_SEC_WPA2,
402 
403 
407 typedef struct{
412  uint8_t *ssid;
413  uint8_t *key;
414  uint8_t key_length;
417 
418 #endif
419 
426 /*--------------------------------------------------- Functions----------------------------------------------------------------------*/
427 #ifdef PR_TSMART_XV_CELLULAR_2G
428 int8_t TSMART_XV_CELLULAR_2G_Init(void);
429 int8_t TSMART_XV_CELLULAR_2G_Start(tsmart_xv_cellular_2g_config_t *TSMART_XV_CELLULLAR_2G_config);
430 int8_t TSMART_XV_CELLULAR_2G_Stop(void);
431 int8_t TSMART_XV_CELLULAR_2G_NetworkAttachment(tsmart_xv_cellular_2g_network_t *TSMART_XV_CELLULAR_2G_network);
433 #endif
434 #ifdef PR_TSMART_XV_ETHERNET
435 /* Functions Ethernet */
436 int8_t TSMART_XV_ETHERNET_Init(tsmart_xv_ethernet_ipv4_addr_t *TSMART_XV_ETHERNET_ipv4_addr);
437 #endif
438 #ifdef PR_TSMART_XV_WIFI
439 int8_t TSMART_XV_WIFI_Init(void);
440 int8_t TSMART_XV_WIFI_Start(void);
441 void TSMART_XV_WIFI_Stop(void);
442 int8_t TSMART_XV_WIFI_ConnectToAP(tsmart_xv_wifi_wlan_t *TSMART_XV_WIFI_wlan);
444 #endif
445 /* Common functions */
446 int8_t TSMART_XV_StartServer (uint16_t TSMART_XV_server_port);
447 int8_t TSMART_XV_ReadIP (tsmart_xv_ipv4_format_t *TSMART_XV_ipv4_format);
448 int8_t TSMART_XV_ReceiveNotification (tsmart_xv_notif_t *TSMART_XV_notif, tsmart_xv_buffer_t *TSMART_XV_buffer);
449 int8_t TSMART_XV_CreateProduct (uint8_t *TSMART_XV_key, uint8_t *TSMART_XV_product_id, tsmart_xv_product_t *TSMART_XV_product, tsmart_xv_buffer_t *TSMART_XV_buffer);
450 int8_t TSMART_XV_DeleteProduct (uint8_t *TSMART_XV_key, uint8_t *TSMART_XV_product_id, tsmart_xv_buffer_t *TSMART_XV_buffer);
451 int8_t TSMART_XV_CreateDevice (uint8_t *TSMART_XV_key, uint8_t *TSMART_XV_product_id, uint8_t *TSMART_XV_serial_number, tsmart_xv_buffer_t *TSMART_XV_buffer);
452 int8_t TSMART_XV_DeleteDevice (uint8_t *TSMART_XV_key, uint8_t *TSMART_XV_product_id, uint8_t *TSMART_XV_serial_number, tsmart_xv_buffer_t *TSMART_XV_buffer);
453 int8_t TSMART_XV_GetActivationCode (uint8_t *TSMART_XV_key, uint8_t *TSMART_XV_product_id, uint8_t *TSMART_XV_serial_number, uint8_t *TSMART_XV_activation_code ,tsmart_xv_buffer_t *TSMART_XV_buffer);
454 int32_t TSMART_XV_ActivateDevice (uint8_t *TSMART_XV_key, uint8_t *TSMART_XV_activation_code, uint8_t *TSMART_XV_device_api_key, tsmart_xv_buffer_t *TSMART_XV_buffer);
455 int8_t TSMART_XV_SetDeviceLocation (uint8_t *TSMART_XV_key, uint32_t TSMART_XV_feed_id, tsmart_xv_location_t *TSMART_XV_location, tsmart_xv_buffer_t *TSMART_XV_buffer);
456 int32_t TSMART_XV_CreateTrigger (uint8_t *TSMART_XV_key, tsmart_xv_trigger_t *TSMART_XV_trigger, tsmart_xv_buffer_t *TSMART_XV_buffer);
457 int8_t TSMART_XV_WriteDataStream (uint8_t *TSMART_XV_key, uint32_t TSMART_XV_feed_id, tsmart_xv_datastream_t *TSMART_XV_datastream, uint8_t TSMART_XV_n_datastreams, tsmart_xv_buffer_t *TSMART_XV_buffer);
458 int8_t TSMART_XV_ReadDataStream (uint8_t *TSMART_XV_key, uint32_t TSMART_XV_feed_id, uint8_t *TSMART_XV_datastream_id, tsmart_xv_value_type_id_t TSMART_XV_value_type_id, tsmart_xv_datastream_read_t *TSMART_XV_xv_datastream_read, tsmart_xv_buffer_t *TSMART_XV_buffer);
459 int8_t TSMART_XV_AddDataStream (uint8_t *TSMART_XV_key, uint32_t TSMART_XV_feed_id, uint8_t *TSMART_XV_datastream_id, tsmart_xv_buffer_t *TSMART_XV_buffer);
460 int8_t TSMART_XV_DeleteDataStream (uint8_t *TSMART_XV_key, uint32_t TSMART_XV_feed_id, uint8_t *TSMART_XV_datastream_id, tsmart_xv_buffer_t *TSMART_XV_buffer);
461 int8_t TSMART_XV_UpdateTrigger (uint8_t *TSMART_XV_key, uint32_t TSMART_XV_trigger_id, tsmart_xv_trigger_t *TSMART_XV_trigger, tsmart_xv_buffer_t *TSMART_XV_buffer);
462 int8_t TSMART_XV_DeleteTrigger (uint8_t *TSMART_XV_key, uint32_t TSMART_XV_trigger_id, tsmart_xv_buffer_t *TSMART_XV_buffer);
463 
464 
465 
466 
479 #endif /* TSMART_XV_H_ */
tsmart_xv_value_t value
Definition: tsmart_xv.h:269
tsmart_xv_ipv4_format_t ip
Definition: tsmart_xv.h:408
tsmart_xv_datastream_t * datastream
Definition: tsmart_xv.h:304
DataStream read.
Definition: tsmart_xv.h:275
tsmart_xv_cellular_2g_notif_t code
Definition: tsmart_xv.h:242
tsmart_xv_notif_type_t notif_type
Definition: tsmart_xv.h:258
uint8_t * pin_code
Definition: tsmart_xv.h:338
Cellular 2g network parameters structure.
Definition: tsmart_xv.h:325
Wireless network parameters structure.
Definition: tsmart_xv.h:407
Xively internal buffer structure.
Definition: tsmart_xv.h:96
Definition: tsmart_xv.h:105
uint32_t feed_id
Definition: tsmart_xv.h:181
Definition: tsmart_xv.h:232
uint8_t v1
Definition: tsmart_xv.h:82
int8_t TSMART_XV_ReadIP(tsmart_xv_ipv4_format_t *TSMART_XV_ipv4_format)
Reads the current IP address.
Definition: tsmart_xv.c:928
String value.
Definition: tsmart_xv.h:148
int8_t TSMART_XV_WIFI_ConnectToAP(tsmart_xv_wifi_wlan_t *TSMART_XV_WIFI_wlan)
Connects to an access point.
Definition: tsmart_xv.c:698
Datastream structure.
Definition: tsmart_xv.h:267
uint8_t month
Definition: tsmart_xv.h:190
Definition: tsmart_xv.h:231
tsmart_xv_type_t notif_type
Definition: tsmart_xv.h:215
Product structure.
Definition: tsmart_xv.h:298
int8_t TSMART_XV_CELLULAR_2G_NetworkDeAtachment(void)
Network detachment.
Definition: tsmart_xv.c:528
double latitude
Definition: tsmart_xv.h:291
double elevation
Definition: tsmart_xv.h:290
Definition: tsmart_xv.h:104
Definition: tsmart_xv.h:400
tsmart_xv_time_t time
Definition: tsmart_xv.h:222
int32_t * value
Definition: tsmart_xv.h:141
tsmart_xv_value_t min_value
Definition: tsmart_xv.h:278
Indicator of notification structure.
Definition: tsmart_xv.h:208
tsmart_xv_cellular_2g_t notification_2g
Definition: tsmart_xv.h:260
Definition: tsmart_xv.h:117
int8_t TSMART_XV_CELLULAR_2G_Init(void)
Initializes cellular 2G interface.
Definition: tsmart_xv.c:368
IPv4 format structure.
Definition: tsmart_xv.h:80
tsmart_xv_value_t threshold_value
Definition: tsmart_xv.h:178
tsmart_xv_value_t max_value
Definition: tsmart_xv.h:277
tsmart_xv_value_type_id_t value_type_id
Definition: tsmart_xv.h:132
Definition: tsmart_xv.h:119
uint8_t * type
Definition: tsmart_xv.h:302
void TSMART_XV_WIFI_Stop(void)
Stops the wifi interface.
Definition: tsmart_xv.c:684
Definition: tsmart_xv.h:397
int8_t TSMART_XV_CreateProduct(uint8_t *TSMART_XV_key, uint8_t *TSMART_XV_product_id, tsmart_xv_product_t *TSMART_XV_product, tsmart_xv_buffer_t *TSMART_XV_buffer)
Creates a product.
Definition: tsmart_xv.c:990
Location structure.
Definition: tsmart_xv.h:285
Definition: tsmart_xv.h:109
double * value
Definition: tsmart_xv.h:133
uint8_t day
Definition: tsmart_xv.h:191
Definition: tsmart_xv.h:106
tsmart_xv_value_type_t value_type
Definition: tsmart_xv.h:157
Double value.
Definition: tsmart_xv.h:131
uint16_t time_to_connect
Definition: tsmart_xv.h:329
tsmart_xv_trigger_type_t trigger_type
Definition: tsmart_xv.h:167
int8_t TSMART_XV_CreateDevice(uint8_t *TSMART_XV_key, uint8_t *TSMART_XV_product_id, uint8_t *TSMART_XV_serial_number, tsmart_xv_buffer_t *TSMART_XV_buffer)
Creates a device.
Definition: tsmart_xv.c:1354
int8_t TSMART_XV_CELLULAR_2G_Stop(void)
Stops Cellular 2G interface.
Definition: tsmart_xv.c:442
uint16_t ip_frag_timeo
Definition: tsmart_xv.h:357
tsmart_xv_trigger_type_t trigger_type
Definition: tsmart_xv.h:221
tsmart_xv_wifi_key_type_t key_type
Definition: tsmart_xv.h:415
int8_t TSMART_XV_GetActivationCode(uint8_t *TSMART_XV_key, uint8_t *TSMART_XV_product_id, uint8_t *TSMART_XV_serial_number, uint8_t *TSMART_XV_activation_code, tsmart_xv_buffer_t *TSMART_XV_buffer)
Gets an activation code.
Definition: tsmart_xv.c:1659
uint8_t key_length
Definition: tsmart_xv.h:414
int8_t TSMART_XV_SetDeviceLocation(uint8_t *TSMART_XV_key, uint32_t TSMART_XV_feed_id, tsmart_xv_location_t *TSMART_XV_location, tsmart_xv_buffer_t *TSMART_XV_buffer)
Sets the device location.
Definition: tsmart_xv.c:1971
uint8_t * title
Definition: tsmart_xv.h:301
Indicator of value type structure.
Definition: tsmart_xv.h:124
int32_t TSMART_XV_CreateTrigger(uint8_t *TSMART_XV_key, tsmart_xv_trigger_t *TSMART_XV_trigger, tsmart_xv_buffer_t *TSMART_XV_buffer)
Creates a trigger.
Definition: tsmart_xv.c:2995
uint8_t * key
Definition: tsmart_xv.h:413
tsmart_xv_value_t current_value
Definition: tsmart_xv.h:276
Definition: tsmart_xv.h:316
uint8_t * name
Definition: tsmart_xv.h:287
int8_t TSMART_XV_DeleteDataStream(uint8_t *TSMART_XV_key, uint32_t TSMART_XV_feed_id, uint8_t *TSMART_XV_datastream_id, tsmart_xv_buffer_t *TSMART_XV_buffer)
Deletes a datastream.
Definition: tsmart_xv.c:2538
uint8_t v0
Definition: tsmart_xv.h:81
uint8_t min
Definition: tsmart_xv.h:193
Definition: tsmart_xv.h:202
tsmart_xv_trigger_type_t
Types of triggers.
Definition: tsmart_xv.h:103
Definition: tsmart_xv.h:107
int8_t TSMART_XV_WIFI_Init(void)
Initializes wifi interface.
Definition: tsmart_xv.c:607
tsmart_xv_integer_value_t integer_value
Definition: tsmart_xv.h:159
uint8_t sec
Definition: tsmart_xv.h:194
uint8_t * disposition
Definition: tsmart_xv.h:286
tsmart_xv_value_type_id_t value_type_id
Definition: tsmart_xv.h:140
Union of the possible type values.
Definition: tsmart_xv.h:156
Definition: tsmart_xv.h:203
uint8_t tcp_rexmt_max
Definition: tsmart_xv.h:370
tsmart_xv_time_t time
Definition: tsmart_xv.h:279
uint16_t year
Definition: tsmart_xv.h:189
int8_t TSMART_XV_WriteDataStream(uint8_t *TSMART_XV_key, uint32_t TSMART_XV_feed_id, tsmart_xv_datastream_t *TSMART_XV_datastream, uint8_t TSMART_XV_n_datastreams, tsmart_xv_buffer_t *TSMART_XV_buffer)
Sends DataStreams.
Definition: tsmart_xv.c:2164
uint8_t tcp_rexmt_maxcnt
Definition: tsmart_xv.h:373
uint8_t * login
Definition: tsmart_xv.h:327
int8_t TSMART_XV_DeleteTrigger(uint8_t *TSMART_XV_key, uint32_t TSMART_XV_trigger_id, tsmart_xv_buffer_t *TSMART_XV_buffer)
Deletes a trigger.
Definition: tsmart_xv.c:3614
uint32_t feed_id
Definition: tsmart_xv.h:218
int8_t TSMART_XV_UpdateTrigger(uint8_t *TSMART_XV_key, uint32_t TSMART_XV_trigger_id, tsmart_xv_trigger_t *TSMART_XV_trigger, tsmart_xv_buffer_t *TSMART_XV_buffer)
Updates a trigger.
Definition: tsmart_xv.c:3306
int32_t TSMART_XV_ActivateDevice(uint8_t *TSMART_XV_key, uint8_t *TSMART_XV_activation_code, uint8_t *TSMART_XV_device_api_key, tsmart_xv_buffer_t *TSMART_XV_buffer)
Actives a device.
Definition: tsmart_xv.c:1813
uint8_t * description
Definition: tsmart_xv.h:300
tsmart_xv_type_t type_notif
Definition: tsmart_xv.h:241
tsmart_xv_ipv4_format_t ip_gw
Definition: tsmart_xv.h:410
uint8_t v2
Definition: tsmart_xv.h:83
uint8_t ip_ttl
Definition: tsmart_xv.h:344
Definition: tsmart_xv.h:398
uint8_t * name
Definition: tsmart_xv.h:299
int8_t TSMART_XV_DeleteProduct(uint8_t *TSMART_XV_key, uint8_t *TSMART_XV_product_id, tsmart_xv_buffer_t *TSMART_XV_buffer)
Deletes a product.
Definition: tsmart_xv.c:1206
uint8_t * apn
Definition: tsmart_xv.h:326
Definition: tsmart_xv.h:108
Cellular 2g interface notification stucture.
Definition: tsmart_xv.h:240
tsmart_xv_ipv4_format_t * ip
Definition: tsmart_xv.h:176
int8_t TSMART_XV_ReceiveNotification(tsmart_xv_notif_t *TSMART_XV_notif, tsmart_xv_buffer_t *TSMART_XV_buffer)
Receives notifications.
Definition: tsmart_xv.c:3757
tsmart_xv_type_t notif_type
Definition: tsmart_xv.h:209
Definition: tsmart_xv.h:110
int8_t TSMART_XV_StartServer(uint16_t TSMART_XV_server_port)
Starts a server.
Definition: tsmart_xv.c:829
uint8_t * datastream_id
Definition: tsmart_xv.h:182
uint8_t * exposure
Definition: tsmart_xv.h:288
tsmart_xv_value_type_id_t value_type_id
Definition: tsmart_xv.h:125
int8_t TSMART_XV_AddDataStream(uint8_t *TSMART_XV_key, uint32_t TSMART_XV_feed_id, uint8_t *TSMART_XV_datastream_id, tsmart_xv_buffer_t *TSMART_XV_buffer)
Creates a datastream.
Definition: tsmart_xv.c:2389
Definition: tsmart_xv.h:111
Cellular 2g parameters structure.
Definition: tsmart_xv.h:337
uint8_t * user
Definition: tsmart_xv.h:306
uint8_t * password
Definition: tsmart_xv.h:328
Time structure.
Definition: tsmart_xv.h:188
uint8_t * id
Definition: tsmart_xv.h:268
Definition: tsmart_xv.h:317
int8_t TSMART_XV_ReadDataStream(uint8_t *TSMART_XV_key, uint32_t TSMART_XV_feed_id, uint8_t *TSMART_XV_datastream_id, tsmart_xv_value_type_id_t TSMART_XV_value_type_id, tsmart_xv_datastream_read_t *TSMART_XV_datastream_read, tsmart_xv_buffer_t *TSMART_XV_buffer)
Gets datastream.
Definition: tsmart_xv.c:2682
uint8_t hour
Definition: tsmart_xv.h:192
uint8_t * value
Definition: tsmart_xv.h:150
tsmart_xv_ipv4_format_t mask
Definition: tsmart_xv.h:409
tsmart_xv_notif_trigger_alarm_t trigger_alarm
Definition: tsmart_xv.h:259
tsmart_xv_ipv4_format_t dns
Definition: tsmart_xv.h:411
int8_t TSMART_XV_WIFI_DisconnectfromAP(void)
Disconnects form the access point.
Definition: tsmart_xv.c:760
uint8_t n_datastreams
Definition: tsmart_xv.h:305
Trigger configuration structure.
Definition: tsmart_xv.h:166
tsmart_xv_cellular_2g_flag_t iled
Definition: tsmart_xv.h:340
tsmart_xv_value_type_id_t value_type_id
Definition: tsmart_xv.h:149
tsmart_xv_cellular_2g_notif_t
2g notification type
Definition: tsmart_xv.h:230
Definition: tsmart_xv.h:399
tsmart_xv_value_type_id_t
Types of values.
Definition: tsmart_xv.h:116
Alarm notification structure.
Definition: tsmart_xv.h:214
int8_t TSMART_XV_WIFI_Start(void)
Starts the wifi interface.
Definition: tsmart_xv.c:662
tsmart_xv_type_t
Notification type.
Definition: tsmart_xv.h:201
uint32_t trigger_id
Definition: tsmart_xv.h:220
uint8_t v3
Definition: tsmart_xv.h:84
int8_t TSMART_XV_CELLULAR_2G_NetworkAttachment(tsmart_xv_cellular_2g_network_t *TSMART_XV_CELLULAR_2G_network)
Attaches to the network 2G.
Definition: tsmart_xv.c:465
double longitude
Definition: tsmart_xv.h:292
Integer value.
Definition: tsmart_xv.h:139
int8_t TSMART_XV_CELLULAR_2G_Start(tsmart_xv_cellular_2g_config_t *TSMART_XV_CELLULLAR_2G_config)
Starts module.
Definition: tsmart_xv.c:396
uint16_t port
Definition: tsmart_xv.h:177
uint8_t * ssid
Definition: tsmart_xv.h:412
tsmart_xv_wifi_key_type_t
Security options.
Definition: tsmart_xv.h:396
tsmart_xv_double_value_t double_value
Definition: tsmart_xv.h:158
Union of the possible notifications structures.
Definition: tsmart_xv.h:257
tsmart_xv_cellular_2g_flag_t
Standard flag to enable/disable.
Definition: tsmart_xv.h:315
uint8_t * domain
Definition: tsmart_xv.h:289
int8_t TSMART_XV_DeleteDevice(uint8_t *TSMART_XV_key, uint8_t *TSMART_XV_product_id, uint8_t *TSMART_XV_serial_number, tsmart_xv_buffer_t *TSMART_XV_buffer)
Deletes a device.
Definition: tsmart_xv.c:1514
Definition: tsmart_xv.h:118
tsmart_xv_str_t str_value
Definition: tsmart_xv.h:160
uint16_t tcp_maxinitwin
Definition: tsmart_xv.h:363