ArmSys Support
ArmsysApi  0.12.18
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
 Packet magic pattern. More...
 
BUInt16 length
 Total packet length including the header. More...
 
BUInt16 addressTo
 Address to send to. More...
 
BUInt16 addressFrom
 Address packet is from. More...
 
BUInt16 cmd
 The RPC command or reply number. More...
 
BInt16 error
 Error number. More...
 
BUInt32 checksum
 Packet checksum, when used. 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

Enumerator
BoapMc1TypeRequest 
BoapMc1TypeReply 

Function Documentation

◆ __attribute__()

struct BoapMc1PacketHead __attribute__ ( (aligned(8), packed)  )

◆ boapMc1CommsRoundupLen()

BUInt32 boapMc1CommsRoundupLen ( BUInt32  len)
inline

Variable Documentation

◆ __attribute__

class BoapMc1Comms __attribute__

◆ addressFrom

BUInt16 addressFrom

Address packet is from.

◆ addressTo

BUInt16 addressTo

Address to send to.

◆ BoapMc1Magic

const BUInt16 BoapMc1Magic = 0x5542

◆ checksum

BUInt32 checksum

Packet checksum, when used.

◆ cmd

BUInt16 cmd

The RPC command or reply number.

◆ data

char data[8]

◆ error

BInt16 error

Error number.

◆ head

◆ length

BUInt16 length

Total packet length including the header.

◆ magic

BUInt16 magic

Packet magic pattern.

◆ number

BInt16 number

The error number.

◆ string

char string[32]

The error string.