You are here: Forum Home → ANT Developers Forums → ANT General Questions → Thread
uint32_t err_code = sd_ant_lib_config_set(ANT_LIB_CONFIG_MESG_OUT_INC_RSSI | ANT_LIB_CONFIG_MESG_OUT_INC_DEVICE_ID);
if(p_ant_message->ANT_MESSAGE_stExtMesgBF.bANTDeviceID)
{
m_last_device_id = (uint16_t)(p_ant_message->ANT_MESSAGE_aucExtData[0]
| ((uint16_t)p_ant_message->ANT_MESSAGE_aucExtData[1] << 8));
}
if(p_ant_message->ANT_MESSAGE_stExtMesgBF.bANTRssi)
{
m_last_rssi = p_ant_message->ANT_MESSAGE_aucExtData[5];
}