pub unsafe extern "C" fn wifi_prov_scheme_ble_set_service_uuid(
    uuid128: *mut u8
) -> i32
Expand description

@brief Set the 128 bit GATT service UUID used for provisioning

This API is used to override the default 128 bit provisioning service UUID, which is 0000ffff-0000-1000-8000-00805f9b34fb.

This must be called before starting provisioning, i.e. before making a call to wifi_prov_mgr_start_provisioning(), otherwise the default UUID will be used.

@note The data being pointed to by the argument must be valid atleast till provisioning is started. Upon start, the manager will store an internal copy of this UUID, and this data can be freed or invalidated afterwords.

@param[in] uuid128 A custom 128 bit UUID

@return

  • ESP_OK : Success
  • ESP_ERR_INVALID_ARG : Null argument