#include <BoapMc1.h>
◆ BoapMc1Comms()
BoapMc1Comms::BoapMc1Comms |
( |
Bool |
threaded = 0 , |
|
|
BUInt |
reqSize = 512 |
|
) |
| |
◆ ~BoapMc1Comms()
BoapMc1Comms::~BoapMc1Comms |
( |
| ) |
|
|
virtual |
◆ setCommsMode()
void BoapMc1Comms::setCommsMode |
( |
Bool |
halfDuplex | ) |
|
◆ setComms() [1/2]
void BoapMc1Comms::setComms |
( |
BComms & |
comms | ) |
|
Sets the communications interface to use.
◆ setComms() [2/2]
void BoapMc1Comms::setComms |
( |
BComms * |
comms | ) |
|
Sets the communications interface to use.
◆ setAddress()
void BoapMc1Comms::setAddress |
( |
BUInt16 |
addressTo, |
|
|
BUInt16 |
addressFrom |
|
) |
| |
Sets the to and from addresses.
◆ getApiVersion()
BUInt32 BoapMc1Comms::getApiVersion |
( |
| ) |
|
◆ setTimeout()
Sets the call timeout returning the current value.
◆ validate()
BError BoapMc1Comms::validate |
( |
| ) |
|
|
virtual |
◆ packetRx()
Returns a reference to the current RX packet.
◆ processRx()
BError BoapMc1Comms::processRx |
( |
| ) |
|
|
virtual |
Process any RX packets queuing them as needed.
◆ processRequests()
BError BoapMc1Comms::processRequests |
( |
| ) |
|
|
protectedvirtual |
Check and process any requests.
◆ processRequest()
BError BoapMc1Comms::processRequest |
( |
| ) |
|
|
protectedvirtual |
Check and process any request.
◆ packetTx()
◆ packetRxData()
BError BoapMc1Comms::packetRxData |
( |
void * |
data, |
|
|
BUInt |
nBytes |
|
) |
| |
|
protected |
◆ packetRxEnd()
BError BoapMc1Comms::packetRxEnd |
( |
| ) |
|
|
protected |
◆ othreaded
Bool BoapMc1Comms::othreaded |
|
protected |
◆ oreqSize
The maximum request size.
◆ olockCall
BMutex BoapMc1Comms::olockCall |
|
protected |
Lock for RPC calls. Only one at a time.
◆ olockTx
◆ ocomms
◆ oapiVersion
◆ ohalfDuplex
Bool BoapMc1Comms::ohalfDuplex |
|
protected |
◆ otimeout
The timeout in us for calls.
◆ oaddressTo
◆ oaddressFrom
◆ opacketRxBase
◆ opacketRx
◆ opacketTxBase
◆ opacketTx
◆ opacketRpcCmd
BUInt BoapMc1Comms::opacketRpcCmd |
|
protected |
Waiting for RPC reply to cmd.
◆ opacketRpcSema
Wait RPC reply semaphore.
◆ opacketRpcDoneSema
Wait RPC complete semaphore.
◆ oerror
The documentation for this class was generated from the following files: