|
Beamlib 3.5.2
This is the Beam C++ class library.
|
#include <BTypes.h>#include <BMutex.h>#include <BSemaphore.h>#include <BQueue.h>#include <BFifo.h>#include <BComms.h>Go to the source code of this file.
Classes | |
| class | BoapMc1ApiVer |
| BoapMc1 API version. More... | |
| struct | BoapMc1PacketHead |
| class | BoapMc1Packet |
| struct | BoapMc1Error |
| class | BoapMc1Comms |
Enumerations | |
| enum | BoapMc1Type { BoapMc1TypeRequest = 0x0000 , BoapMc1TypeReply = 0x8000 } |
Functions | |
| class BoapMc1ApiVer | __attribute__ ((aligned(4), packed)) |
| BoapMc1ApiVer (BUInt32 version=0) | |
| BoapMc1ApiVer (BUInt16 maj, BUInt16 mid) | |
| operator BUInt32 () | |
| struct BoapMc1PacketHead | __attribute__ ((aligned(8), packed)) |
| BUInt32 | boapMc1CommsRoundupLen (BUInt32 len) |
Variables | |
| const BUInt16 | BoapMc1Magic = 0x5542 |
| BUInt16 | mid |
| The mid version component. | |
| BUInt16 | maj |
| The major version component. | |
| BUInt16 | magic |
| Packet magic pattern. | |
| BUInt16 | length |
| Total packet length including the header. | |
| BUInt16 | addressTo |
| Address to send to. | |
| BUInt16 | addressFrom |
| Address packet is from. | |
| BUInt16 | cmd |
| The RPC command or reply number. | |
| BInt16 | error |
| Error number. | |
| BUInt32 | checksum |
| Packet checksum, when used. | |
| BoapMc1PacketHead | head |
| char | data [8] |
| BInt16 | number |
| The error number. | |
| char | string [32] |
| The error string. | |
| class BoapMc1Comms | __attribute__ |
| enum BoapMc1Type |
| class BoapMc1ApiVer __attribute__ | ( | (aligned(4), packed) | ) |
| __attribute__::BoapMc1ApiVer | ( | BUInt32 | version = 0 | ) |
| __attribute__::operator BUInt32 | ( | ) |
| struct BoapMc1PacketHead __attribute__ | ( | (aligned(8), packed) | ) |
| const BUInt16 BoapMc1Magic = 0x5542 |
| BUInt16 mid |
The mid version component.
| BUInt16 maj |
The major version component.
| BUInt16 magic |
Packet magic pattern.
| BUInt16 length |
Total packet length including the header.
| BUInt16 addressTo |
Address to send to.
| BUInt16 addressFrom |
Address packet is from.
| BUInt16 cmd |
The RPC command or reply number.
| BInt16 error |
Error number.
| BUInt32 checksum |
Packet checksum, when used.
| BoapMc1PacketHead head |
| char data[8] |
| BInt16 number |
The error number.
| char string[32] |
The error string.
| class BoapMc1Comms __attribute__ |