Account
Beamlib 3.3.4 This is the Beam C++ class library. |
Loading...
Searching...
No Matches
BoapMc1.h
Go to the documentation of this file.
105};
class BoapMc1Comms __attribute__
A chunk of data allowing writes of multiple chunks of segmented data.
Definition BTypes.h:94
Error return class. This class is used to return the error status from a function....
Definition BError.h:31
Mutex class. Note these are recursive Mutexes and so you need to make sure the number of unlocks equa...
Definition BMutex.h:14
Definition BoapMc1.h:54
BMutex olockCall
Lock for RPC calls. Only one at a time.
Definition BoapMc1.h:88
virtual BError processRequests()
Check and process any requests.
Definition BoapMc1.cpp:273
BSemaphore opacketRpcSema
Wait RPC reply semaphore.
Definition BoapMc1.h:102
BSemaphore opacketRpcDoneSema
Wait RPC complete semaphore.
Definition BoapMc1.h:103
void setAddress(BUInt16 addressTo, BUInt16 addressFrom)
Sets the to and from addresses.
Definition BoapMc1.cpp:77
BError packetTx(BDataChunk *chunks, BUInt nChunks, BUInt16 waitCmdReply)
Definition BoapMc1.cpp:102
BoapMc1Packet * packetRx()
Returns a reference to the current RX packet.
Definition BoapMc1.cpp:98
virtual BError processRequest()
Check and process any request.
Definition BoapMc1.cpp:261
void setCommsMode(Bool halfDuplex)
Sets half duplex mode.
Definition BoapMc1.cpp:65
virtual BError processRx()
Process any RX packets queuing them as needed.
Definition BoapMc1.cpp:180
BUInt32 setTimeout(BUInt32 timeoutUs)
Sets the call timeout returning the current value.
Definition BoapMc1.cpp:86
void setComms(BComms &comms)
Sets the communications interface to use.
Definition BoapMc1.cpp:69
Definition BoapMc1.h:34
Definition BoapMc1.h:40
Definition BoapMc1.h:23
BUInt16 length
Total packet length including the header.
Definition BoapMc1.h:25
Generated by