Hi, Sebastian.
I checked again about what you mentioned.
When I set up cPWR_UsePowerDownMode, only SW3 works.
* Push SW3 ==> gKBD_EventPressPB1_c
And if cPWR_UsePowerDownMode is not set, SW2 and SW3 operate.
* Push SW2 ==> gKBD_EventPressPB1_c
* Push SW3 ==> gKBD_EventPressPB2_c
--------------------------------------------------------------------------------
void BleApp_HandleKeys(key_event_t events)
{
#if (cPWR_UsePowerDownMode)
switch (events)
{
case gKBD_EventPressPB1_c: //SW3 ??
//case gKBD_EventPressPB2_c:
{
if (mPeerDeviceId == gInvalidDeviceId_c)
{
BleApp_Start();
}
break;
}
}
#else
switch (events)
{
case gKBD_EventPressPB1_c: //SW2 ??
{
if (mPeerDeviceId == gInvalidDeviceId_c)
{
BleApp_Start();
}
break;
}
--------------------------------------------------------------------------------
I think, the keyboard assignments are changed when enabling the cPWR_UsePowerDownMode macro definition.
would you plz check it again?