Multitech Conduit ABP Configuration?
I apologize in advance... These questions are more related to Multitech than LoPy, but I figure someone probably has this working on the Multitech, so I am asking here.
Can someone share a working lora-network-server.conf file for a Multitech Conduit using ABP? And along with it provide the corresponding code snippet to connect via a LoPy?
The thing that seems tricky is that there are "name" and "passphrase" elements on the Conduit, and they do not seem to apply to the parameters that I need to send from the LoPy.
My configuration file works fine for OTAA, but I'd like to try out ABP.
Here's an example of what I have now (with the key and eui fields changed to all 0's):
"public": true, /* set to false for private LoRa network with mDots + Conduit /
"leasetime": 0, / time until mDot join expires (minutes) or 0 for no expiration */
Are there other parameters that I need to include? I read through the ABP doc here: https://docs.pycom.io/pycom_esp32/pycom_esp32/tutorial/includes/lora-abp.html
It provides the following advice for setting parameters:
create an ABP authentication params
dev_addr = struct.unpack(">l", binascii.unhexlify('00 00 00 05'.replace(' ','')))
nwk_swkey = binascii.unhexlify('2B 7E 15 16 28 AE D2 A6 AB F7 15 88 09 CF 4F 3C'.replace(' ',''))
app_swkey = binascii.unhexlify('2B 7E 15 16 28 AE D2 A6 AB F7 15 88 09 CF 4F 3C'.replace(' ',''))
How does the nwk_swkey, the dev_addr and the app_swkey get specified in the Multitech gateway config?
For what it is worth, I also read the following link: http://www.multitech.net/developer/software/lora/lora-network-server/. In this link, it says I can use this command to add a new node which will use ABP using this command:
lora-query -a 00000001 A 16ea76f6ab663d80 0001020304050607 d73b3fa1456ced1a86d64dd5b961979d b31fc5263c66bcdc09a43ad3cd6f33ab
I'm not sure where this part fits in. Does one need to add a node using this command before the node can communicate with the Multitech Conduit? Or is the above command for some other purpose? If so, what?