Commit Graph
19 Commits
Author SHA1 Message Date
Yveaux bb211826ef Fix warnings 2015-10-04 13:22:31 +02:00
Yveaux f748d15adb Introduce MY_DEBUG_VERBOSE to reduce binary size
Define MY_DEBUG_VERBOSE to have verbose debugging output (dumping NRF24
registers on startup).
2015-10-04 12:12:00 +02:00
Yveaux b9b0540f67 Fix printDetails() & debugging for ESP8266
Switched from printf_P to Serial.print to prevent all kinds of nasty
PROGMEM troubles.
Distinguish between 32- and 16-bit architectures when reading ptrs from
flash.
Ditched #defines MINIMAL & SERIAL_DEBUG.
Debugging code is now only included when DEBUG is defined.
If your target (e.g. ATTiny) cannot handle the extra code, then don't
enable DEBUG.
#defining DEBUG will now also output a register-dump on calling begin()
of NRF24 driver to aid in (connection) problems.
2015-10-03 16:17:29 +02:00
Yveaux f03f4f9412 Hardened (dis)connections
Added support fot multiple sessions (Currently 5 max. Each connection
costs RAM!)
Each session can send data to the gateway. Data from the gateway will be
broadcasted to all connected clients.
Added serial logging of client (dis)connections. Inspect serial terminal
in case of problems.
2015-09-04 19:54:45 +02:00
Yveaux b997861f59 Fix crash at startup 2015-09-03 20:33:34 +02:00
Yveaux 49f880ecf8 Bugfix 2015-09-02 17:46:37 +02:00
Yveaux 688261f069 Reverted default analog input for random seed generator 2015-08-31 20:13:03 +02:00
Yveaux cb771ab680 Fixes for compiling for Mega
Make more consistent use of architecture #defines.
2015-08-31 19:36:43 +02:00
Yveaux f407617dda Removed comment about external SPI flash not supported by gateway.
External SPI flash is not required by gateway.
ESP8266 has sufficient internal flash should it be required.
2015-08-27 12:32:48 +02:00
Yveaux dae4f8172b Got RF69 support compiling 2015-08-27 12:21:31 +02:00
Yveaux c0d2177afa Software SHA204 signing uses only analog input avaiable: A0 2015-08-27 12:12:16 +02:00
Yveaux e2c715c387 Fix support for signing. Only software ATSHA204 supported! 2015-08-27 12:11:49 +02:00
Yveaux d6cc1b46fc Fix led blinking 2015-08-27 11:20:35 +02:00
Yveaux 0bb5e223b2 Fixed inclusion mode 2015-08-27 10:53:35 +02:00
Yveaux 64e28005b4 Added initial support for ESP8266 as WiFi gateway for MySensors 2015-08-26 12:00:29 +02:00
Yveaux 99917b43ac Allow disabling of LED/Inclusion pins
LED/inclusion pins will always be controlled, even when not configured
to use them.
This fix will ignore pins when a negative pin number is passed.
2015-07-16 20:16:10 +02:00
Yveaux e5bd891a77 Improved parent node search
Retry parent node search with each transmit when parent has not been
found.
Transmit does not block on transmit when no parent has been found as
this depletes batteries on battery powered nodes.
Fix nRF24 configuration for dynamic ACK's. This bug caused broadcasts to
be sent with auto-ACK's.
To not break existing functionality parent search can be started when
node ID is still unknown. In this case node ID is set to broadcast ID,
which can cause funky stuff to happen...
2014-09-11 09:37:42 +02:00
Yveaux 10e43f6aa8 Support parent search without node ID
To not break existing functionality parent search can be started when
node ID is still unknown. In this case node ID is set to broadcast ID,
which can cause funky stuff to happen...
2014-09-10 12:04:35 +02:00
Yveaux 0f34bb33be Improved parent node search
Retry parent node search with each transmit when parent has not been
found.
Transmit does not block on transmit when no parent has been found as
this depletes batteries on battery powered nodes.
Fix nRF24 configuration for dynamic ACK's. This bug caused broadcasts to
be sent with auto-ACK's.
2014-09-09 19:43:08 +02:00