add example and todos

This commit is contained in:
Harald Pichler 2017-09-20 09:25:22 +02:00
parent 29190681cc
commit 2036cda4d9

View file

@ -13,35 +13,39 @@ picocom -c -b 38400 --omap crcrlf /dev/ttyUSB0
? [ENTER] ? [ENTER]
Available commands: Available commands:
?: shows this help ?: shows this help
ccathresholds <threshold: change cca thresholds -91 to -61 dBm (default -77) ccathresholds <threshold: change cca thresholds -91 to -61 dBm (default -77)
exit: exit shell exit: exit shell
help: shows this help help: shows this help
kill <command>: stop a specific command kill <command>: stop a specific command
killall: stop all running commands killall: stop all running commands
macconf <conf>: change mac layer 0 -> do nothing; 1 -> Radio allways on
null: discard input null: discard input
panid <0xabcd>: change panid (default 0xabcd) panid <0xabcd>: change panid (default 0xabcd)
ps: list all running processes
quit: exit shell quit: exit shell
reboot: reboot the system reboot: reboot the system
rfchannel <channel>: change radio channel (11 - 26) rfchannel <channel>: change radio channel (11 - 26)
saverfparam <> save radio parameters txpower, channel, panid to eeprom settingsmanager saverfparam <> save radio parameters txpower, channel, panid to eeprom settingsmanager
txpower <power>: change transmission power 0 (3dbm, default) to 15 (-17.2dbm) txpower <power>: change transmission power 0 (3dbm, default) to 15 (-17.2dbm)
example merkurboard set rf-parameter:
-------------------------------------
panid 0xabcd
rfchannel 11
saverfparam
example old merkurboard (atmega128rfa1) set rf-parameter:
---------------------------------------------------------
macconf 1
*) switch power off/on
panid 0xabcd
rfchannel 11
saverfparam
macconf 0
*) switch power off/on
------------------------------------------------------------------------------ ------------------------------------------------------------------------------
quit picocom, you need to press Ctrl-a , then Ctrl-q quit picocom, you need to press Ctrl-a , then Ctrl-q
------------------------------------------------------------------------------ ------------------------------------------------------------------------------
@ -52,8 +56,10 @@ avrdude -p m256rfr2 -c stk500v2 -P /dev/ttyUSB0 -b 57600 -U eeprom:w:eeprom_im
todo: todo:
bugfix: txpower <power>: change transmission power 0 (3dbm, default) to 15 (-17.2dbm) atmega128rfa1 reboot dont work correct @ fixme
make a contiki app for easier inegration in projects
if rfsleep mode, it is not possible to set panid @ fixme
(workaround: set macconf 1, power off, power on, panid 0xabcd, saverfparam, set macconf 0, power off, power on)
------------------------------------------------------------------------------ ------------------------------------------------------------------------------