This makes it advertising irrespective of Switch event.
In Keyboard.c file:
Comment the following lines:
for( i=0; i<gKBD_KeysCount_c; i++ )
// {
// if(kbdSwButtons[i].swType == gKBDTypeGpio_c)
// {
// GpioInstallIsr( Switch_Press_ISR, gGpioIsrPrioLow_c, gKeyboard_IsrPrio_c, kbdSwButtons[i].config_struct.pSwGpio);
// }
// }
and start timer:
TMR_StartIntervalTimer(mKeyScanTimerID, gKeyScanInterval_c, (pfTmrCallBack_t)KeyScan, (void*)((uint32_t)mKeyScanTimerID));
This makes it advertising irrespective of Switch event.