The nvm_tool is a command line editor for the 6LBR configuration. It can be used to create or update a NVM configuration to be flashed on an Econotag based 6LBR or to update the configuration file of a Linux based 6LBR
Description
Usage: tools/nvm_tool COMMAND [OPTIONS]... []
COMMANDS :
--help This help
--new [OPTIONS]... Create a new NVM file
--print Dump the content of the given NVM file
--update [OPTIONS]... []
Update the given NVM file, the source file is reused if no destination file is given
OPTIONS :
--channel <11..26> 802.15.4 channel ID
--wsn-prefix IPv6 prefix to generate global adresses on the WSN network
--wsn-prefix-len Prefix length
--wsn-ip IPv6 global address of the WSN interface
--wsn-accept-ra <0|1> Use RA to configure WSN network
--wsn-ip-autoconf <0|1> Use EUI-64 address to create global address
--eth-prefix IPv6 prefix to generate global adress on the Eth interface
--eth-prefix-len IPv6 Prefix length
--eth-ip IPv6 global address of the Eth interface
--dft-router IPv6 address of the default router
--eth-ra-daemon <0|1> Activate RA daemon (alias to --ra-daemon-en)
--eth-ip-autoconf <0|1> Use EUI-48 address to create global address
--addr-rewrite <0|1> Rewrite outgoing local addresses
--smart-multi-br <0|1> Enable Smart Multi BR support
--ra-daemon-en <0|1> Activate RA daemon
--ra-router-lifetime Advertised router lifetime in RA
--ra-max-interval Max interval between two unsolicited RA
--ra-min-interval Min interval between two unsolicited RA
--ra-min-delay Min interval between two RA
--ra-pio-en <0|1> Enable Prefix Information Option
--ra-prefix-vtime Advertised prefix valid lifetime
--ra-prefix-ptime Advertised prefix preferred lifetime
--ra-rio-en <0|1> Enable Route Information Option
--ra-rio-lifetime Advertised Route lifetime
--rpl-instance-id RPL instance ID to create
--rpl-preference RPL DAG preference level
--rpl-version Current RPL DODAG version ID
--rpl-dio-int-doubling RPL DIO interval doubling
--rpl-dio-int-min RPL DIO minimum interval between unsolicited DIO
--rpl-dio-redundancy RPL DIO redundancy number
--rpl-default-lifetime RPL route lifetime (in lifetime units)
--rpl-min-rank-inc RPL Minimun Rank increment
--rpl-lifetime-unit RPL lifetime unit
--fit Size NVM output file to the actual size of the NVM data
Note that depending of the 6LBR mode used some parameters are not used
Example
Create a new configuration with the rf channel set to 24 and the RA emission disabled :