Neonode zForce(TM) SDK

McuUniqueIdentifierMessage.h
Go to the documentation of this file.
1
8 #ifndef MESSAGE_MCUUNIQUEIDENTIFIERMESSAGE_MCUUNIQUEIDENTIFIERMESSAGE_H
9 #define MESSAGE_MCUUNIQUEIDENTIFIERMESSAGE_MCUUNIQUEIDENTIFIERMESSAGE_H 1
10
11 #ifndef ZFORCECOMMON_H
12 #error Please include "zForceCommon.h" before this file.
13 #endif // ZFORCECOMMON_H
14
20 struct McuUniqueIdentifierMessage
21 {
27 MessageType MessageType;
33 MessageGroup MessageGroup;
39 bool Error;
45 int ErrorCode;
51 uint64_t SerialNumber;
57 void ( * Destructor)(Message * self);
58 uint8_t * McuUniqueIdentifier;
59 uint32_t BufferSize;
60 };
61
62 #ifdef __cplusplus
63 extern "C"
64 {
65 #endif // __cplusplus
66
82 DLLINTERNAL McuUniqueIdentifierMessage * McuUniqueIdentifierMessage_New (MessageGroup messageGroup, uint32_t size);
83
84 #ifdef __cplusplus
85 }
86 #endif // __cplusplus
87
88 #endif // MESSAGE_MCUUNIQUEIDENTIFIERMESSAGE_MCUUNIQUEIDENTIFIERMESSAGE_H
McuUniqueIdentifierMessage_New
DLLINTERNAL McuUniqueIdentifierMessage * McuUniqueIdentifierMessage_New(MessageGroup messageGroup, uint32_t size)
Internal constructor for McuUniqueIdentifierMessage.
McuUniqueIdentifierMessage
This structure represents an mcu unique identifier message.
Definition: McuUniqueIdentifierMessage.h:21
McuUniqueIdentifierMessage::Destructor
void(* Destructor)(Message *self)
Definition: McuUniqueIdentifierMessage.h:57
McuUniqueIdentifierMessage::ErrorCode
int ErrorCode
Definition: McuUniqueIdentifierMessage.h:45
McuUniqueIdentifierMessage::Error
bool Error
Definition: McuUniqueIdentifierMessage.h:39
McuUniqueIdentifierMessage::MessageGroup
MessageGroup MessageGroup
Definition: McuUniqueIdentifierMessage.h:33
McuUniqueIdentifierMessage::McuUniqueIdentifier
uint8_t * McuUniqueIdentifier
MCU identifier.
Definition: McuUniqueIdentifierMessage.h:58
McuUniqueIdentifierMessage::MessageType
MessageType MessageType
Definition: McuUniqueIdentifierMessage.h:27
McuUniqueIdentifierMessage::BufferSize
uint32_t BufferSize
Size of mcu identifier.
Definition: McuUniqueIdentifierMessage.h:59
McuUniqueIdentifierMessage::SerialNumber
uint64_t SerialNumber
Definition: McuUniqueIdentifierMessage.h:51
Message
The main Message struct.
Definition: Message.h:21
MessageGroup
MessageGroup
Enum describing the different groups a message can belong to.
Definition: zForceTypes.h:134
MessageType
MessageType
Enum describing the different message types that exists.
Definition: zForceTypes.h:104