Commit 7c70fbaa authored by Nico Schottelius's avatar Nico Schottelius

Base64 decode on ttn network

parent d12d5ab0
......@@ -93,6 +93,10 @@ def decode_adeunis(pkg):
return res
def nodered_adeunisrf(provider, data):
# ttn -> base64 encoded
if provider == "ttn":
data = base64.b64decode(data)
res = decode_adeunis(data)
if not res:
return
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment