iotedge-lorawan-starterkit
iotedge-lorawan-starterkit copied to clipboard
Cli-LoRa-Device-Provisioning should be provided as asset with release
@Mandur let's discuss in next sprint refinement
We will take this in the current sprint
Included as part of the prerelease pipeline
@Mandur Sorry , I don"t know if I can place this doubt here. I would be very grateful if you could help. I'm new to Azure IoT Edge LoRaWAN Starter Kit and following https://azure.github.io/iotedge-lorawan-starterkit/dev/ I'm having trouble to understanding how to find CLI-LoRa-Device-Provisioning interface. Is it in our lora edge gateway or in azure iot hub platform or in our machine? Could please give me some guidence.
Hello @ABHITHLALC
You can find the CLI compiled in every release (e.g. here )
You can find the code backing it here
Hi @Mandur, Thank you for the reply. And sorry for the delay. Still having a doubt. Probabaly this will be low level questions. But still asking ,where do we run this commands?
dotnet publish -c Release -r win10-x64
dotnet publish -c Release -r linux-x64
dotnet publish -c Release -r osx-x64
dotnet run -- (add verbs and parameters here)
I am using SX1302 LoRaWAN Gateway HAT and raspberry pi 3 B+ . Steps followed
- Installed sd card with debian OS
- connected sx1302 hat with raspberry pi.
- Installed Iotedge in raspberry pi
- In azure iot hub , deployed lorawan starter kit from this document https://azure.github.io/iotedge-lorawan-starterkit/dev/quickstart/#deployed-azure-infrastructure 5.Copied connection string obtained after deploying starter kit.
- And used same connection string to provision the edge gateway
- Now the edge modules are running
But after this I can see from the logs of LoRaWanNetworkServerModule, There is an error saying
An exception occurred while processing requests: LoRaWan.LoRaProcessingException: The configuration request of station 'B827EBFFFEA63045' did not match any configuration in IoT Hub. If you expect this connection request to succeed, make sure to provision the Basics Station in the device registry.
ErrorCode: InvalidDeviceConfiguration
Could you please provide me with more inofrmation about LBS IoT Edge Module configuration and how to connect LBS and LNS. Your guidence would be very helpful.
Hello @ABHITHLALC,
You are missing a device for the concentrator with id 'B827EBFFFEA63045'. YOu don't need to compile the utility, as my previous post suggested, just go here in the assets section and download the lora-cli.your-platform.zip, unzip it, and run the executable, this is a precompiled version of the utility for you
If you prefer you could also put the configuration manually as described here
Thanks, @Mandur This ID(B827EBFFFEA63045) is not created by me. I think that generated automatically after installation. deployed another iotedgelorawan starter kit with station eui ' B827EBFFFEA63045 '. Now the logs are IotHubMetricsCollectorModule logs.txt LoRaWanNetworkSrvModule logs.txt iotedge system logs.txt Saying that router config was not present in device tiwn.
As you said I downloaded the file from here. I am using system with windows 10. So downloaded " lora-cli.win-x64.zip ". That file contains these items
Ran loradeviceprovisioning.exe in CMD. Then suddenly a window pops up and closes. Am I in the right path?