STIMA
3
|
Go to the source code of this file.
Macros | |
#define | MQTT_ROOT_TOPIC_LENGTH (50) |
Length in bytes for mqtt root topic. | |
#define | MQTT_MAINT_TOPIC_LENGTH (MQTT_ROOT_TOPIC_LENGTH) |
Length in bytes for mqtt maint topic. | |
#define | MQTT_RPC_TOPIC_LENGTH (MQTT_ROOT_TOPIC_LENGTH) |
Length in bytes for mqtt rpc topic. | |
#define | MQTT_SENSOR_TOPIC_LENGTH (38) |
Length in bytes for mqtt sensor topic. | |
#define | MQTT_CLIENT_ID_LENGTH (MQTT_ROOT_TOPIC_LENGTH) |
Length in bytes for mqtt client id. | |
#define | MQTT_MESSAGE_LENGTH (100) |
Length in bytes for mqtt message. | |
#define | MQTT_RPC_COMMAND_LENGTH (200) |
Length in bytes for mqtt rpc command message. | |
#define | MQTT_RPC_RESPONSE_LENGTH (80) |
Length in bytes for mqtt rpc response message. | |
#define | MQTT_PACKET_SIZE (220) |
Length in bytes for max mqtt packet size. | |
#define | MQTT_SERVER_LENGTH (30) |
Length in bytes for mqtt server. | |
#define | MQTT_USERNAME_LENGTH (30) |
Length in bytes for mqtt username. | |
#define | MQTT_PASSWORD_LENGTH (30) |
Length in bytes for mqtt password. | |
#define | STATIONSLUG_LENGTH (30) |
Length in bytes for station slug. | |
#define | BOARDSLUG_LENGTH (30) |
Length in bytes for board slug. | |
#define | MQTT_TIMEOUT_MS (6000) |
Timeout in milliseconds for mqtt stack. | |
#define | MQTT_DEFAULT_SERVER ("rmap.cc") |
Default MQTT server. | |
#define | MQTT_DEFAULT_PORT (1883) |
Default MQTT server port. | |
#define | MQTT_DEFAULT_ROOT_TOPIC ("test") |
Default MQTT root topic. | |
#define | MQTT_DEFAULT_MAINT_TOPIC ("test") |
Default MQTT maint topic. | |
#define | MQTT_DEFAULT_RPC_TOPIC ("test") |
#define | MQTT_DEFAULT_USERNAME ("") |
Default MQTT username. | |
#define | MQTT_DEFAULT_PASSWORD ("") |
Default MQTT password. | |
#define | DEFAULT_STATIONSLUG ("") |
Default station slug. | |
#define | DEFAULT_BOARDSLUG ("") |
Default board slug. | |
#define | MQTT_STATUS_TOPIC ("254,0,0/265,0,-,-/B01213") |
Default MQTT status topic for printing on connect/disconnect message. | |
#define | MQTT_ON_CONNECT_MESSAGE ("{\"v\":\"conn\",\"s\":%d,\"m\":%d}") |
MQTT on connect message. | |
#define | MQTT_ON_DISCONNECT_MESSAGE ("{\"v\":\"disconn\"}") |
MQTT on disconnect message. | |
#define | MQTT_ON_ERROR_MESSAGE ("{\"v\":\"error01\"}") |
MQTT on error message. | |