summaryrefslogtreecommitdiffstats
path: root/api
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2020-06-24 05:38:22 +0200
committerSven Gothel <[email protected]>2020-06-24 05:38:22 +0200
commit66a29b048bbcde73dbcf7b7dfe654348c1bc33cf (patch)
tree63a4c41392f2b1112ed642c31b019658cefc3f5e /api
parent023779148a86213a034a2916b15b9846c4385feb (diff)
Add MgmEvent::Opcode::INVALID to have a defined invalid value like HCIEventType and HCIMetaEventType
Diffstat (limited to 'api')
-rw-r--r--api/direct_bt/MgmtTypes.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/api/direct_bt/MgmtTypes.hpp b/api/direct_bt/MgmtTypes.hpp
index 31dd8573..8fa5961d 100644
--- a/api/direct_bt/MgmtTypes.hpp
+++ b/api/direct_bt/MgmtTypes.hpp
@@ -512,6 +512,7 @@ namespace direct_bt {
{
public:
enum class Opcode : uint16_t {
+ INVALID = 0x0000,
CMD_COMPLETE = 0x0001,
CMD_STATUS = 0x0002,
CONTROLLER_ERROR = 0x0003,