Vidhya Gholkar @vgholkar
Class | Rough translation |
0 | Can't run IP stack securely |
1 | Integrated Security but can't employ full stack using HTTP over TLS |
2 | Small but benefit from efficient protocols that free resources for application or reduce op costs. Arduino image http://creativecommons.org/licenses/by-sa/3.0/legalcode |
coap+sms://+441234567/garden/peas/water
coap://building.uk:5633/~room/occ.xml
Ver | Version |
T | Transaction Type |
OC | Option Count |
Code | Request Method |
Message ID | Identifier |
Message | Code |
---|---|
GET | 0.01 |
POST | 0.02 |
PUT | 0.03 |
DELETE | 0.04 |
GET /.well-known/core
rt
ct
if
sz
GET /.well-known/core?rt=radiation
2.05 Content
</sensors/radiation>;rt="geiger";if="sensor"
/Lille/nord/BldA/hallway/temperature
/Lille/sud/BldB/meetingroom/pressure
/Lille/+/+/temperature
/Lille/sud/#
Message | Code | Description |
---|---|---|
CONNECT | 1 | Client request to connect to Server |
PUBLISH | 3 | Publish message |
SUBSCRIBE | 8 | Client Subscribe request |
UNSUBSCRIBE | 10 | Client Unsubscribe |
DISCONNECT | 14 | Client is Disconnecting |
for many constrained devices likely that only QoS 0 available.
PUBLISH | Retain so broker remembers the last published value. |
CONNECT | CleanSession - Forget sessions/subscriptions. |