dpyMcu Namespace Reference
Deepsy Mcu namespace that includes the different enums, structs or method signatures that should be used.
Classes | |
| struct | BatteryProtectionConfig |
| Battery Protection Config struct which contains the response received from the service. More... | |
| struct | CANBusConfiguration |
| CAN BUS configuration structure. More... | |
| struct | CANBusFilter |
| struct | CANBusFrame |
| It contains the CAN Bus Frame structure. More... | |
| struct | CanStatusEvent |
| It contains the current CAN Bus status defined in its timestamp. More... | |
| struct | DateConfig |
| DateConfig struct which contains the response received from the service. More... | |
| struct | GpioConfig |
| GPIO Struct which contains the response received from the service. More... | |
| struct | GUIDConfig |
| GUID struct which contains the response received from the service. More... | |
| struct | GUIDConfigList |
| GUID list struct which contains the response received from the service. More... | |
| struct | I2CValue |
| I2C Struct which contains the response received from the service. More... | |
| struct | LedsConfig |
| struct | MCUStatus |
| MCU Status struct which contains the response received from the service. More... | |
| struct | PowerInformationConfig |
| PowerInformation struct which contains the response received from the service. More... | |
| struct | PowerStateConfig |
| PowerInformation struct which contains the response received from the service. More... | |
| struct | SerialPortProtocolConfig |
| Serial Port protocol configuration structure. More... | |
| struct | TimersConfig |
| Timers struct which contains the response received from the service. More... | |
| struct | UpdateConfig |
| Update struct which contains the response received from the service. More... | |
| struct | WorkingTimeConfig |
| Working Time struct which contains the response received from the service. More... | |
Typedefs | |
| typedef boost::function< void(const bool &available)> | service_availability_handler |
| Prototype of the handler function used to monitor service availability. More... | |
| typedef boost::function< void(boost::system::error_code error_code, dpyMcu::PowerInformationConfig &)> | power_mng_handler_function |
| Prototype of the handler function for obtaining the Power Information. More... | |
| typedef boost::function< void(boost::system::error_code error_code, dpyMcu::LedsConfig &)> | leds_handler_function |
| Prototype of the handler function for obtaining the LEDs configuration. More... | |
| typedef boost::function< void(boost::system::error_code error_code, dpyMcu::PowerStateConfig &)> | power_states_handler_function |
| Prototype of the handler function for obtaining the Power State Configuration. More... | |
| typedef boost::function< void(boost::system::error_code error_code, dpyMcu::TimersConfig &)> | timers_handler_function |
| Prototype of the handler function for obtaining the Timers Configuration. More... | |
| typedef boost::function< void(boost::system::error_code error_code, dpyMcu::UpdateConfig &)> | update_firmware_handler_function |
| Prototype of the handler function for obtaining the updated configuration. More... | |
| typedef boost::function< void(boost::system::error_code error_code, dpyMcu::GUIDConfigList &)> | guid_handler_function |
| Prototype of the handler function for obtaining the GUIDs. More... | |
| typedef boost::function< void(boost::system::error_code error_code, char &, char &)> | eqvar_handler_function |
| Prototype of the handler function for obtaining the GUIDs. More... | |
| typedef boost::function< void(boost::system::error_code error_code, dpyMcu::WorkingTimeConfig &)> | working_time_handler_function |
| Prototype of the handler function for obtaining the Working Time Values. More... | |
| typedef boost::function< void(boost::system::error_code error_code, dpyMcu::MCUStatus &)> | mcu_status_handler_function |
| Prototype of the handler function for obtaining the MCU Status. More... | |
| typedef boost::function< void(boost::system::error_code error_code, dpyMcu::BatteryProtectionConfig &)> | battery_protection_handler_function |
| Prototype of the handler function for obtaining the Battery Protection Configuration. More... | |
| typedef boost::function< void(boost::system::error_code error_code, dpyMcu::DateConfig &)> | rtc_date_handler_function |
| Prototype of the handler function for obtaining the RTC Date Configuration. More... | |
| typedef boost::function< void(boost::system::error_code error_code, dpyMcu::GpioConfig &)> | gpio_handler_function |
| Prototype of the handler function for obtaining the GPIO Configuration. More... | |
| typedef boost::function< void(boost::system::error_code error_code, dpyMcu::GpiosAvailable &)> | gpios_events_handler_function |
| Prototype of the handler function for obtaining the GPIO Events. More... | |
| typedef boost::function< void(boost::system::error_code error_code, dpyMcu::I2CValue &)> | i2c_handler_function |
| Prototype of the handler function for obtaining the I2C information. More... | |
| typedef boost::function< void(boost::system::error_code error_code, const dpyFirmware::FirmwareVersionInfo &fw_version)> | version_handler_function |
| Prototype of the handler function for obtaining the fw version. More... | |
| typedef boost::function< void(boost::system::error_code error_code, dpyMcu::CanStatusEvent &)> | can_status_handler_function |
| Prototype of the handler function for obtaining the CAN Status Information. More... | |
| typedef boost::function< void(boost::system::error_code error_code)> | test_misc_handler_function |
| Prototype of the handler function for obtaining the current MISC status. More... | |
| typedef boost::function< void(boost::system::error_code error_code)> | set_power_button_state_handler_function |
| Prototype of the handler function for obtaining the result of power button. More... | |
| typedef boost::function< void(boost::system::error_code error_code, bool enabled)> | get_power_button_state_handler_function |
| Prototype of the handler function for obtaining the result of power button. More... | |
| typedef boost::function< void(boost::system::error_code error_code)> | result_handler_function |
| Prototype of the handler function for obtaining the result of the operations status. More... | |
| typedef boost::function< void(boost::system::error_code error_code, dpyMcu::SerialPortProtocolConfig &)> | serialport_handler_function |
| Prototype of the handler function for setting the Serial Port Protocol. More... | |
| typedef boost::function< void(boost::system::error_code error_code, dpyMcu::CANBusFrame frame)> | get_can_bus_message_handler_function |
| Prototype of the handler function for getting CAN Bus Messages. More... | |
Enumerations | |
| enum | CanStatus { TX_BUSY = 0, TX_IDLE = 1, RX_BUSY = 2, RX_IDLE = 3, RX_FIFO0_NEW = 4, RX_FIFO0_IDLE = 5, RX_FIFO0_WATERMARK = 6, RX_FIFO0_FULL = 7, RX_FIFO0_LOST = 8, RX_FIFO1_NEW = 9, RX_FIFO1_IDLE = 10, RX_FIFO1_WATERMARK = 11, RX_FIFO1_FULL = 12, RX_FIFO1_LOST = 13, RX_FIFO0_BUSY = 14, RX_FIFO1_BUSY = 15, ERROR_STATUS = 16, UNHANDLED = 17 } |
| Different CAN Bus tatus. More... | |
| enum | CANBusIdType { STANDARD = 0, EXTENDED = 1 } |
| enum | SerialPortProtocol { RS485 = 0, RS232 = 1 } |
| Serial Ports Protocol. More... | |
Typedef Documentation
◆ battery_protection_handler_function
| typedef boost::function<void(boost::system::error_code error_code, dpyMcu::BatteryProtectionConfig &)> battery_protection_handler_function |
- Parameters
-
error_code error code (if any) BatteryProtectionConfig
◆ can_status_handler_function
| typedef boost::function<void(boost::system::error_code error_code, dpyMcu::CanStatusEvent &)> can_status_handler_function |
- Parameters
-
error_code error code (if any) PowerInformationConfig
◆ eqvar_handler_function
| typedef boost::function<void(boost::system::error_code error_code, char &, char &)> eqvar_handler_function |
- Parameters
-
error_code error code (if any) eq_id var_id
◆ get_can_bus_message_handler_function
| typedef boost::function<void(boost::system::error_code error_code, dpyMcu::CANBusFrame frame)> get_can_bus_message_handler_function |
- Parameters
-
error_code error code (if any) CAN Bus Frame
◆ get_power_button_state_handler_function
| typedef boost::function<void(boost::system::error_code error_code, bool enabled)> get_power_button_state_handler_function |
- Parameters
-
error_code error code (if any) enabled
◆ gpio_handler_function
| typedef boost::function<void(boost::system::error_code error_code, dpyMcu::GpioConfig &)> gpio_handler_function |
- Parameters
-
error_code error code (if any) GpioConfig
◆ gpios_events_handler_function
| typedef boost::function<void(boost::system::error_code error_code, dpyMcu::GpiosAvailable &)> gpios_events_handler_function |
- Parameters
-
error_code error code (if any) GpioConfig
◆ guid_handler_function
| typedef boost::function<void(boost::system::error_code error_code, dpyMcu::GUIDConfigList &)> guid_handler_function |
- Parameters
-
error_code error code (if any) GUIDConfig
◆ i2c_handler_function
| typedef boost::function<void(boost::system::error_code error_code, dpyMcu::I2CValue &)> i2c_handler_function |
- Parameters
-
error_code error code (if any) GpioConfig
◆ leds_handler_function
| typedef boost::function<void(boost::system::error_code error_code, dpyMcu::LedsConfig &)> leds_handler_function |
- Parameters
-
error_code error code (if any) LedsConfig
◆ mcu_status_handler_function
| typedef boost::function<void(boost::system::error_code error_code, dpyMcu::MCUStatus &)> mcu_status_handler_function |
- Parameters
-
error_code error code (if any) MCUStatus
◆ power_mng_handler_function
| typedef boost::function<void(boost::system::error_code error_code, dpyMcu::PowerInformationConfig &)> power_mng_handler_function |
- Parameters
-
error_code error code (if any) PowerInformationConfig
◆ power_states_handler_function
| typedef boost::function<void(boost::system::error_code error_code, dpyMcu::PowerStateConfig &)> power_states_handler_function |
- Parameters
-
error_code error code (if any) PowerStateConfig
◆ result_handler_function
| typedef boost::function<void(boost::system::error_code error_code)> result_handler_function |
- Parameters
-
error_code error code (if any)
◆ rtc_date_handler_function
| typedef boost::function<void(boost::system::error_code error_code, dpyMcu::DateConfig &)> rtc_date_handler_function |
- Parameters
-
error_code error code (if any) DateConfig
◆ serialport_handler_function
| typedef boost::function<void(boost::system::error_code error_code, dpyMcu::SerialPortProtocolConfig &)> serialport_handler_function |
- Parameters
-
error_code error code (if any) SerialPortProtocolConfig
◆ service_availability_handler
| typedef boost::function<void(const bool &available)> service_availability_handler |
- Parameters
-
available true if the service is available, false otherwise
◆ set_power_button_state_handler_function
| typedef boost::function<void(boost::system::error_code error_code)> set_power_button_state_handler_function |
- Parameters
-
error_code error code (if any)
◆ test_misc_handler_function
| typedef boost::function<void(boost::system::error_code error_code)> test_misc_handler_function |
- Parameters
-
error_code error code (if any)
◆ timers_handler_function
| typedef boost::function<void(boost::system::error_code error_code, dpyMcu::TimersConfig &)> timers_handler_function |
- Parameters
-
error_code error code (if any) TimersConfig
◆ update_firmware_handler_function
| typedef boost::function<void(boost::system::error_code error_code, dpyMcu::UpdateConfig &)> update_firmware_handler_function |
- Parameters
-
error_code error code (if any) UpdateConfig
◆ version_handler_function
| typedef boost::function<void(boost::system::error_code error_code, const dpyFirmware::FirmwareVersionInfo& fw_version)> version_handler_function |
- Parameters
-
error_code error code (if any) fw_version firmware version
◆ working_time_handler_function
| typedef boost::function<void(boost::system::error_code error_code, dpyMcu::WorkingTimeConfig &)> working_time_handler_function |
- Parameters
-
error_code error code (if any) WorkingTimeConfig
Enumeration Type Documentation
◆ CanStatus
| enum CanStatus |
◆ GpiosAvailable
| enum GpiosAvailable |
◆ LedsColor
| enum LedsColor |
◆ PowerStates
| enum PowerStates |
◆ Result
| enum Result |
◆ SerialPortProtocol
| enum SerialPortProtocol |