Repeater node
-
I have read through the api and it's still a little bit unclear on the repeater mode. No sleeping.... Does it mean if i want to have a repeater node i need to modify the sketches and remove the sleep functions? For example in humidity node - completely remove the
gw.sleep(SLEEP_TIME); //sleep a bit
?
-
Thats true! You cant sleep a repeater because it puts the radio to sleep.
You need to keep it alive all the time so it doesnt miss any messages.The downside is that if you dont sleep the node you need a good Power supply,
-
If you still want the delay you can use gw.wait instead. That will process incoming radio messages.
1 out of 3
Suggested Topics
-
Update RF24 library to latest version
Bug Reports • 23 Mar 2014, 23:37 • andriej 24 Mar 2014, 22:52 -
Code Garage to the rescue.
General Discussion • 11 Jan 2025, 11:25 • skywatch 17 days ago -
No merge into master in the last 5 years, should we use development?
General Discussion • 23 Sept 2024, 17:48 • kiesel 25 Mar 2025, 15:30 -
Email notifications received twice
General Discussion • 6 Feb 2023, 16:15 • Jodaille 27 Mar 2025, 06:07 -
Meet in Malmö, Summer 2016?
General Discussion • 1 Feb 2016, 15:34 • bjacobse 4 Mar 2025, 00:29 -
ESP32 with LoRa
General Discussion • 31 Jan 2023, 11:06 • dhanushmh 25 days ago