I am sorry to ask a stupid question as i supposed to fix firmware issue with my zero knowledge.
Before android app (central) connected to peripheral ble 52832, If I press/touch watch sensor, I got NRF_ERROR_INVALID_STATE error and then firmware stopped working.
But after connection is established between devices, it is working. Only the issue occur before connection is made.
I use external driver st7735, nrf52832, pca10040 board, sdk 15.3, s132 and ses arm 4.22.
I want to do is to keep firmware working until connection is made ( to ignore event from the sensor unless the connection is made between android app and peripheral ble device).
Is there a possible way to prevent that case?