33 lines
592 B
Plaintext
33 lines
592 B
Plaintext
|
% flasher
|
||
|
|
||
|
# Set server
|
||
|
flasher -setserver nv2 <server>
|
||
|
|
||
|
$ server: echo "netcomv2.inte.netatmo.net nv2-nlg.netatmo.net nv2-nmg.netatmo.net upp.netatmo.net" | tr " " "\n"
|
||
|
|
||
|
|
||
|
% jlink
|
||
|
|
||
|
# JLinkExe
|
||
|
JLinkExe -if SWD -speed 1000 -device <target>
|
||
|
|
||
|
# JLinkGDBServer
|
||
|
JLinkGDBServer -if SWD -device <target>
|
||
|
|
||
|
# Variables
|
||
|
$ target: echo "ATSAMR21E19A nRF52" | tr " " "\n"
|
||
|
|
||
|
|
||
|
% zigbee
|
||
|
|
||
|
# Sniffer Zigbee
|
||
|
<pyet>/zigbee/python_zigbee_interface.py -c <channel>
|
||
|
|
||
|
$ pyet: echo "$HOME/Netatmo/core/python-emb-tools/python/bin"
|
||
|
|
||
|
|
||
|
% mac
|
||
|
|
||
|
# Get MAC infos
|
||
|
curl 'https://www.macvendorlookup.com/oui.php?mac=<mac>' | jq
|