I tried to set a custom key in this way:
... ANT INIT
uint8_t network_number = 2;
uint8_t p_network_key[8] = {0xa1, 0x15, 0xb3, 0x66, 0x60, 0xef, 0x19, 0xa1};
err_code = ant_custom_key_set (network_number, p_network_key );
APP_ERROR_CHECK(err_code);
...
... ANT INIT CHANNEL
ant_channel_config_t config;
config.network_number = 2;
...
err_code = ant_channel_init(&config);
APP_ERROR_CHECK(err_code);
...
But with ANT Ware, also if I don't set the custom key, I can send or receive message to the module anyway.
What's I missed?
Thanks