Skip to content

Status mac paused #32

Description

@sainathgorige

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions