Namespace to be used for constants/enums. More...
Classes | |
struct | CALIB_PARAMS |
struct | DEVICE_CRED |
struct | MOTION_REQUEST |
Typedefs | |
using | time_var = std::chrono::time_point< std::chrono::system_clock > |
using | current_time = std::chrono::system_clock |
Variables | |
const int | LOGGING_BAUD_RATE = 115200 |
const int | MOTOR_DRIVER_BAUD_RATE = 115200 |
const int | TRY_RECONNECT = 3 |
const int | MAX_SECONDS_LOST_WIFI = 600 |
const std::string | STORAGE_NAMESPACE = "madac" |
const int | NUMBER_OF_LEDS = 1 |
const int | LED_BRIGHTNESS = 25 |
const int | DEQUE_ANALYZER_FREQ = 2 |
const std::string | KEY_SSID = "ssid" |
const std::string | KEY_PASSWORD = "password" |
const std::string | KEY_DEVICE_ID = "deviceID" |
const std::string | KEY_TOTAL_STEP_COUNT = "totalStepCount" |
const std::string | KEY_DIRECTION = "direction" |
const std::string | KEY_MODE = "mode" |
const String | DEFAULT_DEVICE_ID = "madac_blinds" |
const float | MOTOR_DRIVER_R_SENSE = 0.11f |
const uint8_t | MOTOR_DRIVER_ADDRESS = 0b00 |
const uint8_t | MOTOR_DRIVER_TOFF = 4 |
const uint8_t | MOTOR_DRIVER_BLANK_TIME = 24 |
const uint16_t | MOTOR_DRIVER_RMS_CURRENT = 2000 |
const uint16_t | MOTOR_DRIVER_MICROSTEP = 16 |
const uint32_t | MOTOR_DRIVER_TCOOL_THRS = 0xFFFFF |
const uint8_t | MOTOR_DRIVER_SE_MIN = 0 |
const uint8_t | MOTOR_DRIVER_SE_MAX = 2 |
const uint8_t | MOTOR_DRIVER_SEDN = 0b01 |
const uint32_t | MOTOR_DRIVER_MAX_SPEED = 5000 |
const int | MOTOR_DRIVER_SG_THRESH = 45 |
const int | MOTOR_STOP_TIME_SEC = 120 |
const float | STEP_FRACTION_ALLOWANCE = 0.05 |
const int | MODE_EXPIRE_TIME_LIMIT = 300 |
const int | WIFI_DISCONNECT_RESTART_TIME_LIMIT = 60 |
const int | PIN_RGB_LED = 32 |
static const int | PIN_BUTTON_UP = 33 |
static const int | PIN_BUTTON_DOWN = 25 |
const int | PIN_MD_ENABLE = 4 |
const int | PIN_MD_RX = 16 |
const int | PIN_MD_TX = 17 |
const int | PIN_MD_MS1 = 5 |
const int | PIN_MD_MS2 = 18 |
const int | PIN_MD_STEP = 22 |
const int | PIN_MD_DIR = 23 |
const int | PIN_MD_INDEX = 21 |
const int | PIN_MD_DIAG = 19 |
Namespace to be used for constants/enums.
using CONFIG_SET::current_time = typedef std::chrono::system_clock |
using CONFIG_SET::time_var = typedef std::chrono::time_point<std::chrono::system_clock> |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
const String CONFIG_SET::DEFAULT_DEVICE_ID = "madac_blinds" |
const int CONFIG_SET::DEQUE_ANALYZER_FREQ = 2 |
const std::string CONFIG_SET::KEY_DEVICE_ID = "deviceID" |
const std::string CONFIG_SET::KEY_DIRECTION = "direction" |
const std::string CONFIG_SET::KEY_MODE = "mode" |
const std::string CONFIG_SET::KEY_PASSWORD = "password" |
const std::string CONFIG_SET::KEY_SSID = "ssid" |
const std::string CONFIG_SET::KEY_TOTAL_STEP_COUNT = "totalStepCount" |
const int CONFIG_SET::LED_BRIGHTNESS = 25 |
const int CONFIG_SET::LOGGING_BAUD_RATE = 115200 |
const int CONFIG_SET::MAX_SECONDS_LOST_WIFI = 600 |
const int CONFIG_SET::MODE_EXPIRE_TIME_LIMIT = 300 |
const uint8_t CONFIG_SET::MOTOR_DRIVER_ADDRESS = 0b00 |
const int CONFIG_SET::MOTOR_DRIVER_BAUD_RATE = 115200 |
const uint8_t CONFIG_SET::MOTOR_DRIVER_BLANK_TIME = 24 |
const uint32_t CONFIG_SET::MOTOR_DRIVER_MAX_SPEED = 5000 |
const uint16_t CONFIG_SET::MOTOR_DRIVER_MICROSTEP = 16 |
const float CONFIG_SET::MOTOR_DRIVER_R_SENSE = 0.11f |
const uint16_t CONFIG_SET::MOTOR_DRIVER_RMS_CURRENT = 2000 |
const uint8_t CONFIG_SET::MOTOR_DRIVER_SE_MAX = 2 |
const uint8_t CONFIG_SET::MOTOR_DRIVER_SE_MIN = 0 |
const uint8_t CONFIG_SET::MOTOR_DRIVER_SEDN = 0b01 |
const int CONFIG_SET::MOTOR_DRIVER_SG_THRESH = 45 |
const uint32_t CONFIG_SET::MOTOR_DRIVER_TCOOL_THRS = 0xFFFFF |
const uint8_t CONFIG_SET::MOTOR_DRIVER_TOFF = 4 |
const int CONFIG_SET::MOTOR_STOP_TIME_SEC = 120 |
const int CONFIG_SET::NUMBER_OF_LEDS = 1 |
|
static |
|
static |
const int CONFIG_SET::PIN_MD_DIAG = 19 |
const int CONFIG_SET::PIN_MD_DIR = 23 |
const int CONFIG_SET::PIN_MD_ENABLE = 4 |
const int CONFIG_SET::PIN_MD_INDEX = 21 |
const int CONFIG_SET::PIN_MD_MS1 = 5 |
const int CONFIG_SET::PIN_MD_MS2 = 18 |
const int CONFIG_SET::PIN_MD_RX = 16 |
const int CONFIG_SET::PIN_MD_STEP = 22 |
const int CONFIG_SET::PIN_MD_TX = 17 |
const int CONFIG_SET::PIN_RGB_LED = 32 |
const float CONFIG_SET::STEP_FRACTION_ALLOWANCE = 0.05 |
const std::string CONFIG_SET::STORAGE_NAMESPACE = "madac" |
const int CONFIG_SET::TRY_RECONNECT = 3 |
const int CONFIG_SET::WIFI_DISCONNECT_RESTART_TIME_LIMIT = 60 |