Comments (2)
Hi,
You're right the dragino code isn't set up to receive messages. We haven't needed that functionality in our application so it never got written.
LoRaWAN can work in one of 3 classes:
Class A: The end-node listens to messages from the gateway in specific windows after it transmits, the rest of the time it doesn't listen.
Class B: (requires GPS locked gateways) end-nodes get given specific timeslots in which to listen for messages
Class C: device is listening all the time.
It sounds like you want to operate as Class C, which requires support all the way through the stack. I've moved onto a new project so I haven't been following advances in the TTN stack, but it would be worth checking that TTN now supports Class C operation.
Your proposed changes make sense to me.
from dragino.
Thanks for considering my code - I'll fork a copy and make the changes. The TTN console allows us to send downlink messages - really that's all that will happen - very short manual config commands sent to the end node once in a blue moon.
Your transmit code sets the device into receive mode (after idle) so I assume it will receive - I'll be testing that.
I have done something similar with MQTT message routing in the past.
Thanks for your reply. I'll investigate Class C.
from dragino.
Related Issues (19)
- Downlink support HOT 14
- Support SF12 & RX2 HOT 4
- Dragino LoRa/GPS HAT on RPi 4 HOT 1
- Change the DevNonce when retrying a join. HOT 2
- Unable to join to TTN V3 HOT 5
- dio_mapping needs to be reset in join() HOT 1
- Add tx_done flag HOT 1
- Confirmed downlink messages? HOT 1
- Seeing more downlink messages than expected in TTS HOT 7
- Possible race condition waiting for 'transmitting' flag to become False
- DevNonce changes in 1.0.4 HOT 2
- Downlink Messages HOT 2
- OTTA implementation HOT 11
- Can't get test.py to work HOT 6
- OTAA - waiting repeats.... v2 ttn and v3 both see the activation. HOT 6
- TTN V3 Compatability HOT 2
- Compatibility with Adafruit RFM95W? HOT 2
- test.py has problem reading dragino.ini file HOT 2
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 dragino.