23 #ifndef CRPSPKTSERVTEST_H_ 24 #define CRPSPKTSERVTEST_H_ 65 } OnBoardConnectCmd_t ;
81 } OnBoardConnectRep_t ;
90 OnBoardConnectCmd_t* t;
91 t = (OnBoardConnectCmd_t*)p;
92 return __builtin_bswap16(t->AppId);
102 OnBoardConnectCmd_t* t;
103 t = (OnBoardConnectCmd_t*)p;
104 t->AppId = __builtin_bswap16(AppId);
114 OnBoardConnectRep_t* t;
115 t = (OnBoardConnectRep_t*)p;
116 return __builtin_bswap16(t->Dest);
126 OnBoardConnectRep_t* t;
127 t = (OnBoardConnectRep_t*)p;
128 t->Dest = __builtin_bswap16(Dest);
static void setOnBoardConnectRepDest(void *p, CrPsDestSrc_t Dest)
Set "Dest" in "OnBoardConnectRep" packet.
static void setOnBoardConnectCmdAppId(void *p, CrPsApid_t AppId)
Set "AppId" in "OnBoardConnectCmd" packet.
Header file to define all user-configurable constants and types for the IASW Application.
uint16_t CrPsApid_t
Type used for the Application ID of a packet.
uint16_t CrPsDestSrc_t
Type used for the Destination or Source of a packet.
Packet header definitions.
struct __attribute__((packed)) _AreYouAliveCmd_t
Structure for AreYouAliveCmd.
static CrPsDestSrc_t getOnBoardConnectRepDest(void *p)
Get "Dest" from "OnBoardConnectRep" packet.
static CrPsApid_t getOnBoardConnectCmdAppId(void *p)
Get "AppId" from "OnBoardConnectCmd" packet.