4.2.5.3.1 Input
The application relies on Button 1 as the input.
- Types of Pressing:
- Press: Press the button for less than 500 ms.
- Long press: Press the button for more than 500 ms.
- Application behavior on button press in different state co relation.
State |
Action |
Behavior |
---|---|---|
APP_PXPR_STATE_CONN |
Long press Button 1 |
Disconnect the existing connection, enable advertisement and allow new device to be bonded |
APP_PXPR_STATE_BOND_ADV |
Long press Button 1 |
Enable advertisement and allow new device to be bonded |