UniSaSA  1.0
C Gateway
configuration.h
Go to the documentation of this file.
1 
7 #ifndef _UNISASA_GATEWAY_CONF_FILE_H_
8 #define _UNISASA_GATEWAY_CONF_FILE_H_
9 
10 
17 #define SIZE_REQUEST_QUEUE 5
18 #define SIZE_MESSAGE 256
19 
20 #define MAX_BYTES_ID_DEVICES 4 //
21 
31 #define DELIM ";"
32 #define SYMBOL_SENSOR '$'
33 #define SYMBOL_ACTUATOR '@'
34 #define MAX_NUM_DEVICES 1024
35 #define MAX_NUM_SENSORS 1024 // on a device
36 #define MAX_NUM_ACTUATORS 1024 // on a device
37 #define MAX_NUM_CONNECTORS 512
38 #define MAX_NUM_DEVICES_DISCOVERY 128 //for each discovery()call
39 
48 #define MAX_BYTES_ID_SENSOR 4 // (actual max 255)
49 #define MAX_BYTES_ID_ACTUATOR 4 // (actual max 255)
50 #define MAX_BYTES_ID_DEVICE 4 // (actual max 255)
51 #define MAX_BYTES_DEV_ADDRESS 16 //
52 
53 #define MAX_BYTES_NUM_SENSORS 4 // (actual max 255)
54 #define MAX_BYTES_NUM_ACTUATORS 4 // (actual max 255)
55 
57 #endif
58 
59