You are here: Forum Home → ANT Developers Forums → ANT General Questions → Thread
ant_evt_t ant_evt;
ret_code = sd_ant_event_get(&ant;_evt.channel, &ant;_evt.event, ant_evt.message.aucMessage);
if (ret_code != NRF_SUCCESS)
{
break;
}
NRF_LOG_DEBUG("ANT Event 0xX Channel 0xX", ant_evt.event, ant_evt.channel);
NRF_LOG_INFO(ant_evt.message.aucMessage)