Exported Functions

group Mesh_Service_Exported_Functions

Functions

void mesh_service_adv_start(void)

Start the mesh service advertisement.

void mesh_service_adv_stop(void)

Stop the mesh service advertisement.

bool mesh_service_adv_cfg(mesh_service_adv_cfg_type_t type, uint8_t *param, uint16_t param_len)

Configure the mesh service advertisement.

Adjust the parameters of the mesh service advertisement such as retransmission count and intervals.

Parameters:
  • type[in] The parameter type, see mesh_service_adv_cfg_type_t.

  • param[in] The parameter pointer.

  • param_len[in] The parameter length.

Return values:
  • true – Configuration successful.

  • false – Configuration failed. Ensure parameters are within acceptable ranges and try again.

Returns:

Operation result.