anthonykirby / lora-packet

LoRa radio packet decoder
MIT License
261 stars 83 forks source link

Decode Beacon frame #9

Open pyrog opened 7 years ago

pyrog commented 7 years ago

Could be fine to decode beacon frames 😄

See LoRaWAN Specification, Chapter 15: Beaconing (Class B option)

anthonykirby commented 7 years ago

Send me a PR ;-)

(sent from my phone; please overlook typos and autocorrect)

On 26 Jul 2017 6:56 pm, "Yves Pratter" notifications@github.com wrote:

Could be fine to decode beacon frames 😄

See LoRaWAN Specification, Chapter 15: Beaconing (Class B option)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/anthonykirby/lora-packet/issues/9, or mute the thread https://github.com/notifications/unsubscribe-auth/ABVSnb2TwhCygRmTpv_xi6EQuxI6NZFAks5sR33IgaJpZM4OkRWp .

anthonykirby commented 7 years ago

(I'm scheduling time in September to work on this; apologies for the delay)

anthonykirby commented 6 years ago

(again, apologies for the delay) I'm gladly implement this, but what I really need is some example packets to test it with. Could you provide examples?

tibortiz commented 6 years ago

Hi @anthonykirby

Here is the Beacon payload format according to LW 1.1 and the incoming LW 1.0.3 spec: image

And an example of Class B beacon payload for AS923 (The GW GPS coordinates are anonymized) : 00008065f0466096000000000000000000

Please note that the format of the beacon can change based on the band used:

The parsing needs to be flexible to decode the beacon used for all the bands: image