Network Profiles#

Functions#

sl_status_t
sl_net_set_profile(sl_net_interface_t interface, sl_net_profile_id_t id, const sl_net_profile_t *profile)

Store a network profile for a given interface.

sl_status_t
sl_net_get_profile(sl_net_interface_t interface, sl_net_profile_id_t id, sl_net_profile_t *profile)

Retrieve a stored network profile for a given interface.

sl_status_t
sl_net_delete_profile(sl_net_interface_t interface, sl_net_profile_id_t id)

Delete a stored network profile for a given interface.

Function Documentation#

sl_net_set_profile#

sl_status_t sl_net_set_profile (sl_net_interface_t interface, sl_net_profile_id_t id, const sl_net_profile_t * profile)

Store a network profile for a given interface.

Parameters
[in]interface

Interface identified by sl_net_interface_t

[in]id

Profile storage index / identifier of type sl_net_profile_id_t

[in]profile

Pointer to profile data.

Returns


Definition at line 122 of file components/service/network_manager/inc/sl_net.h

sl_net_get_profile#

sl_status_t sl_net_get_profile (sl_net_interface_t interface, sl_net_profile_id_t id, sl_net_profile_t * profile)

Retrieve a stored network profile for a given interface.

Parameters
[in]interface

Interface identified by sl_net_interface_t

[in]id

Profile storage index / identifier of type sl_net_profile_id_t

[out]profile

Pointer to profile object that stores data.

Returns


Definition at line 138 of file components/service/network_manager/inc/sl_net.h

sl_net_delete_profile#

sl_status_t sl_net_delete_profile (sl_net_interface_t interface, sl_net_profile_id_t id)

Delete a stored network profile for a given interface.

Parameters
[in]interface

Interface identified by sl_net_interface_t

[in]id

Profile storage index / identifier of type sl_net_profile_id_t

Returns


Definition at line 152 of file components/service/network_manager/inc/sl_net.h