brocaar / lorawan

Package lorawan provides structures and tools to read and write LoraWAN messages from and to a slice of bytes.
MIT License
296 stars 157 forks source link

How to use loranWan documents? #66

Closed 79-artisan closed 1 year ago

79-artisan commented 1 year ago

I didn't find an example of how to use it in the package

brocaar commented 1 year ago

Please see: https://pkg.go.dev/github.com/brocaar/lorawan#pkg-examples.

79-artisan commented 1 year ago

Please see: https://pkg.go.dev/github.com/brocaar/lorawan#pkg-examples.

Hello, first of all, thank the author for his reply. I haven't found any examples of how to send instructions to devices in this example. For example, to communicate with the serial port, there should be an example of opening the serial port and sending data to the serial port and interface serial port data

79-artisan commented 1 year ago

@brocaar

brocaar commented 1 year ago

This library is not to interact with devices, it is to encode and decode LoRaWAN payloads.

79-artisan commented 1 year ago

This library is not to interact with devices, it is to encode and decode LoRaWAN payloads.

Thank you for your reply

@brocaar Do you know which libraries interact with devices

thank you

sagar-patel-sls commented 1 year ago

@79-artisan

The library below interacts with devices. https://github.com/Lora-net/LoRaMac-node

The LoRaWAN stack API documentation can be found at: http://stackforce.github.io/LoRaMac-doc/

Thank You

79-artisan commented 1 year ago

Hi @sagar-patel-sls Thank you for your reply. Is there a warehouse for Golang language and device interaction Thank You