10#if FW_ENABLE_TEXT_LOGGING
35 class ComponentIpcSerializableBuffer :
45 MAX_DATA_SIZE =
sizeof(BuffUnion),
47 SERIALIZATION_SIZE = DATA_OFFSET + MAX_DATA_SIZE
51 return sizeof(m_buff);
58 const U8* getBuffAddr()
const {
64 U8 m_buff[SERIALIZATION_SIZE];
73 void TlmPacketizerComponentBase ::
85 port < static_cast<FwIndexType>(this->getNum_cmdIn_InputPorts());
88 this->m_cmdIn_InputPort[port].init();
89 this->m_cmdIn_InputPort[port].addCallComp(
93 this->m_cmdIn_InputPort[port].setPortNum(port);
95#if FW_OBJECT_NAMES == 1
99 this->m_objName.toChar(),
102 this->m_cmdIn_InputPort[port].setObjName(portName.
toChar());
109 port < static_cast<FwIndexType>(this->getNum_Run_InputPorts());
112 this->m_Run_InputPort[port].init();
113 this->m_Run_InputPort[port].addCallComp(
117 this->m_Run_InputPort[port].setPortNum(port);
119#if FW_OBJECT_NAMES == 1
123 this->m_objName.toChar(),
126 this->m_Run_InputPort[port].setObjName(portName.
toChar());
133 port < static_cast<FwIndexType>(this->getNum_TlmRecv_InputPorts());
136 this->m_TlmRecv_InputPort[port].init();
137 this->m_TlmRecv_InputPort[port].addCallComp(
141 this->m_TlmRecv_InputPort[port].setPortNum(port);
143#if FW_OBJECT_NAMES == 1
147 this->m_objName.toChar(),
150 this->m_TlmRecv_InputPort[port].setObjName(portName.
toChar());
157 port < static_cast<FwIndexType>(this->getNum_pingIn_InputPorts());
160 this->m_pingIn_InputPort[port].init();
161 this->m_pingIn_InputPort[port].addCallComp(
165 this->m_pingIn_InputPort[port].setPortNum(port);
167#if FW_OBJECT_NAMES == 1
171 this->m_objName.toChar(),
174 this->m_pingIn_InputPort[port].setObjName(portName.
toChar());
181 port < static_cast<FwIndexType>(this->getNum_cmdRegOut_OutputPorts());
184 this->m_cmdRegOut_OutputPort[port].init();
186#if FW_OBJECT_NAMES == 1
190 this->m_objName.toChar(),
193 this->m_cmdRegOut_OutputPort[port].setObjName(portName.
toChar());
200 port < static_cast<FwIndexType>(this->getNum_cmdResponseOut_OutputPorts());
203 this->m_cmdResponseOut_OutputPort[port].init();
205#if FW_OBJECT_NAMES == 1
209 this->m_objName.toChar(),
212 this->m_cmdResponseOut_OutputPort[port].setObjName(portName.
toChar());
219 port < static_cast<FwIndexType>(this->getNum_eventOut_OutputPorts());
222 this->m_eventOut_OutputPort[port].init();
224#if FW_OBJECT_NAMES == 1
228 this->m_objName.toChar(),
231 this->m_eventOut_OutputPort[port].setObjName(portName.
toChar());
235#if FW_ENABLE_TEXT_LOGGING == 1
239 port < static_cast<FwIndexType>(this->getNum_textEventOut_OutputPorts());
242 this->m_textEventOut_OutputPort[port].init();
244#if FW_OBJECT_NAMES == 1
248 this->m_objName.toChar(),
251 this->m_textEventOut_OutputPort[port].setObjName(portName.
toChar());
259 port < static_cast<FwIndexType>(this->getNum_timeGetOut_OutputPorts());
262 this->m_timeGetOut_OutputPort[port].init();
264#if FW_OBJECT_NAMES == 1
268 this->m_objName.toChar(),
271 this->m_timeGetOut_OutputPort[port].setObjName(portName.
toChar());
278 port < static_cast<FwIndexType>(this->getNum_tlmOut_OutputPorts());
281 this->m_tlmOut_OutputPort[port].init();
283#if FW_OBJECT_NAMES == 1
287 this->m_objName.toChar(),
290 this->m_tlmOut_OutputPort[port].setObjName(portName.
toChar());
297 port < static_cast<FwIndexType>(this->getNum_PktSend_OutputPorts());
300 this->m_PktSend_OutputPort[port].init();
302#if FW_OBJECT_NAMES == 1
306 this->m_objName.toChar(),
309 this->m_PktSend_OutputPort[port].setObjName(portName.
toChar());
316 port < static_cast<FwIndexType>(this->getNum_pingOut_OutputPorts());
319 this->m_pingOut_OutputPort[port].init();
321#if FW_OBJECT_NAMES == 1
325 this->m_objName.toChar(),
328 this->m_pingOut_OutputPort[port].setObjName(portName.
toChar());
335 static_cast<FwSizeType>(ComponentIpcSerializableBuffer::SERIALIZATION_SIZE)
351 portNum < this->getNum_cmdIn_InputPorts(),
355 return &this->m_cmdIn_InputPort[portNum];
366 portNum < this->getNum_Run_InputPorts(),
370 return &this->m_Run_InputPort[portNum];
377 portNum < this->getNum_TlmRecv_InputPorts(),
381 return &this->m_TlmRecv_InputPort[portNum];
388 portNum < this->getNum_pingIn_InputPorts(),
392 return &this->m_pingIn_InputPort[portNum];
399 void TlmPacketizerComponentBase ::
400 set_cmdRegOut_OutputPort(
406 portNum < this->getNum_cmdRegOut_OutputPorts(),
410 this->m_cmdRegOut_OutputPort[portNum].addCallPort(port);
413 void TlmPacketizerComponentBase ::
414 set_cmdResponseOut_OutputPort(
420 portNum < this->getNum_cmdResponseOut_OutputPorts(),
424 this->m_cmdResponseOut_OutputPort[portNum].addCallPort(port);
427 void TlmPacketizerComponentBase ::
428 set_eventOut_OutputPort(
434 portNum < this->getNum_eventOut_OutputPorts(),
438 this->m_eventOut_OutputPort[portNum].addCallPort(port);
441#if FW_ENABLE_TEXT_LOGGING == 1
443 void TlmPacketizerComponentBase ::
444 set_textEventOut_OutputPort(
450 portNum < this->getNum_textEventOut_OutputPorts(),
454 this->m_textEventOut_OutputPort[portNum].addCallPort(port);
459 void TlmPacketizerComponentBase ::
460 set_timeGetOut_OutputPort(
466 portNum < this->getNum_timeGetOut_OutputPorts(),
470 this->m_timeGetOut_OutputPort[portNum].addCallPort(port);
473 void TlmPacketizerComponentBase ::
474 set_tlmOut_OutputPort(
480 portNum < this->getNum_tlmOut_OutputPorts(),
484 this->m_tlmOut_OutputPort[portNum].addCallPort(port);
491 void TlmPacketizerComponentBase ::
492 set_PktSend_OutputPort(
498 portNum < this->getNum_PktSend_OutputPorts(),
502 this->m_PktSend_OutputPort[portNum].addCallPort(port);
505 void TlmPacketizerComponentBase ::
506 set_pingOut_OutputPort(
512 portNum < this->getNum_pingOut_OutputPorts(),
516 this->m_pingOut_OutputPort[portNum].addCallPort(port);
519#if FW_PORT_SERIALIZATION
525 void TlmPacketizerComponentBase ::
526 set_cmdRegOut_OutputPort(
528 Fw::InputSerializePort* port
532 portNum < this->getNum_cmdRegOut_OutputPorts(),
536 this->m_cmdRegOut_OutputPort[portNum].registerSerialPort(port);
539 void TlmPacketizerComponentBase ::
540 set_cmdResponseOut_OutputPort(
542 Fw::InputSerializePort* port
546 portNum < this->getNum_cmdResponseOut_OutputPorts(),
550 this->m_cmdResponseOut_OutputPort[portNum].registerSerialPort(port);
553 void TlmPacketizerComponentBase ::
554 set_eventOut_OutputPort(
556 Fw::InputSerializePort* port
560 portNum < this->getNum_eventOut_OutputPorts(),
564 this->m_eventOut_OutputPort[portNum].registerSerialPort(port);
567#if FW_ENABLE_TEXT_LOGGING == 1
569 void TlmPacketizerComponentBase ::
570 set_textEventOut_OutputPort(
572 Fw::InputSerializePort* port
576 portNum < this->getNum_textEventOut_OutputPorts(),
580 this->m_textEventOut_OutputPort[portNum].registerSerialPort(port);
585 void TlmPacketizerComponentBase ::
586 set_timeGetOut_OutputPort(
588 Fw::InputSerializePort* port
592 portNum < this->getNum_timeGetOut_OutputPorts(),
596 this->m_timeGetOut_OutputPort[portNum].registerSerialPort(port);
599 void TlmPacketizerComponentBase ::
600 set_tlmOut_OutputPort(
602 Fw::InputSerializePort* port
606 portNum < this->getNum_tlmOut_OutputPorts(),
610 this->m_tlmOut_OutputPort[portNum].registerSerialPort(port);
615#if FW_PORT_SERIALIZATION
621 void TlmPacketizerComponentBase ::
622 set_PktSend_OutputPort(
624 Fw::InputSerializePort* port
628 portNum < this->getNum_PktSend_OutputPorts(),
632 this->m_PktSend_OutputPort[portNum].registerSerialPort(port);
635 void TlmPacketizerComponentBase ::
636 set_pingOut_OutputPort(
638 Fw::InputSerializePort* port
642 portNum < this->getNum_pingOut_OutputPorts(),
646 this->m_pingOut_OutputPort[portNum].registerSerialPort(port);
655 void TlmPacketizerComponentBase ::
658 FW_ASSERT(this->m_cmdRegOut_OutputPort[0].isConnected());
660 this->m_cmdRegOut_OutputPort[0].invoke(
661 this->getIdBase() + OPCODE_SET_LEVEL
664 this->m_cmdRegOut_OutputPort[0].invoke(
665 this->getIdBase() + OPCODE_SEND_PKT
673 TlmPacketizerComponentBase ::
674 TlmPacketizerComponentBase(
const char* compName) :
675 Fw::ActiveComponentBase(compName)
680 TlmPacketizerComponentBase ::
681 ~TlmPacketizerComponentBase()
691 getNum_cmdIn_InputPorts()
const
701 getNum_Run_InputPorts()
const
707 getNum_TlmRecv_InputPorts()
const
713 getNum_pingIn_InputPorts()
const
723 getNum_cmdRegOut_OutputPorts()
const
729 getNum_cmdResponseOut_OutputPorts()
const
735 getNum_eventOut_OutputPorts()
const
740#if FW_ENABLE_TEXT_LOGGING == 1
743 getNum_textEventOut_OutputPorts()
const
751 getNum_timeGetOut_OutputPorts()
const
757 getNum_tlmOut_OutputPorts()
const
767 getNum_PktSend_OutputPorts()
const
773 getNum_pingOut_OutputPorts()
const
782 bool TlmPacketizerComponentBase ::
783 isConnected_cmdRegOut_OutputPort(
FwIndexType portNum)
786 portNum < this->getNum_cmdRegOut_OutputPorts(),
790 return this->m_cmdRegOut_OutputPort[portNum].isConnected();
793 bool TlmPacketizerComponentBase ::
794 isConnected_cmdResponseOut_OutputPort(
FwIndexType portNum)
797 portNum < this->getNum_cmdResponseOut_OutputPorts(),
801 return this->m_cmdResponseOut_OutputPort[portNum].isConnected();
804 bool TlmPacketizerComponentBase ::
805 isConnected_eventOut_OutputPort(
FwIndexType portNum)
808 portNum < this->getNum_eventOut_OutputPorts(),
812 return this->m_eventOut_OutputPort[portNum].isConnected();
815#if FW_ENABLE_TEXT_LOGGING == 1
817 bool TlmPacketizerComponentBase ::
818 isConnected_textEventOut_OutputPort(
FwIndexType portNum)
821 portNum < this->getNum_textEventOut_OutputPorts(),
825 return this->m_textEventOut_OutputPort[portNum].isConnected();
830 bool TlmPacketizerComponentBase ::
831 isConnected_timeGetOut_OutputPort(
FwIndexType portNum)
834 portNum < this->getNum_timeGetOut_OutputPorts(),
838 return this->m_timeGetOut_OutputPort[portNum].isConnected();
841 bool TlmPacketizerComponentBase ::
845 portNum < this->getNum_tlmOut_OutputPorts(),
849 return this->m_tlmOut_OutputPort[portNum].isConnected();
856 bool TlmPacketizerComponentBase ::
857 isConnected_PktSend_OutputPort(
FwIndexType portNum)
860 portNum < this->getNum_PktSend_OutputPorts(),
864 return this->m_PktSend_OutputPort[portNum].isConnected();
867 bool TlmPacketizerComponentBase ::
868 isConnected_pingOut_OutputPort(
FwIndexType portNum)
871 portNum < this->getNum_pingOut_OutputPorts(),
875 return this->m_pingOut_OutputPort[portNum].isConnected();
884 void TlmPacketizerComponentBase ::
892 portNum < this->getNum_Run_InputPorts(),
901 ComponentIpcSerializableBuffer msg;
905 _status = msg.serialize(
914 _status = msg.serialize(portNum);
921 _status = msg.serialize(context);
937 void TlmPacketizerComponentBase ::
947 portNum < this->getNum_TlmRecv_InputPorts(),
952 this->TlmRecv_handler(
960 void TlmPacketizerComponentBase ::
968 portNum < this->getNum_pingIn_InputPorts(),
977 ComponentIpcSerializableBuffer msg;
981 _status = msg.serialize(
990 _status = msg.serialize(portNum);
997 _status = msg.serialize(key);
1021 void TlmPacketizerComponentBase ::
1030 void TlmPacketizerComponentBase ::
1043 void TlmPacketizerComponentBase ::
1051 portNum < this->getNum_PktSend_OutputPorts(),
1054 this->m_PktSend_OutputPort[portNum].invoke(
1060 void TlmPacketizerComponentBase ::
1067 portNum < this->getNum_pingOut_OutputPorts(),
1070 this->m_pingOut_OutputPort[portNum].invoke(
1079 void TlmPacketizerComponentBase ::
1086 FW_ASSERT(this->m_cmdResponseOut_OutputPort[0].isConnected());
1087 this->m_cmdResponseOut_OutputPort[0].invoke(opCode, cmdSeq, response);
1096 void TlmPacketizerComponentBase ::
1097 SET_LEVEL_cmdHandlerBase(
1104 this->SET_LEVEL_preMsgHook(opCode,cmdSeq);
1108 ComponentIpcSerializableBuffer msg;
1121 _status = msg.serialize(port);
1127 _status = msg.serialize(opCode);
1133 _status = msg.serialize(cmdSeq);
1139 _status = msg.serialize(args);
1155 void TlmPacketizerComponentBase ::
1156 SEND_PKT_cmdHandlerBase(
1163 this->SEND_PKT_preMsgHook(opCode,cmdSeq);
1167 ComponentIpcSerializableBuffer msg;
1180 _status = msg.serialize(port);
1186 _status = msg.serialize(opCode);
1192 _status = msg.serialize(cmdSeq);
1198 _status = msg.serialize(args);
1222 void TlmPacketizerComponentBase ::
1223 SET_LEVEL_preMsgHook(
1233 void TlmPacketizerComponentBase ::
1234 SEND_PKT_preMsgHook(
1248 void TlmPacketizerComponentBase ::
1249 log_WARNING_LO_NoChan(U32 Id)
const
1253 if (this->m_timeGetOut_OutputPort[0].isConnected()) {
1254 this->m_timeGetOut_OutputPort[0].invoke(_logTime);
1259 _id = this->getIdBase() + EVENTID_NOCHAN;
1262 if (this->m_eventOut_OutputPort[0].isConnected()) {
1266#if FW_AMPCS_COMPATIBLE
1275#if FW_AMPCS_COMPATIBLE
1278 static_cast<U8>(
sizeof(U32))
1291 this->m_eventOut_OutputPort[0].invoke(
1300#if FW_ENABLE_TEXT_LOGGING
1301 if (this->m_textEventOut_OutputPort[0].isConnected()) {
1302#if FW_OBJECT_NAMES == 1
1303 const char* _formatString =
1304 "(%s) %s: Telemetry ID 0x%" PRIx32
" not packetized";
1306 const char* _formatString =
1307 "%s: Telemetry ID 0x%" PRIx32
" not packetized";
1314 this->m_objName.toChar(),
1320 this->m_textEventOut_OutputPort[0].invoke(
1330 void TlmPacketizerComponentBase ::
1331 log_ACTIVITY_HI_LevelSet(U32
id)
const
1335 if (this->m_timeGetOut_OutputPort[0].isConnected()) {
1336 this->m_timeGetOut_OutputPort[0].invoke(_logTime);
1341 _id = this->getIdBase() + EVENTID_LEVELSET;
1344 if (this->m_eventOut_OutputPort[0].isConnected()) {
1348#if FW_AMPCS_COMPATIBLE
1357#if FW_AMPCS_COMPATIBLE
1360 static_cast<U8>(
sizeof(U32))
1373 this->m_eventOut_OutputPort[0].invoke(
1382#if FW_ENABLE_TEXT_LOGGING
1383 if (this->m_textEventOut_OutputPort[0].isConnected()) {
1384#if FW_OBJECT_NAMES == 1
1385 const char* _formatString =
1386 "(%s) %s: Telemetry send level to %" PRIu32
"";
1388 const char* _formatString =
1389 "%s: Telemetry send level to %" PRIu32
"";
1396 this->m_objName.toChar(),
1402 this->m_textEventOut_OutputPort[0].invoke(
1412 void TlmPacketizerComponentBase ::
1413 log_WARNING_LO_MaxLevelExceed(
1420 if (this->m_timeGetOut_OutputPort[0].isConnected()) {
1421 this->m_timeGetOut_OutputPort[0].invoke(_logTime);
1426 _id = this->getIdBase() + EVENTID_MAXLEVELEXCEED;
1429 if (this->m_eventOut_OutputPort[0].isConnected()) {
1433#if FW_AMPCS_COMPATIBLE
1442#if FW_AMPCS_COMPATIBLE
1445 static_cast<U8>(
sizeof(U32))
1458#if FW_AMPCS_COMPATIBLE
1461 static_cast<U8>(
sizeof(U32))
1474 this->m_eventOut_OutputPort[0].invoke(
1483#if FW_ENABLE_TEXT_LOGGING
1484 if (this->m_textEventOut_OutputPort[0].isConnected()) {
1485#if FW_OBJECT_NAMES == 1
1486 const char* _formatString =
1487 "(%s) %s: Requested send level %" PRIu32
" higher than max packet level of %" PRIu32
"";
1489 const char* _formatString =
1490 "%s: Requested send level %" PRIu32
" higher than max packet level of %" PRIu32
"";
1497 this->m_objName.toChar(),
1504 this->m_textEventOut_OutputPort[0].invoke(
1514 void TlmPacketizerComponentBase ::
1515 log_ACTIVITY_LO_PacketSent(U32
id)
const
1519 if (this->m_timeGetOut_OutputPort[0].isConnected()) {
1520 this->m_timeGetOut_OutputPort[0].invoke(_logTime);
1525 _id = this->getIdBase() + EVENTID_PACKETSENT;
1528 if (this->m_eventOut_OutputPort[0].isConnected()) {
1532#if FW_AMPCS_COMPATIBLE
1541#if FW_AMPCS_COMPATIBLE
1544 static_cast<U8>(
sizeof(U32))
1557 this->m_eventOut_OutputPort[0].invoke(
1566#if FW_ENABLE_TEXT_LOGGING
1567 if (this->m_textEventOut_OutputPort[0].isConnected()) {
1568#if FW_OBJECT_NAMES == 1
1569 const char* _formatString =
1570 "(%s) %s: Sent packet ID %" PRIu32
"";
1572 const char* _formatString =
1573 "%s: Sent packet ID %" PRIu32
"";
1580 this->m_objName.toChar(),
1586 this->m_textEventOut_OutputPort[0].invoke(
1596 void TlmPacketizerComponentBase ::
1597 log_WARNING_LO_PacketNotFound(U32
id)
const
1601 if (this->m_timeGetOut_OutputPort[0].isConnected()) {
1602 this->m_timeGetOut_OutputPort[0].invoke(_logTime);
1607 _id = this->getIdBase() + EVENTID_PACKETNOTFOUND;
1610 if (this->m_eventOut_OutputPort[0].isConnected()) {
1614#if FW_AMPCS_COMPATIBLE
1623#if FW_AMPCS_COMPATIBLE
1626 static_cast<U8>(
sizeof(U32))
1639 this->m_eventOut_OutputPort[0].invoke(
1648#if FW_ENABLE_TEXT_LOGGING
1649 if (this->m_textEventOut_OutputPort[0].isConnected()) {
1650#if FW_OBJECT_NAMES == 1
1651 const char* _formatString =
1652 "(%s) %s: Could not find packet ID %" PRIu32
"";
1654 const char* _formatString =
1655 "%s: Could not find packet ID %" PRIu32
"";
1662 this->m_objName.toChar(),
1668 this->m_textEventOut_OutputPort[0].invoke(
1682 void TlmPacketizerComponentBase ::
1688 if (this->m_tlmOut_OutputPort[0].isConnected()) {
1690 this->m_timeGetOut_OutputPort[0].isConnected() &&
1693 this->m_timeGetOut_OutputPort[0].invoke(_tlmTime);
1705 _id = this->getIdBase() + CHANNELID_SENDLEVEL;
1707 this->m_tlmOut_OutputPort[0].invoke(
1722 if (this->m_timeGetOut_OutputPort[0].isConnected()) {
1724 this->m_timeGetOut_OutputPort[0].invoke(_time);
1739 ComponentIpcSerializableBuffer msg;
1762 MsgTypeEnum msgType =
static_cast<MsgTypeEnum
>(desMsg);
1764 if (msgType == TLMPACKETIZER_COMPONENT_EXIT) {
1765 return MSG_DISPATCH_EXIT;
1769 deserStatus = msg.deserialize(portNum);
1780 deserStatus = msg.deserialize(context);
1798 deserStatus = msg.deserialize(key);
1804 this->pingIn_handler(
1813 case CMD_SET_LEVEL: {
1816 deserStatus = msg.deserialize(opCode);
1824 deserStatus = msg.deserialize(cmdSeq);
1832 deserStatus = msg.deserialize(args);
1845 if (this->m_cmdResponseOut_OutputPort[0].isConnected()) {
1846 this->cmdResponse_out(
1858#if FW_CMD_CHECK_RESIDUAL
1860 if (this->m_cmdResponseOut_OutputPort[0].isConnected()) {
1869 this->SET_LEVEL_cmdHandler(
1878 case CMD_SEND_PKT: {
1881 deserStatus = msg.deserialize(opCode);
1889 deserStatus = msg.deserialize(cmdSeq);
1897 deserStatus = msg.deserialize(args);
1910 if (this->m_cmdResponseOut_OutputPort[0].isConnected()) {
1911 this->cmdResponse_out(
1923#if FW_CMD_CHECK_RESIDUAL
1925 if (this->m_cmdResponseOut_OutputPort[0].isConnected()) {
1934 this->SEND_PKT_cmdHandler(
1943 return MSG_DISPATCH_ERROR;
1946 return MSG_DISPATCH_OK;
1953 void TlmPacketizerComponentBase ::
1963 TlmPacketizerComponentBase* compPtr =
static_cast<TlmPacketizerComponentBase*
>(callComp);
1965 const U32 idBase = callComp->
getIdBase();
1969 switch (opCode - idBase) {
1970 case OPCODE_SET_LEVEL: {
1971 compPtr->SET_LEVEL_cmdHandlerBase(
1979 case OPCODE_SEND_PKT: {
1980 compPtr->SEND_PKT_cmdHandlerBase(
1994 void TlmPacketizerComponentBase ::
2002 TlmPacketizerComponentBase* compPtr =
static_cast<TlmPacketizerComponentBase*
>(callComp);
2003 compPtr->Run_handlerBase(
2009 void TlmPacketizerComponentBase ::
2019 TlmPacketizerComponentBase* compPtr =
static_cast<TlmPacketizerComponentBase*
>(callComp);
2020 compPtr->TlmRecv_handlerBase(
2028 void TlmPacketizerComponentBase ::
2036 TlmPacketizerComponentBase* compPtr =
static_cast<TlmPacketizerComponentBase*
>(callComp);
2037 compPtr->pingIn_handlerBase(
uint8_t U8
8-bit unsigned integer
#define FW_NUM_ARRAY_ELEMENTS(a)
number of elements in an array
#define PRI_PlatformIntType
@ TB_NONE
No time base has been established.
PlatformAssertArgType FwAssertArgType
PlatformSizeType FwSizeType
PlatformQueuePriorityType FwQueuePriorityType
PlatformIndexType FwIndexType
#define FW_OBJECT_NAMES
Indicates whether or not object names are stored (more memory, can be used for tracking objects)/*#en...
@ ACTIVE_COMPONENT_EXIT
message to exit active component task
Enum representing a command response.
@ FORMAT_ERROR
Command failed to deserialize.
@ ACTIVITY_HI
Important informational events.
@ WARNING_LO
A less serious but recoverable event.
@ ACTIVITY_LO
Less important informational events.
void init()
Object initializer.
const char * toChar() const
NATIVE_UINT_TYPE SizeType
void resetDeser()
reset deserialization to beginning
Serializable::SizeType getBuffLeft() const
returns how much deserialization buffer is left
SerializeStatus deserialize(U8 &val)
deserialize 8-bit unsigned int
SerializeStatus serialize(U8 val)
serialize 8-bit unsigned int
void format(const CHAR *formatString,...)
write formatted string to buffer
@ BLOCKING
Message will block until space is available.
@ NONBLOCKING
Message will return with status when space is unavailable.
Status
status returned from the queue send function
@ OP_OK
message sent/received okay
SerializeStatus
forward declaration for string
@ FW_SERIALIZE_OK
Serialization/Deserialization operation was successful.