From cf90ef667800b9daa00c610586d0abae3455ea99 Mon Sep 17 00:00:00 2001 From: Florent Duchon Date: Tue, 24 Apr 2012 19:23:30 +0200 Subject: digital/beacon: display LQI & RSSi values in the debug task --- digital/beacon/src/debug_avr.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/digital/beacon/src/debug_avr.c b/digital/beacon/src/debug_avr.c index 5b7c602a..a4d217ba 100644 --- a/digital/beacon/src/debug_avr.c +++ b/digital/beacon/src/debug_avr.c @@ -221,6 +221,8 @@ void debug_task(void) { uprintf("------------------------- debug TASK -------------------------\r\n"); uprintf("NWK : status = 0x%x\r\n",network_get_status()); + uprintf("NWK : LQI = %d\r\n",network_get_lqi()); + uprintf("NWK : RSSI = %d\r\n",network_get_rssi()); #ifdef TYPE_END uprintf("[1] Scanning State = %d -- Value = %d\r\n",servo_get_state(SERVO_1),servo_get_value(SERVO_1)); uprintf("[2] Scanning State = %d -- Value = %d\r\n",servo_get_state(SERVO_2),servo_get_value(SERVO_2)); -- cgit v1.2.3