You are here: Forum Home → ANT Developers Forums → ANT General Questions → Thread
UCHAR ucNetKey[8] = USER_NETWORK_KEY;
ANT_SetNetworkKey(ANTCHANNEL, ucNetKey);
ANT_SetNetworkKey(ANTCHANNEL, ucNetKey);
ANT_SetNetworkKey(0, ucNetKey); //once to initialize network key 0
ANT_AssignChannel(ANTCHANNEL, ucChannelType, 0); //per wanted channel