Module for registering common and custom ANT network keys.
More...
|
#define | ANT_PLUS_NETWORK_KEY {0, 0, 0, 0, 0, 0, 0, 0} |
|
#define | ANT_FS_NETWORK_KEY {0, 0, 0, 0, 0, 0, 0, 0} |
|
Module for registering common and custom ANT network keys.
#define ANT_FS_NETWORK_KEY {0, 0, 0, 0, 0, 0, 0, 0} |
#define ANT_PLUS_NETWORK_KEY {0, 0, 0, 0, 0, 0, 0, 0} |
uint32_t ant_custom_key_set |
( |
uint8_t |
network_number, |
|
|
uint8_t * |
p_network_key |
|
) |
| |
Function for registering a custom network key.
- Parameters
-
[in] | network_number | Network key number. |
[in] | p_network_key | Pointer to the custom ANT network key. |
- Returns
- A SoftDevice error code.
uint32_t ant_fs_key_set |
( |
uint8_t |
network_number | ) |
|
Function for registering an ANT-FS network key.
The key must be defined by ANT_FS_NETWORK_KEY.
- Note
- The ANT+ Network Key is available for ANT+ Adopters. Go to http://thisisant.com to become an ANT+ Adopter and access the key.
- Parameters
-
[in] | network_number | Network key number. |
- Returns
- A SoftDevice error code.
uint32_t ant_plus_key_set |
( |
uint8_t |
network_number | ) |
|
Function for registering an ANT+ network key.
The key must be defined by ANT_PLUS_NETWORK_KEY.
- Note
- The ANT+ Network Key is available for ANT+ Adopters. Go to http://thisisant.com to become an ANT+ Adopter and access the key.
- Parameters
-
[in] | network_number | Network key number. |
- Returns
- A SoftDevice error code.