Macros
Macros specific to the S2C Library. More...
Macros | |
#define | S2C_DEVICE_KEY_SIZE 16 |
The size of the device key (to encrypt local server client connections) | |
#define | S2C_MAX_PACKET_SIZE 1424 |
The maximum size of a data packet payload for the cloud or local client. | |
#define | S2C_DEVICE_TITLE_SIZE 32 |
The maximum size in bytes of the device's title (including null-terminator) See S2C_SETTING_DEVICE_TITLE. | |
#define | S2C_DEVICE_CODE_SIZE 16 |
The maximum size in bytes of the device's code (including null-terminator) See S2C_SETTING_DEVICE_CODE. | |
#define | S2C_COMMAND_TIMEOUT 7000 |
The default command response timeout. More... | |
#define | S2C_FILE_TARGET_CLOUD S2C_FILE_TARGET(S2C_NODE_CLOUD, 0) |
Helper macro to create a S2C_NODE_CLOUD s2c_file_target_t. | |
#define | S2C_FILE_TARGET_DMS_DEVICE S2C_FILE_TARGET(S2C_NODE_DMS_DEVICE, 0) |
Helper macro to create a S2C_NODE_DMS_DEVICE s2c_file_target_t. | |
#define | S2C_FILE_TARGET_DMS_PRODUCT S2C_FILE_TARGET(S2C_NODE_DMS_PRODUCT, 0) |
Helper macro to create a S2C_NODE_DMS_PRODUCT s2c_file_target_t. | |
#define | S2C_FILE_TARGET_MOBILE(num) S2C_FILE_TARGET(S2C_NODE_MOBILE, num) |
Helper macro to create a S2C_NODE_MOBILE s2c_file_target_t. | |
#define | S2C_FILENAME_MAX_LEN 96 |
The maximum file name/path length in bytes. | |
Detailed Description
Macros specific to the S2C Library.
Macro Definition Documentation
#define S2C_COMMAND_TIMEOUT 7000 |
The default command response timeout.
This is the maximum amount of time in milliseconds the Device should wait for a command response from a Mobile. Define this value in the global defines to override its value