Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Status mac paused #32

Open
sainathgorige opened this issue Jul 25, 2023 · 5 comments
Open

Status mac paused #32

sainathgorige opened this issue Jul 25, 2023 · 5 comments

Comments

@sainathgorige
Copy link

Hello,

I'm trying to get coverage of my lora network using losik, I bought two losik, I have tried using lorawan.py, but couldn't succeed.

Following are the steps I followed:

Generated random unique values(also used sensor values) for DevEUI, AppEUI, and AppKey.
Registered these values with your LoRaWAN network server(chirpstack dashboard).
Use these same values in your Python script when running it with the LoStik device.

but the script hung at status ,ac paused:
sudo python3 lorawan.py /dev/ttyUSB0 --appeui 70B3D57ED0031D3D --appkey EC925802AE430F59798E8C8D7E926C8D --deveui 00D827F000B4C638
Connection to LoStik established
mac set appeui 70B3D57ED0031D3D
mac set appkey EC925802AE430F59798E8C8D7E926C8D
mac set deveui 00D827F000B4C638
mac join otaa
STATUS: ok
STATUS: ok
STATUS: ok
STATUS: mac_paused

is there anything I'm missing

I have also tried using ABP

sudo python3 lorawan.py /dev/ttyUSB0 --joinmode abp --devaddr 010bb971 --nwkskey c44e91483a00aa3cedba46bc4ebe87a8 --appskey d7321ca80503973775a521759f3c5da7
[sudo] password for aerpaw:
Connection to LoStik established
mac set devaddr 010bb971
mac set appskey d7321ca80503973775a521759f3c5da7
mac set nwkskey c44e91483a00aa3cedba46bc4ebe87a8
mac join abp

@sainathgorige
Copy link
Author

@lolsborn @doismellburning @eggfriedrice any help?

@lolsborn
Copy link
Collaborator

lolsborn commented Jul 25, 2023 via email

@sainathgorige
Copy link
Author

No, How to configure the channels, can you please give a doc/example?

I have 6 RAK lora gateways, which constitutes my lora network. and I'm using US 915mhz.

@lolsborn
Copy link
Collaborator

lolsborn commented Jul 25, 2023 via email

@sainathgorige
Copy link
Author

sainathgorige commented Jul 25, 2023

Thanks, I have added deveui and app creds to the ttn-us-conf, But still I'm facing the same issue
I have attached the logs to this comment.

Please let me know if I'm missing something here

ttn-us.txt

losik_logs.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants