|
@@ -26,7 +26,7 @@
|
|
|
/* global defines */
|
|
|
|
|
|
|
|
|
-/*
|
|
|
+/**
|
|
|
* Define the printf format specifier for all GCC versions > 3.3
|
|
|
* This will let the compiler know that shellmatta_printf() is a function taking printf-like format specifiers.
|
|
|
*/
|
|
@@ -303,14 +303,14 @@ typedef uint32_t (*shellmatta_transport_crc_t)(const char* data, const uint32_t
|
|
|
*/
|
|
|
typedef struct __attribute__((__packed__))
|
|
|
{
|
|
|
- uint8_t startOfHeader; /** start of header field */
|
|
|
- uint8_t protocolVersion; /** protocol version of the packet */
|
|
|
- uint8_t packetType; /** type of the packet */
|
|
|
- uint8_t payloadLength; /** length of the payload */
|
|
|
- uint8_t source; /** source of the packet */
|
|
|
- uint8_t destination; /** destination of the packet */
|
|
|
- uint8_t sequenceH2S; /** sequence counter host to shellmatta */
|
|
|
- uint8_t sequenceS2H; /** sequence counter shellmatta to host */
|
|
|
+ uint8_t startOfHeader; /**< start of header field */
|
|
|
+ uint8_t protocolVersion; /**< protocol version of the packet */
|
|
|
+ uint8_t packetType; /**< type of the packet */
|
|
|
+ uint8_t payloadLength; /**< length of the payload */
|
|
|
+ uint8_t source; /**< source of the packet */
|
|
|
+ uint8_t destination; /**< destination of the packet */
|
|
|
+ uint8_t sequenceH2S; /**< sequence counter host to shellmatta */
|
|
|
+ uint8_t sequenceS2H; /**< sequence counter shellmatta to host */
|
|
|
} shellmatta_transport_header_t;
|
|
|
|
|
|
/**
|