I am new to QN908x BLE environment.
I am using HID device example code from SDK_2.x_QN908XCDK.
By default, the device will be in IDLE mode and as Switch is pressed, its starts Advertising.
I am not able to get how exactly Switch pressed event is triggering Advertising.
Can someone help me with the event.
I did not want Switch pressed event to trigger advertising.
I want as soon as the development kit is supplied power, it must start Advertising.
I have debugged the code was not able to get the exactly where it gets triggered.