6lbr icon indicating copy to clipboard operation
6lbr copied to clipboard

Sensor Export default disable

Open steven3w opened this issue 7 years ago • 4 comments

Hi 6lbr team, I notice the V1.4.1 has Export added at Sensors tab on the 6lbr web page. I have tested it and found the default is disable. How to make it default enable. And is there way I can limit the record number?

steven3w avatar Apr 07 '17 00:04 steven3w

This feature is still experimental and to be documented :)

You configure it using the /etc/6lbr/nvm.conf file with the following entry :

[node-info.export]
enabled = 0 | 1 #Enable or disable the functionality at BR startup
global= 0 | 1 #Dump date in one global file or a file per node
filename=... #Name of the dump file if global file is used
path=... #Path of the dump subdirectory 
interval=   #Interval between dumps in seconds

Currently there is no limit, but indeed this could be added. What kind of limit would you suggest, time ? number of records ?

laurentderu avatar Apr 11 '17 12:04 laurentderu

hi, Laurentderu,

Thank you. I check my beagle bone black, there is no /etc/6lbr/nvm.conf file there. Do you mean I can create a new file with the option contents?

As for the limit, number limit is better, I think, because if I access it from a application program I want read it as fast as possible and I only care the last couple of records.

Steven Dong

steven3w avatar Apr 12 '17 01:04 steven3w

Hi, Laurentdeu,

I suggest export should include RSSI. It is useful to express a link's quality.

Steven

steven3w avatar Apr 13 '17 21:04 steven3w

enabled = 0 | 1 #Enable or disable the functionality at BR startup

It should be enable=1, i believe.

Dimaqa avatar Feb 21 '19 08:02 Dimaqa