kriswiner / CMWX1ZZABZ

Collection of sketches using the Arduino core for Murata's CMWX1ZZABZ (STM32L082 and SX1276)
96 stars 30 forks source link

How Can I receive LoRa Data? #19

Closed paengpd closed 5 years ago

paengpd commented 5 years ago

Do you have Example code? TX is so good. but RX is not good.

I use below code. but can't enter.

int packetSize = LoRaWAN.parsePacket(); { }

Any ideas?

kriswiner commented 5 years ago

Try the LoRaWAN_Callbacks example for Grasshopper.

On Fri, Jun 21, 2019 at 1:49 AM paengpd notifications@github.com wrote:

Do you have Example code? TX is so good. but RX is not good.

I use below code. but can't enter.

int packetSize = LoRaWAN.parsePacket(); { }

Any ideas?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/kriswiner/CMWX1ZZABZ/issues/19?email_source=notifications&email_token=ABTDLKQV4OBSZZHXG5M7ZX3P3SI3LA5CNFSM4H2O6EVKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G25DFIA, or mute the thread https://github.com/notifications/unsubscribe-auth/ABTDLKRGMLMEEKGKWMDN3NDP3SI3LANCNFSM4H2O6EVA .

paengpd commented 5 years ago

I want use only two grasshopper. If one grasshopper did Join request, other grasshopper have to Join accept. But I can't find Join accept example. Do I must use geteway or network server? Grasshopper can't do that?

kriswiner commented 5 years ago

No, you can use LoRa Radio or FSK examples, check for ping_pong example, then no gateway required.

On Sun, Jun 23, 2019 at 7:15 PM paengpd notifications@github.com wrote:

I want use only two grasshopper. If one grasshopper did Join request, other grasshopper have to Join accept. But I can't find Join accept example. Do I must use geteway or network server? Grasshopper can't do that?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/kriswiner/CMWX1ZZABZ/issues/19?email_source=notifications&email_token=ABTDLKWUAEDP452267I6JADP4AU4PA5CNFSM4H2O6EVKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYLNZ2A#issuecomment-504814824, or mute the thread https://github.com/notifications/unsubscribe-auth/ABTDLKXQNJWCD5AY7B7ILTDP4AU4PANCNFSM4H2O6EVA .

paengpd commented 5 years ago

I did it for use Radio example. but I want receive data for use LoRaWAN. Can you tell me good idea?

kriswiner commented 5 years ago

For LoRaWAN you need a gateway.

On Mon, Jul 22, 2019 at 2:26 AM paengpd notifications@github.com wrote:

I did it for use Radio example. but I want receive data for use LoRaWAN. Can you tell me good idea?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/kriswiner/CMWX1ZZABZ/issues/19?email_source=notifications&email_token=ABTDLKTJIFEVRCYCW6C55PLQAV4MPA5CNFSM4H2O6EVKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2PKTKQ#issuecomment-513714602, or mute the thread https://github.com/notifications/unsubscribe-auth/ABTDLKTLCY6FG4DYVSXFWR3QAV4MPANCNFSM4H2O6EVA .