hello,
i am using 3 nRF52840 boards to test mesh. i am using sdk nrf15.2.0 and sdk mesh 3.0.0.
my question:
1) how can i measure the rssi value from client to server and vice versa (heartbeat) ?
2) The rssi value which is printed out is this rssi from provisioner or ? i mean provisioner receive the rssi value from client and server with this function (heartbeat) ?
static void app_health_event_cb(const health_client_t * p_client, const health_client_evt_t * p_event)
{
switch (p_event->type)
{
case HEALTH_CLIENT_EVT_TYPE_CURRENT_STATUS_RECEIVED:
__LOG(LOG_SRC_APP, LOG_LEVEL_INFO, "Node 0x%04x alive with %u active fault(s), RSSI: %d\n", p_event->p_meta_data->src.value, p_event->data.fault_status.fault_array_length,
((p_event->p_meta_data->p_core_metadata->source == NRF_MESH_RX_SOURCE_SCANNER) ? p_event->p_meta_data->p_core_metadata->params.scanner.rssi : 0));
break;
default:
break;
}
}
Thank you very much
best regards