![]() |
nRF5 SDK
v13.0.0-1.alpha
|
Choose documentation: | nRF5 SDK | S132 SoftDevice API | S140 SoftDevice API | S212 SoftDevice API | S332 SoftDevice API |
Important: Before you run this example, make sure to program the SoftDevice.
The purpose of the ANT Debug example is to show how to use ANT debug messages. Debug messages are specially formatted messages that are usually sent over a separate ANT channel. They provide information about the device that may be useful when debugging. Debug messages are received by an application such as ObservANT, which can decode, display, and log the information. Refer to the ObservANT User’s Manual for more information about using debug messages.
You can find the source code and the project file of the example in the following folder: <InstallFolder>\examples\ant\ant_debug
This example uses the following elements:
The ANT Debug example is essentially the ANT I/O TX example with an additional channel for debugging messages, so you can use the two examples together.
Pushing and holding Button 1 for BSP_LONG_PUSH_TIMEOUT_MS milliseconds will cause an error. You can use this mechanism to test additional debug information.
Note: You can use a custom channel or encryption when running any of the ANT examples. When adding a new channel or encryption, remember to update ANT stack configuration.