Logo white

Peter M. Groen / FlashMQ

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • FlashMQ
  • types.h
  • Much stuff
    243c873f
    Wiebe Cazemier authored
    2020-12-08 22:16:48 +0100  
    Browse Code ยป
types.h 236 Bytes
Edit Raw Blame History
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
#ifndef TYPES_H
#define TYPES_H

enum class PacketType
{
    Reserved = 0,
    CONNECT = 1,
    CONNACK = 2,

    Reserved2 = 15
};

enum class ProtocolVersion
{
    None = 0,
    Mqtt31 = 0x03,
    Mqtt311 = 0x04
};

#endif // TYPES_H