#include <dji_motor_terminal_serial_handler.hpp>
|
| static constexpr char | HEADER [] = "motorinfo" |
| |
◆ DjiMotorTerminalSerialHandler()
| tap::motor::DjiMotorTerminalSerialHandler::DjiMotorTerminalSerialHandler |
( |
Drivers * |
drivers | ) |
|
|
inline |
◆ init()
| void tap::motor::DjiMotorTerminalSerialHandler::init |
( |
| ) |
|
◆ terminalSerialCallback()
| bool tap::motor::DjiMotorTerminalSerialHandler::terminalSerialCallback |
( |
char * |
inputLine, |
|
|
modm::IOStream & |
outputStream, |
|
|
bool |
streamingEnabled |
|
) |
| |
|
overridevirtual |
- Parameters
-
| [in] | inputLine | The user input to be processed. |
| [out] | outputStream | The stream to write information to. |
| [in] | streamingEnabled | Set to true when the streaming is initially enabled. Subsequent interactions with the callback handler will be via terminalSerialStreamCallback until streaming has been disabled. |
- Returns
true if the inputLine was valid and was parsed correctly, false otherwise.
Implements tap::communication::serial::TerminalSerialCallbackInterface.
◆ terminalSerialStreamCallback()
| void tap::motor::DjiMotorTerminalSerialHandler::terminalSerialStreamCallback |
( |
modm::IOStream & |
outputStream | ) |
|
|
overridevirtual |
◆ HEADER
| constexpr char tap::motor::DjiMotorTerminalSerialHandler::HEADER = "motorinfo" |
|
staticconstexpr |
The documentation for this class was generated from the following files: