LibBeamApi
1.3.0
|
#include <BoapMc.h>
Public Member Functions | |
BoapMcComms () | |
virtual | ~BoapMcComms () |
void | setComms (BComms &comms) |
Sets the communications interface to use. More... | |
void | setAddress (BUInt8 addressTo, BUInt8 addressFrom) |
Sets the to and from addresses. More... | |
virtual BError | process () |
Check and process any received packets. More... | |
virtual BError | processPacket (BoapMcPacket &rx, BoapMcPacket &tx) |
Process a recieved packet. More... | |
Protected Member Functions | |
BError | performCall () |
Performs a RPC call to the service. More... | |
BError | performSend () |
Performs a send. More... | |
BError | performRecv (BUInt8 cmd=0) |
Performs a receive. More... | |
Protected Attributes | |
BComms * | ocomms |
BUInt32 | oapiVersion |
BUInt8 | oaddressTo |
BUInt8 | oaddressFrom |
BoapMcPacket | opacketTx |
BoapMcPacket | opacketRx |
BoapMcComms::BoapMcComms | ( | ) |
|
virtual |
|
protected |
Performs a RPC call to the service.
|
protected |
Performs a send.
|
virtual |
Check and process any received packets.
|
virtual |
Process a recieved packet.
Sets the to and from addresses.
void BoapMcComms::setComms | ( | BComms & | comms | ) |
Sets the communications interface to use.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |