NRF24 Channel and Datarate in the MyTransportNRF24-constructor
-
Hi,
I am missing the possibility to select a different channel without editing MyConfig.h. This comes in handy when I want to test some features in a test-system without impairing the main system.
In Library version 1.4 it was possible in the begin-statement of MySensors.h.
With the new architecture I think the MyTransportNRF24-constructor would be a good place for this. The new constructor would look like:MyTransportNRF24(uint8_t ce, uint8_t cs, uint8_t paLevel, uint8_t channel, rf24_datarate_e datarate);
I made pull-request on github because I think this is a good idee.
-
I need this feature. Where is your branch?
-
It was merged a long time ago in the development branch.
Add
#define MY_RF24_CHANNEL 76
in sketch
3 out of 3
Suggested Topics
-
Controlling Blinds.com RF Dooya Motors with Arduino and Vera
My Project • 24 Mar 2014, 13:27 • petewill 12 Aug 2023, 16:39 -
ota-configuration
Feature Requests • 8 Mar 2023, 09:28 • pbw 8 Mar 2023, 09:28 -
wireless gateway
Feature Requests • 8 Jun 2023, 14:05 • Thomaswortman 8 Jun 2023, 14:05 -
is there a solution for a relay with button that also works offline?
Feature Requests • 31 Mar 2023, 16:04 • Branther 4 Apr 2023, 11:37 -
Raspberry MQTT GW over TLS with rfm69
Feature Requests • 14 Sept 2022, 15:11 • Tico 16 Sept 2022, 07:23 -
debug serial gateway (homeassistant raspberry py 4)
Feature Requests • 2 May 2023, 09:01 • Branther 8 Jun 2023, 12:38