Hi Team,
Hi Team,
Hi Danny,
As I understand it, the way that NUS advertising is configured to start/stop is to assign callbacks in the init function for the NUS Service. More specifically, on line 61 and line 69 of v3.0.0/samples/matter/common/src/bt_nus/bt_nus_service.cpp.
If you end up editing that file, please make sure that you keep the original functionality so that there are no conflicts with other samples using the file.
How the implementation for the manual starting and stopping of advertising is done is up to you, but it looks like that file is a feasable starting point.
Best regards,
Maria
Hi Maria,
I couldn't find the conditions to trigger the callback, and using the content from lines 61 and 69 directly won't switch the Nus advertising.
Best regards,
Danny
Hi Maria,
I couldn't find the conditions to trigger the callback, and using the content from lines 61 and 69 directly won't switch the Nus advertising.
Best regards,
Danny