New firmware release 1.6.7.b1 (LoRaWAN Nano Gateway with TTN example!!)
jmarcelino last edited by jmarcelino
Wow, great development! :-) This is A LOT better than my simple gateway code, well done Pycom team. This will now run permanently on one of my LoPys.
Just a suggestion, there is a convention for Gateway IDs on TTN, they're usually the first 3 bytes of MAC address + FFFE + last 3 bytes of MAC address, so I added the following to config.py:
import machine import binascii CONVENTIONAL_EUI = binascii.hexlify(machine.unique_id()).upper() CONVENTIONAL_EUI = CONVENTIONAL_EUI[:6] + "FFFE" + CONVENTIONAL_EUI[6:12] # Set Gateway ID to the first 3 bytes of MAC address + 'FFFE' + last 3 bytes of MAC address GATEWAY_ID = CONVENTIONAL_EUI # Alternatively uncomment and change this to your fixed Gateway EUI # GATEWAY_ID = '11aa334455bb7788'
@this-wiederkehr sorry, we haven't pushed the latest docs. There's a new method called stats, try:
Which returns a namedtuple that contais the rssi, snr and other usefult data (from the last received packet).
this.wiederkehr last edited by this.wiederkehr
lora.rssi() is missing at least since 1.6.6.b1... could you fix please?
ah. for anyone wondering lora.rssi() seems to be deprecated in favor of lora.stats() this will output something like:
(timestamp=1502245986, rssi=-39, snr=29, sf=7)
documentation is as usual outdated...
bucknall last edited by bucknall
Exciting to see this finally released! :D Let us know if you deploy your LoPy as a TTN (or other) Nano Gateway - would be cool to see it in use!
Clemens last edited by
@daniel thx, you can avoid autolinking from *.py files by escape them as inline code
Inline `code.py` has `back-ticks around` it.
see the Markdown doc e.g. under https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet#code
@Clemens thanks. It was never my intention to create Hyperlinks, I just wanted to have then in bold, but somehow the forum treats then as such because of the .py extension, so I have removed that now.
livius last edited by
Hi @daniel congrats about success :)
I do not have Lopy and i am interested if this release have something releated to Wipy2 too?
vruizvil last edited by
@daniel amazing news! lopy weekend, just in time!
JF002 last edited by
I'll definitely try it as soon as possible !
Clemens last edited by Clemens
@simonc thanks! :-)
simonc last edited by
@daniel Wow - congratulations - I think this is a great accomplishment and use case for LoPys!