In app_thread.c, you shouldn't modify anything. This handles the LP modes for the stack point of view.In AppTask, yes you need to enable it under kCommissioningComplete - it is part of my previous post.
Most is covered by what I wrote in my previous post. To enable LP modes after BLE advertising is over, you need to copy/replace the 3 attached files and then register some callbacks in AppTask::Init()APP_MATTER_BLE_Set_Advertising_Callback((BLEFastAd...
It is possible that in low power modes, the device is not communication fast enough with the OTBR to do the commissioning.In such case, you can disable the LP modes by commenting out the UTIL_LPM command in app_entry and then enable them again inside...
As I said above you can change the above defines so that the buttons are active with low power. Then after rebuilding, you can use button1 to do factory reset and advertise.With the default settings, factory reset cannot be done in low power mode.
Hello,in app_conf.h where you are setting CFG_FULL_LOW_POWER 1, there is also this code below.Which means that buttons are not used at all. You can simply change this define to enable them.