start on priv
This commit is contained in:
@@ -3,4 +3,17 @@
|
|||||||
#ifndef _BBNOW_PRIV_H
|
#ifndef _BBNOW_PRIV_H
|
||||||
#define _BBNOW_PRIV_H
|
#define _BBNOW_PRIV_H
|
||||||
|
|
||||||
|
#include <stdint.h>
|
||||||
|
|
||||||
|
#define EXPANDER_DEVICE_NAME_MAX_LEN 32
|
||||||
|
|
||||||
|
/// The packet type for `BBNowPubPacket`s.
|
||||||
|
enum class BBNowPrivPacketType: uint16_t {
|
||||||
|
NONE = 0,
|
||||||
|
ACK = 1,
|
||||||
|
DISCOVERY_RESPONSE = 2,
|
||||||
|
EXPANDER_MESSAGE = 3,
|
||||||
|
MAX = 3,
|
||||||
|
};
|
||||||
|
|
||||||
#endif /* _BBNOW_PRIV_H */
|
#endif /* _BBNOW_PRIV_H */
|
||||||
|
|||||||
@@ -19,7 +19,6 @@ struct BlkBoxNowPubDiscoveryData {
|
|||||||
BlkBoxExpantion expantion_type{};
|
BlkBoxExpantion expantion_type{};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
///////////////////////////////////////
|
///////////////////////////////////////
|
||||||
// PUB PACKET //
|
// PUB PACKET //
|
||||||
/////////////////////////////////////
|
/////////////////////////////////////
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
/// Types for the BLK_BOX NOW protocol
|
/// Types for the BLK_BOX NOW protocol
|
||||||
|
|
||||||
#ifndef _BBNOW_H
|
#ifndef _BBNOW_TYPES_H
|
||||||
#define _BBNOW_H
|
#define _BBNOW_TYPES_H
|
||||||
|
|
||||||
#include "bbnow_pub.hpp" // IWYU pragma: keep
|
#include "bbnow_pub.hpp" // IWYU pragma: keep
|
||||||
#include "bbnow_priv.hpp" // IWYU pragma: keep
|
#include "bbnow_priv.hpp" // IWYU pragma: keep
|
||||||
|
|
||||||
#endif /* _BBNOW_H */
|
#endif /* _BBNOW_TYPES_H */
|
||||||
Reference in New Issue
Block a user