Comments (6)
Did you actually upload LoRaWanGW.lc and SX1276.lc? Normally LoRaWanGW.lua and SX1276.lua should be uploaded. The script in init.lua will compile them after a restart and throw away the lua files...
If you see 'ntp synced using ...' in the console, your connection to internet should be fine.
Next line you should see is 'router ip: ....' indicating the LoraWAN router that you are connected to.
I think that your changes regarding Slave Select are ok: if they were wrong you would see 'Unknown radio: ' in the console.
Next you should see only received packages in the console (with a line 'ntp synced using ... ' every five minutes.
It looks like you can communicate with the sx1276 chip, but you don't receive any messages.
Things to check:
Are there really messages to receive on channel 0?
Are the pins DIO0 and DIO1 connected correctly and configured in init.lua?
from lorawangateway.
Thanks for quick reply. I will double check pin connection. I'm sure transmitting something on channel 0 ( i can receive with the arduino gateway from @platenspeler)
Then i will put some print() in to find out whats happening...
I uploaden only .lua files :), and they compile fine with your init script.
from lorawangateway.
Did you get it working?
from lorawangateway.
Nope. Got the message Unknown radio now.... Will check it later with another board.
In Lua is pin D8 -> 8 right?. Sometimes confusing the esp pinout...
from lorawangateway.
The mapping between the nodemcu pin numbers and the ESP's gpio's can be found on http://nodemcu.readthedocs.io/en/dev/en/modules/gpio/. The nodemcu pin numbers are based on the numbering on the nodemcu boards. I use wemos d1 mini boards which have the same numbering.
from lorawangateway.
I have added the parameter GW_NSS to init.lua. This parameter defines the NSS pin to use.
from lorawangateway.
Related Issues (20)
- add localization to the time stamps HOT 3
- NTP server url in Config settings file HOT 3
- docs: Dev branch missing CJSON at https://nodemcu-build.com HOT 2
- Output of telnet strange format HOT 2
- hardware for this project HOT 5
- Compatibility RF95 HOT 8
- Add status messages HOT 2
- connect to ttn-router-eu HOT 2
- PANIC: unprotected error in call to Lua API (bad argument #1 to 'mode' (number expected, got nil)) HOT 5
- ESP8266 --> GPIO 13 busy HOT 4
- Incorrect transmit frequency HOT 9
- [DELETED] HOT 1
- OTA issue with single channel gateway HOT 2
- Problem uploading lua files HOT 5
- Problem with lua shell HOT 2
- Why won't support for multiple channels work? HOT 6
- I need your help on connecting to server HOT 2
- why the percent of receive success is low when set the GW_SF to ALL HOT 11
- Remote Access
- Send to GW
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lorawangateway.