-
Notifications
You must be signed in to change notification settings - Fork 194
Nvm Proxy
laurentderu edited this page Sep 5, 2014
·
1 revision
The NVM Proxy is a small modules allowing remote read from and write to the NVM using a trivial protocol based upon UDP. It is used in place of the webserver module on Redwire IO or other small platform in order to save code.
Note that if the user configuration flag is set to disabled, it is not possible to write to the NVM using this tool anymore.
The module is enabled by default on Redwire Econotag/IO, it can be enabled on other platform by setting WITH_NVM_PROXY=1 on the make command line.
Two scripts, based on netcat, are provided to read and write the whole NVM :
examples/6lbr/tools/nvm-proxy/nvm-read.sh [--nvm <nvm-file>] [--ip <6lbr address>] [--port <nvm-proxy port>] [--nc <netcat tool>] examples/6lbr/tools/nvm-proxy/nvm-write.sh [--nvm <nvm-file>] [--ip <6lbr address>] [--port <nvm-proxy port>] [--nc <netcat tool>]
In this example we will change the channel used from 26 to 24 :
nvm-proxy/nvm-read.sh --nvm tmp.dat --ip bbbb::100 nvm-tool --update --channel 24 tmp.dat nvm-proxy/nvm-write.sh --nvm tmp.dat --ip bbbb::100
- Home
- Features
- Supported Hardware
- Download
- Changelog
- FAQ
- Installation:
- Configuration
- Deployment
- Documentation
- Extensions
- Tools
- Examples
- Tutorials
- Publications
- Acknowledgements
- Internal and old