Skip to content

Commit

Permalink
Merge pull request #33 from naogify/patch-1
Browse files Browse the repository at this point in the history
Fix Inclusive to exclusive
  • Loading branch information
jason-fox authored Dec 17, 2024
2 parents c6c815d + e65192d commit 4223f71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/context-providers.md
Original file line number Diff line number Diff line change
Expand Up @@ -730,7 +730,7 @@ The response has requested `comment` data from three sources - the farmer, the v

## Exclusive registration

`exclusive` registrations should be familiar to anyone who has used an IoT Agent with NGSI-v2. An inclusive registration informs a context broker that a given set of attributes for an `id` is held externally - in another context source. Frequently this context source itself is not a context broker.
`exclusive` registrations should be familiar to anyone who has used an IoT Agent with NGSI-v2. An exclusive registration informs a context broker that a given set of attributes for an `id` is held externally - in another context source. Frequently this context source itself is not a context broker.

Imagine for example a sensor system where you do not want to rely on the sensor pushing values to a context broker, but every time a request is made you wish to obtain values direct from the device itself. This sort of "lazy" attribute technique is useful for GET requests when the attribute would not usually send data a regular intervals - requesting `batteryLevel` of charge for example. `exclusive` registrations can also be used for actuators where a PATCH request on the context broker should actuate a response on a device in the real world.

Expand Down

0 comments on commit 4223f71

Please sign in to comment.