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

lora.LoRaWAN() method used to configure the LoRaWAN keys (DevAddr, nw… #285

Merged
merged 1 commit into from Oct 14, 2016
Merged

Conversation

yerpj
Copy link
Contributor

@yerpj yerpj commented Oct 13, 2016

This PR adds a function to configure the LoRaWAN settings. You just have to give 3 parameters :

  • DevAddr
  • nwkSKey
  • appSKey

Further information, see here

Usage:

lora.LoRaWAN(devAddr,nwkSKey,appSKey,function(x){console.log(x);});
lora.loraTX("Hello");

This have been tested with Espruino 1v87.852 on a Pico

…kSKey, appSKey)

Usage:
lora.LoRaWAN(devAddr,nwkSKey,appSKey,function(x){console.log(x);});
lora.loraTX("Hello");
@gfwilliams
Copy link
Member

Great, thanks!

@gfwilliams gfwilliams merged commit 5aca983 into espruino:master Oct 14, 2016
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

Successfully merging this pull request may close these issues.

None yet

2 participants