emcute_internal.h File Reference

emCute internals More...

Detailed Description

emCute internals

Author
Hauke Petersen hauke.nosp@m..pet.nosp@m.ersen.nosp@m.@fu-.nosp@m.berli.nosp@m.n.de

Definition in file emcute_internal.h.

Go to the source code of this file.

enum  {
  ADVERTISE = 0x00, SEARCHGW = 0x01, GWINFO = 0x02, CONNECT = 0x04,
  CONNACK = 0x05, WILLTOPICREQ = 0x06, WILLTOPIC = 0x07, WILLMSGREQ = 0x08,
  WILLMSG = 0x09, REGISTER = 0x0a, REGACK = 0x0b, PUBLISH = 0x0c,
  PUBACK = 0x0d, PUBCOMP = 0x0e, PUBREC = 0x0f, PUBREL = 0x10,
  SUBSCRIBE = 0x12, SUBACK = 0x13, UNSUBSCRIBE = 0x14, UNSUBACK = 0x15,
  PINGREQ = 0x16, PINGRESP = 0x17, DISCONNECT = 0x18, WILLTOPICUPD = 0x1a,
  WILLTOPICRESP = 0x1b, WILLMSGUPD = 0x1c, WILLMSGRESP = 0x1d
}
 MQTT-SN message types. More...
 
enum  { ACCEPT = 0x00, REJ_CONG = 0x01, REJ_INVTID = 0x02, REJ_NOTSUP = 0x03 }
 MQTT-SN return codes. More...
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum

MQTT-SN message types.

Enumerator
ADVERTISE 

advertise message

SEARCHGW 

search gateway message

GWINFO 

gateway info message

CONNECT 

connect message

CONNACK 

connection acknowledgment message

WILLTOPICREQ 

will topic request

WILLTOPIC 

will topic

WILLMSGREQ 

will message request

WILLMSG 

will message

REGISTER 

topic registration request

REGACK 

topic registration acknowledgment

PUBLISH 

publish message

PUBACK 

publish acknowledgment

PUBCOMP 

publish received (QoS 2)

PUBREC 

publish complete (QoS 2)

PUBREL 

publish release (QoS 2)

SUBSCRIBE 

subscribe message

SUBACK 

subscription acknowledgment

UNSUBSCRIBE 

unsubscribe message

UNSUBACK 

unsubscription acknowledgment

PINGREQ 

ping request

PINGRESP 

ping response

DISCONNECT 

disconnect message

WILLTOPICUPD 

will topic update request

WILLTOPICRESP 

will topic update response

WILLMSGUPD 

will message update request

WILLMSGRESP 

will topic update response

Definition at line 29 of file emcute_internal.h.

◆ anonymous enum

anonymous enum

MQTT-SN return codes.

Enumerator
ACCEPT 

all good

REJ_CONG 

reject, reason: congestions

REJ_INVTID 

reject, reason: invalid topic ID

REJ_NOTSUP 

reject, reason: operation not supported

Definition at line 62 of file emcute_internal.h.