Add macros for replay packet id
This commit is contained in:
parent
8a25cd8747
commit
a974646558
|
@ -45,6 +45,8 @@ NS_ASSUME_NONNULL_BEGIN
|
|||
#define PacketAckLengthLength ((NSInteger)1)
|
||||
#define PacketPeerIdLength ((NSInteger)3)
|
||||
#define PacketPeerIdDisabled ((uint32_t)0xffffffu)
|
||||
#define PacketReplayIdLength ((NSInteger)4)
|
||||
#define PacketReplayTimestampLength ((NSInteger)4)
|
||||
|
||||
typedef NS_ENUM(uint8_t, PacketCode) {
|
||||
PacketCodeSoftResetV1 = 0x03,
|
||||
|
|
Loading…
Reference in New Issue