This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

sensor tag cc2541

hi,

in sensor tag source code (sensor tag_handleKeys)

used a condition: if (!testMode )

what it means

  • Hello Kiran,

    It is explained in the source code:

    // Test mode: possible to operate LEDs. Key hits will cause notifications,
    // side key does not influence connection state

    Basically allows you to test the buttons and verify functionality by observing the LEDs turn on and off.