Introduction
Imagine you want to know when something important changes without checking all the time. The observe option helps devices get updates automatically, saving effort and time.
Think of a newspaper subscription where you get the latest news delivered to your home instead of going out to buy it every day. You receive updates only when there is new information.
┌───────────────┐ Observe Request ┌───────────────┐
│ Client │────────────────────────────▶│ Server │
│ (Observer) │ │ (Resource │
└───────────────┘ │ Provider) │
▲ └───────────────┘
│ Notification (when resource changes) ▲
└───────────────────────────────────────────────┘Observe option in IoT protocols like CoAP?GET /sensor/temp Options: Observe=0
Observe=2 option. The server does not send notifications. What is the likely problem?Pass the test and this pattern moves unknown