Multicast#
Functions#
sl_status_t
sl_net_join_multicast_address(sl_net_interface_t interface, const sl_ip_address_t *ip_address)
Enable multicast for the given IP address.
sl_status_t
sl_net_leave_multicast_address(sl_net_interface_t interface, const sl_ip_address_t *ip_address)
Disable multicast for the given IP address.
Function Documentation#
sl_net_join_multicast_address#
sl_status_t sl_net_join_multicast_address (sl_net_interface_t interface, const sl_ip_address_t * ip_address)
Enable multicast for the given IP address.
Parameters
Type | Direction | Argument Name | Description |
---|---|---|---|
sl_net_interface_t | [in] | interface | Selected interface. |
const sl_ip_address_t * | [in] | ip_address | Multicast IP address. |
sl_net_up should be called before this API.
Returns
sl_status_t. See https://docs.silabs.com/gecko-platform/4.1/common/api/group-status for details.
sl_net_leave_multicast_address#
sl_status_t sl_net_leave_multicast_address (sl_net_interface_t interface, const sl_ip_address_t * ip_address)
Disable multicast for the given IP address.
Parameters
Type | Direction | Argument Name | Description |
---|---|---|---|
sl_net_interface_t | [in] | interface | Selected interface. |
const sl_ip_address_t * | [in] | ip_address | Multicast IP address. |
sl_net_up should be called before this API.
Returns
sl_status_t. See https://docs.silabs.com/gecko-platform/4.1/common/api/group-status for details.