Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

Studio Bluetooth Forum Discussions

mawu_4270096
Level 5
Level 5
5 sign-ins First like received First like given

Hi :

as we know, the if a Bluetooth mesh device has not been  provisioned, it will send unprovisioned advertisement when it is powered on.
sometime the device need to do some specific  things before advertisement. it can send  unprovisioned advertisement when the specific things have been done

so I need a API to control the device to  start or stop  the advertisement

my BT  mesh  platform is CYW20735

thanks!

Mandy

0 Likes
1 Solution
DheerajPK_41
Moderator
Moderator
Moderator
750 replies posted 500 likes received 500 replies posted

Hi,

The application specific operations ("specific things") can be done in mesh_app_init() in the application code.

The advertisement will be started once the specific operations are done. And the advertisement is getting started from the mesh_application.c  by calling wiced_bt_mesh_core_start().

Thanks,

-Dheeraj

View solution in original post

2 Replies
DheerajPK_41
Moderator
Moderator
Moderator
750 replies posted 500 likes received 500 replies posted

Hi,

The application specific operations ("specific things") can be done in mesh_app_init() in the application code.

The advertisement will be started once the specific operations are done. And the advertisement is getting started from the mesh_application.c  by calling wiced_bt_mesh_core_start().

Thanks,

-Dheeraj

mawu_4270096
Level 5
Level 5
5 sign-ins First like received First like given

Hi:

thanks!  I have tested your advises!  it works!

thanks!

mandy

0 Likes