Does the nRF51422 with S210 support for RSSI function ?
Does the nRF51422 with S210 support for RSSI function ?
Hi Vincent
You enable RSSI measurement on nRF51422 with S210 by:
/* Enable RSSI level for received messages */sd_ant_lib_config_set(ANT_LIB_CONFIG_MESG_OUT_INC_RSSI);
Then each time you receive a payload, byte 13 in event_message_buffer will contain the RSSI value, when reading out the event by:
/* Fetch the event */
return_value = sd_ant_event_get(&ant_channel, &event, event_message_buffer);
Hi Vincent
You enable RSSI measurement on nRF51422 with S210 by:
/* Enable RSSI level for received messages */sd_ant_lib_config_set(ANT_LIB_CONFIG_MESG_OUT_INC_RSSI);
Then each time you receive a payload, byte 13 in event_message_buffer will contain the RSSI value, when reading out the event by:
/* Fetch the event */
return_value = sd_ant_event_get(&ant_channel, &event, event_message_buffer);