serialportClient.h
Go to the documentation of this file.
32 void setSerialPortConfiguration(dpySerialPort::handler_function handler, const std::string &portid, dpySerialPort::SerialPortConf serialPortConfiguration);
40 void send(dpySerialPort::handler_function handler, const std::string &portid, const std::string &data);
boost::function< void(boost::system::error_code, std::map< std::string, dpySerialPort::SerialPortConf > serialPortMap)> serialPort_list_handler
Prototype of the handler function for getting serial port list.
Definition: serialportApi.h:61
Definition: serialportTypes.h:44
void getSerialPortList(dpySerialPort::serialPort_list_handler handler)
Method which requests serial port list.
boost::function< void(boost::system::error_code error_code, const std::string &portid, const std::string &data)> serialport_receive_handler_function
Prototype of the handler function for receiving serial port message.
Definition: serialportApi.h:69
void send(dpySerialPort::handler_function handler, const std::string &portid, const std::string &data)
Send message through serial port.
boost::function< void(boost::system::error_code &ec)> handler_function
Handler for status function callback.
Definition: serialportApi.h:54
void setSerialPortConfiguration(dpySerialPort::handler_function handler, const std::string &portid, dpySerialPort::SerialPortConf serialPortConfiguration)
Modifies serial port configuration.
void serialPortEvent_S(dpySerialPort::serialport_receive_handler_function handler)
Start receiving serial port events.