Account
Beam-lib 2.16.3 This is the Beam C++ class library. |
BoapMc1.h
Go to the documentation of this file.
Definition: BoapMc1.h:39
void setComms(BComms &comms)
Sets the communications interface to use.
Definition: BoapMc1.cpp:68
virtual BError processRequest()
Check and process any request.
Definition: BoapMc1.cpp:254
Definition: BoapMc1.h:19
BoapMc1Comms(Bool threaded=0, BUInt reqSize=512)
Definition: BoapMc1.cpp:47
BSemaphore opacketRpcSema
Wait RPC reply semaphore.
Definition: BoapMc1.h:101
BUInt opacketRpcCmd
Waiting for RPC reply to cmd.
Definition: BoapMc1.h:100
Definition: BoapMc1.h:19
BMutex olockCall
Lock for RPC calls. Only one at a time.
Definition: BoapMc1.h:87
Definition: BoapMc1.h:53
BoapMc1Packet * packetRx()
Returns a reference to the current RX packet.
Definition: BoapMc1.cpp:97
BSemaphore opacketRpcDoneSema
Wait RPC complete semaphore.
Definition: BoapMc1.h:102
void setCommsMode(Bool halfDuplex)
Sets half duplex mode.
Definition: BoapMc1.cpp:64
Definition: BComms.h:14
BError packetTx(BDataChunk *chunks, BUInt nChunks, BUInt16 waitCmdReply)
Definition: BoapMc1.cpp:101
Definition: BMutex.h:14
Definition: BTypes.h:91
void setAddress(BUInt16 addressTo, BUInt16 addressFrom)
Sets the to and from addresses.
Definition: BoapMc1.cpp:76
BUInt32 setTimeout(BUInt32 timeoutUs)
Sets the call timeout returning the current value.
Definition: BoapMc1.cpp:85
Definition: BoapMc1.h:33
virtual BError processRequests()
Check and process any requests.
Definition: BoapMc1.cpp:266
class BoapMc1Comms __attribute__
BUInt32 getApiVersion()
Returns the API version.
Definition: BoapMc1.cpp:81
Definition: BError.h:25
Definition: BoapMc1.h:22
BUInt16 length
Total packet length including the header.
Definition: BoapMc1.h:24
virtual BError processRx()
Process any RX packets queuing them as needed.
Definition: BoapMc1.cpp:173
Generated by
