This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

What do LEDs 0 and 1 indicate in the ble_proximity sample app?

Here are some constants from main.c for the other LEDs, but what do LEDs 0 and 1 indicate? 0 seems to be on when advertising. 1 when connected? What about pairing/bonding state?

#define ALERT_LEVEL_MILD_LED_PIN_NO NRF6310_LED_2 /< Is on when we are in Mild Alert state. */ #define ALERT_LEVEL_HIGH_LED_PIN_NO NRF6310_LED_3 /< Is on when we are in High Alert state. */ #define ADV_INTERVAL_SLOW_LED_PIN_NO NRF6310_LED_4 /< Is on when we are doing slow advertising. */ #define PEER_SRV_DISC_LED_PIN_NO NRF6310_LED_5 /< Is on when the Immediate Alert Service has been discovered at the peer. */ #define ADV_WHITELIST_LED_PIN_NO NRF6310_LED_6 /**< Is on when we are doing advertising with whitelist. */

Related