Hello,
I have started working through the new getting started guide (non-octave) for my device. I have reached the step where I am to start redCloud. After this is done, there is no sensor data on my AirVantage account. Any help would be greatly appreciated.
Thanks
1 Like
jyijyi
March 17, 2020, 6:55am
2
seems you can make it work in the past:
do you enable switch 3 om SW401 on the board?
Please see if you can see the sensor value, e.g.
cat /sys/bus/i2c/devices/4-0068/iio:device0/in_anglvel_x_raw
cat /sys/bus/i2c/devices/4-0068/iio:device0/in_temp_raw
Also please check if you can receive the sensor data in AVMS webpage:
[image]
I recently started the device up again, and now the issue persists.
jyijyi
March 17, 2020, 11:09pm
4
Not sure what have you done before. Maybe u
You can check the sensor driver and app log
How do I check the sensor driver and app log?
jyijyi
March 18, 2020, 12:01am
6
Please see if you can see the sensor value, e.g.
cat /sys/bus/i2c/devices/4-0068/iio:device0/in_anglvel_x_raw
cat /sys/bus/i2c/devices/4-0068/iio:device0/in_temp_raw
For the app log, you can see in âlogread -fâ
Mar 18 00:28:55 swi-mdm9x28-wp user.debug Legato: DBUG | redSensor[1716]/framework T=main | timer.c ProcessExpiredTimer() 392 | Timer âaccelâ expired
Mar 18 00:28:55 swi-mdm9x28-wp user.debug Legato: DBUG | redSensor[1716]/framework T=main | timer.c ProcessExpiredTimer() 392 | Timer âgyroâ expired
Mar 18 00:28:55 swi-mdm9x28-wp user.crit Legato: CRT | cloud[2591]/avPublisher T=main | avPublisher.c PushAcceleration() 496 | Failed to push to AirVantage Agent (LE_FAULT).
Mar 18 00:28:55 swi-mdm9x28-wp user.crit Legato: CRT | cloud[2591]/avPublisher T=main | avPublisher.c PushJson() 805 | LE_FAULT: Delivery of â/obs/accelâ stalled.
Mar 18 00:28:55 swi-mdm9x28-wp user.warn Legato: -WRN- | cloud[2591]/avPublisher T=main | avPublisher.c HandleAvPushComplete() 225 | Push to AirVantage failed (/obs/accel). RetryingâŚ
Mar 18 00:28:55 swi-mdm9x28-wp user.debug Legato: DBUG | redSensor[1716]/framework T=main | timer.c ProcessExpiredTimer() 392 | Timer âpositionâ expired
Mar 18 00:28:55 swi-mdm9x28-wp user.crit Legato: CRT | cloud[2591]/avPublisher T=main | avPublisher.c PushAngularVelocity() 585 | Failed to push to AirVantage Agent (LE_FAULT).
Mar 18 00:28:55 swi-mdm9x28-wp user.crit Legato: CRT | cloud[2591]/avPublisher T=main | avPublisher.c PushJson() 805 | LE_FAULT: Delivery of â/obs/gyroâ stalled.
Mar 18 00:28:55 swi-mdm9x28-wp user.warn Legato: -WRN- | cloud[2591]/avPublisher T=main | avPublisher.c HandleAvPushComplete() 225 | Push to AirVantage failed (/obs/gyro). RetryingâŚ
Mar 18 00:28:55 swi-mdm9x28-wp user.debug Legato: DBUG | redSensor[1716]/framework T=main | timer.c RestartTimerPhys() 289 | timer âpressureâ started
Mar 18 00:28:55 swi-mdm9x28-wp user.crit Legato: CRT | cloud[2591]/avPublisher T=main | avPublisher.c PushPosition() 703 | Failed to push to AirVantage Agent (LE_FAULT).
Mar 18 00:28:55 swi-mdm9x28-wp user.crit Legato: CRT | cloud[2591]/avPublisher T=main | avPublisher.c PushJson() 805 | LE_FAULT: Delivery of â/obs/positionâ stalled.
Mar 18 00:28:55 swi-mdm9x28-wp user.warn Legato: -WRN- | cloud[2591]/avPublisher T=main | avPublisher.c HandleAvPushComplete() 225 | Push to AirVantage failed (/obs/position). RetryingâŚ
Mar 18 00:28:55 swi-mdm9x28-wp user.debug Legato: DBUG | redSensor[1716]/framework T=main | timer.c ProcessExpiredTimer() 392 | Timer âpressureâ expired
Mar 18 00:28:55 swi-mdm9x28-wp user.debug Legato: DBUG | redSensor[1716]/framework T=main | timer.c ProcessExpiredTimer() 392 | Timer âpressure/tempâ expired
Mar 18 00:28:55 swi-mdm9x28-wp user.debug Legato: DBUG | redSensor[1716]/framework T=main | timer.c RestartTimerPhys() 289 | timer âlightâ started
Mar 18 00:28:56 swi-mdm9x28-wp user.debug Legato: DBUG | redSensor[1716]/framework T=main | timer.c ProcessExpiredTimer() 392 | Timer âlightâ expired
Mar 17 17:28:56 swi-mdm9x28-wp user.err kernel: [ 2773.041901] i2c-msm-v2 78b8000.i2c: NACK: slave not responding, ensure its powered: msgs(n:1 cur:0 tx) bc(rx:0 tx:2) mode:FIFO slv_addr:0x3a MSTR_STS:0x0c1300c8 OPER:0x00000090
Mar 17 17:28:56 swi-mdm9x28-wp user.err kernel: [ 2773.056695] i2c-msm-v2 78b8000.i2c: NACK: slave not responding, ensure its powered: msgs(n:1 cur:0 tx) bc(rx:0 tx:2) mode:FIFO slv_addr:0x3a MSTR_STS:0x0c1300c8 OPER:0x00000090
Mar 17 17:28:56 swi-mdm9x28-wp user.info kernel: [ 2773.105031] gpio_check_and_wake: wake-n_gpio26 STATE=WAKEUP
Mar 17 17:28:56 swi-mdm9x28-wp user.info kernel: [ 2773.120026] gpio_check_and_wake: wake-n_gpio26 STATE=SLEEP
Mar 18 00:28:56 swi-mdm9x28-wp user.debug Legato: DBUG | redSensor[1716]/framework T=main | timer.c RestartTimerPhys() 289 | timer âaccelâ started
Mar 18 00:29:05 swi-mdm9x28-wp user.debug Legato: DBUG | redSensor[1716]/framework T=main | timer.c ProcessExpiredTimer() 392 | Timer âaccelâ expired
Mar 18 00:29:05 swi-mdm9x28-wp user.debug Legato: DBUG | redSensor[1716]/framework T=main | timer.c ProcessExpiredTimer() 392 | Timer âgyroâ expired
Mar 18 00:29:05 swi-mdm9x28-wp user.crit Legato: CRT | cloud[2591]/avPublisher T=main | avPublisher.c PushAcceleration() 496 | Failed to push to AirVantage Agent (LE_FAULT).
Mar 18 00:29:05 swi-mdm9x28-wp user.crit Legato: CRT | cloud[2591]/avPublisher T=main | avPublisher.c PushJson() 805 | LE_FAULT: Delivery of â/obs/accelâ stalled.
Mar 18 00:29:05 swi-mdm9x28-wp user.warn Legato: -WRN- | cloud[2591]/avPublisher T=main | avPublisher.c HandleAvPushComplete() 225 | Push to AirVantage failed (/obs/accel). RetryingâŚ
Mar 18 00:29:05 swi-mdm9x28-wp user.debug Legato: DBUG | redSensor[1716]/framework T=main | timer.c ProcessExpiredTimer() 392 | Timer âpositionâ expired
Mar 18 00:29:05 swi-mdm9x28-wp user.crit Legato: CRT | cloud[2591]/avPublisher T=main | avPublisher.c PushAngularVelocity() 585 | Failed to push to AirVantage Agent (LE_FAULT).
Mar 18 00:29:05 swi-mdm9x28-wp user.crit Legato: CRT | cloud[2591]/avPublisher T=main | avPublisher.c PushJson() 805 | LE_FAULT: Delivery of â/obs/gyroâ stalled.
Mar 18 00:29:05 swi-mdm9x28-wp user.warn Legato: -WRN- | cloud[2591]/avPublisher T=main | avPublisher.c HandleAvPushComplete() 225 | Push to AirVantage failed (/obs/gyro). RetryingâŚ
Mar 18 00:29:05 swi-mdm9x28-wp user.debug Legato: DBUG | redSensor[1716]/framework T=main | timer.c RestartTimerPhys() 289 | timer âpressureâ started
Mar 18 00:29:05 swi-mdm9x28-wp user.crit Legato: CRT | cloud[2591]/avPublisher T=main | avPublisher.c PushPosition() 703 | Failed to push to AirVantage Agent (LE_FAULT).
Mar 18 00:29:05 swi-mdm9x28-wp user.crit Legato: CRT | cloud[2591]/avPublisher T=main | avPublisher.c PushJson() 805 | LE_FAULT: Delivery of â/obs/positionâ stalled.
Mar 18 00:29:05 swi-mdm9x28-wp user.warn Legato: -WRN- | cloud[2591]/avPublisher T=main | avPublisher.c HandleAvPushComplete() 225 | Push to AirVantage failed (/obs/position). RetryingâŚ
Mar 18 00:29:05 swi-mdm9x28-wp user.debug Legato: DBUG | redSensor[1716]/framework T=main | timer.c ProcessExpiredTimer() 392 | Timer âpressureâ expired
Mar 18 00:29:05 swi-mdm9x28-wp user.debug Legato: DBUG | redSensor[1716]/framework T=main | timer.c ProcessExpiredTimer() 392 | Timer âpressure/tempâ expired
Mar 18 00:29:05 swi-mdm9x28-wp user.debug Legato: DBUG | redSensor[1716]/framework T=main | timer.c RestartTimerPhys() 289 | timer âlightâ started
Mar 18 00:29:06 swi-mdm9x28-wp user.debug Legato: DBUG | redSensor[1716]/framework T=main | timer.c ProcessExpiredTimer() 392 | Timer âlightâ expired
Mar 17 17:29:06 swi-mdm9x28-wp user.err kernel: [ 2783.041819] i2c-msm-v2 78b8000.i2c: NACK: slave not responding, ensure its powered: msgs(n:1 cur:0 tx) bc(rx:0 tx:2) mode:FIFO slv_addr:0x3a MSTR_STS:0x0c1300c8 OPER:0x00000090
Mar 17 17:29:06 swi-mdm9x28-wp user.err kernel: [ 2783.056635] i2c-msm-v2 78b8000.i2c: NACK: slave not responding, ensure its powered: msgs(n:1 cur:0 tx) bc(rx:0 tx:2) mode:FIFO slv_addr:0x3a MSTR_STS:0x0c1300c8 OPER:0x00000090
Mar 17 17:29:06 swi-mdm9x28-wp user.info kernel: [ 2783.104938] gpio_check_and_wake: wake-n_gpio26 STATE=WAKEUP
Mar 17 17:29:06 swi-mdm9x28-wp user.info kernel: [ 2783.121863] gpio_check_and_wake: wake-n_gpio26 STATE=SLEEP
Mar 18 00:29:06 swi-mdm9x28-wp user.debug Legato: DBUG | redSensor[1716]/framework T=main | timer.c RestartTimerPhys() 289 | timer âaccelâ started
^C
root@swi-mdm9x28-wp:~#
for temp i get the value of 2095
In the log I just posted, I noticed that the message âPush to AirVantage failedâ appears frequently. Is there some way to fix that?
jyijyi
March 18, 2020, 12:35am
10
Please see if you can see the sensor value, e.g.
cat /sys/bus/i2c/devices/4-0068/iio:device0/in_anglvel_x_raw
cat /sys/bus/i2c/devices/4-0068/iio:device0/in_temp_raw
jyijyi
March 18, 2020, 12:36am
11
Did you register the module in avms website?
you need to type AT+WDSS=1,1 in /dev/ttyAT to connect to Airvantage server.
the temperature reading is 2840
I typed in the AT+WDSS=1,1 as well.
jyijyi
March 18, 2020, 2:57am
13
What did you see in the monitor view in avms
there is data in the last communication area, but none of the data makes sense. also, none of the data in last communication is posted in the graphs below. The graphs read âno dataâ
jyijyi
March 18, 2020, 3:20am
15
Can you capture the screen
jyijyi
March 18, 2020, 4:01am
17
then that means it is working fine that data is sent to the AVMS server if you confirm the date is correct.
the date is correct, but none of the data is being printed on the graphs, per the manual
jyijyi
March 18, 2020, 5:06am
19
then is it back to the same problem as this thread?
then module can send data to AVMS server.
Have you import a appmodel file in the AVMS webpage?
I remember those widget needs this file to be imported.
appmodel_PoC_17.08.app.zip (894 Bytes)
if yes, then that means the mangoh red can transmit data, just cannot display on your graph.
Yes. Back then i uploaded that zip file but nothing changed.