analogdevicesinc / ev-cbm-voyager

Wireless Industrial Condition Monitoring solution
Other
11 stars 5 forks source link

Undetectable Mote (Firmware of voyager_1.0.4) #4

Open PveOnly opened 2 years ago

PveOnly commented 2 years ago

Hey so I updated the firmware of my mote with the 1.4 version and the led started blinking green as specified on the documentation. I plugged my USB-MANAGER and the network worked perfectly fine, my own application too (which is like the CBM_app.py but without the GUI) then I left my office so I unplugged my USB-MANAGER and let the mote powered on.

Today I came back to my office and the mote wasn't detectable (not lost or negociating) , just undetectable (like no MAC adress). (Checked with the CLI of my manager)

The mote is blinking strangely too it's like one slow green blink then two really fast green blink and then slow green blink. I tried to power it OFF and then ON but the mote was still not detectable and it didn't change the blinking behavior.

The only thing that works is re-updating the firmware.

I guess it's coming from my app ? It's pretty much the same code as the CBM_app.py, did I miss a step when disconnecting ? (from the CBM_app.py you just disconnect the SerialAPIConnector and I copied that and re-init some values)

Thanks

PveOnly commented 2 years ago

Okay the mote do get lost and I get the following error message : image

What does this warning means ? I tried to check on the docs but the nearest hit I got was : image

My supposition is that when I launch the application for the first time, the application send a sampling frequency to the mote but when I quit the application, the mote still send data to the application which explain why it works when I update the firmware for the first time ?

Is there a way to say to the mote "stop sending data" ?