![]() |
HAN-FUN API
1.5.3
This project provides the common implementation of ULE Alliance's HAN-FUN application protocol.
|
This namespace contains the API used for managing groups of devices at the transport layer level. More...
Functions | |
Common::Result | create (Endpoint &ep, uint16_t group) |
Create a new group of devices at the transport layer with the given address. More... | |
Common::Result | add (Endpoint &ep, uint16_t group, uint16_t device) |
Add the given device to the given group for the given end-point ep . More... | |
void | remove (Endpoint &ep, uint16_t group, uint16_t device) |
Remove the given device from the given group for the given end-point ep . More... | |
void | remove (Endpoint &ep, uint16_t group) |
Remove the given group of devices at the transport layer. More... | |
This namespace contains the API used for managing groups of devices at the transport layer level.
Common::Result HF::Transport::Group::add | ( | Endpoint & | ep, |
uint16_t | group, | ||
uint16_t | device | ||
) |
Common::Result HF::Transport::Group::create | ( | Endpoint & | ep, |
uint16_t | group | ||
) |
Create a new group
of devices at the transport layer with the given address.
The new link associated with the group MUST be sent to the given end-point via the Endpoint::connected API.
[in] | ep | reference to the end-point to create the new group for. |
[in] | group | HF address for the new group , i.e. the address for the new link. |
Common::Result::OK
if the group was created. void HF::Transport::Group::remove | ( | Endpoint & | ep, |
uint16_t | group, | ||
uint16_t | device | ||
) |
void HF::Transport::Group::remove | ( | Endpoint & | ep, |
uint16_t | group | ||
) |
Remove the given group
of devices at the transport layer.
The link associated with the group MUST be disconnected from the given end-point via the Endpoint::disconnected API.
[in] | ep | reference to the end-point to remove the group from. |
[in] | group | HF address of the group to remove. |