Beam-lib 2.15.1 |
BoapMc1.h File Reference
#include <BTypes.h>
#include <BMutex.h>
#include <BSemaphore.h>
#include <BQueue.h>
#include <BFifo.h>
#include <BComms.h>
Classes | |
struct | BoapMc1PacketHead |
class | BoapMc1Packet |
struct | BoapMc1Error |
class | BoapMc1Comms |
Enumerations | |
enum | BoapMc1Type { BoapMc1TypeRequest = 0x0000, BoapMc1TypeReply = 0x8000 } |
Functions | |
struct BoapMc1PacketHead | __attribute__ ((aligned(8), packed)) |
BUInt32 | boapMc1CommsRoundupLen (BUInt32 len) |
Variables | |
const BUInt16 | BoapMc1Magic = 0x5542 |
BUInt16 | magic |
BUInt16 | length |
BUInt16 | addressTo |
Do we want addresses ? More... | |
BUInt16 | addressFrom |
BUInt16 | cmd |
BInt16 | error |
Not used. Maybe return a BError object ? More... | |
BUInt32 | checksum |
Not used. Not sure we want this here or at the very end of the packet. More... | |
BoapMc1PacketHead | head |
char | data [8] |
BInt16 | number |
The error number. More... | |
char | string [32] |
The error string. More... | |
class BoapMc1Comms | __attribute__ |
Enumeration Type Documentation
◆ BoapMc1Type
enum BoapMc1Type |
Function Documentation
◆ __attribute__()
struct BoapMc1PacketHead __attribute__ | ( | (aligned(8), packed) | ) |
◆ boapMc1CommsRoundupLen()
Variable Documentation
◆ __attribute__
class BoapMc1Comms __attribute__ |
◆ addressFrom
BUInt16 addressFrom |
◆ addressTo
BUInt16 addressTo |
Do we want addresses ?
◆ BoapMc1Magic
const BUInt16 BoapMc1Magic = 0x5542 |
◆ checksum
BUInt32 checksum |
Not used. Not sure we want this here or at the very end of the packet.
◆ cmd
BUInt16 cmd |
◆ data
char data[8] |
◆ error
◆ head
BoapMc1PacketHead head |
◆ length
BUInt16 length |
◆ magic
BUInt16 magic |
◆ number
BInt16 number |
The error number.
◆ string
char string[32] |
The error string.
Generated by 1.8.14