Commit Graph
137 Commits
Author SHA1 Message Date
fleinze 518ed6af7c Update MySensor.cpp
Gateway only expects signing only from nodes it knows in turn require signed messages.
2015-09-22 11:43:29 +02:00
fleinze 7858825927 Update MySensor.cpp
only verify signature from nodes that require signing
2015-09-22 11:15:05 +02:00
Henrik Ekblad d4df198250 Merge branch 'master' into development
Conflicts:
	libraries/MySensors/utility/RFM69.h
2015-09-05 22:58:56 +02:00
Yveaux d6cc1b46fc Fix led blinking 2015-08-27 11:20:35 +02:00
Jeeva Kandasamy 3df1227147 Fix to enable Tx/Rx as IO pin 2015-08-24 12:46:08 +05:30
Barduino c28cdbd7bc Merge remote-tracking branch 'mysensors/master' into development 2015-08-22 15:10:56 -04:00
Henrik Ekblad 2f1df520ab Fix routing problem in repeaters. 2015-08-17 20:45:56 +02:00
Patrick Fallberg b7e4d23902 Merge master into development 2015-08-15 18:28:22 +02:00
Patrick Fallberg af6e5d3019 Resolved various compiler warnings
This should make Jenkins happy.
2015-08-09 10:06:09 +02:00
Henrik Ekblad 2343d8ae8f Added sendHeatbeat()
Allow a sensor to send a "dummy" message to controller to say "I'm still
alive!". The payload will be an incremental uint16.
2015-08-04 21:38:10 +02:00
Henrik Ekblad cb83bfbdb3 Inverse the default rx/tx/err led behaviour and introduce
WITH_LEDS_BLINKING_INVERSE option in MyConfig.

This allows easy inversing of led blink behavior depending on how the
leds were connected.

Introduce hw-macro for digitalWrite used by the LED blinking.
2015-08-04 21:00:32 +02:00
tekka007 d92a15fed4 OTA stability
- add OTA-ongoing check
- reduce OTA code size
2015-08-02 13:15:11 +02:00
Henrik Ekblad 8d66eb3b14 Merge pull request #141 from mapnull/dev-fix_repeater_loop
fix repeater find parent loop
2015-07-28 22:42:57 +02:00
Henrik Ekblad 79c4cee475 Fix signing problem reported by @scalz
http://forum.mysensors.org/topic/1021/security-introducing-signing-support-to-mysensors/103
2015-07-28 19:44:46 +02:00
Marcelo Aquino a22f712d60 respond to a I_FIND_PARENT after findParentNode()
When a repeater receives a I_FIND_PARENT, it first update the
nc.distance if is invalid and then respond the request
2015-07-28 11:32:52 -03:00
tekka007 76493ff6a7 Sensebender OTA fix
- fix OTA updates
- update flash driver
2015-07-21 17:39:51 +02:00
Bruce B. Lacey 4abaa6ded3 Changed WITH_LEDS_BLINKING option to use the default LED pins as described on http://www.mysensors.org/build/advanced_gateway for consistency and backwards compatibility. Also corrected the LED on/off state to HIGH/LOW from LOW/HIGH respectively. 2015-07-11 09:31:30 -07:00
Marcelo Aquino fcb92436d9 fix repeater loop for I_FIND_PARENT
A repeater calls findParentNode() inside process() when receives a
I_FIND_PARENT and nc.distance is invalid, this could cause a loop
2015-07-09 14:19:57 -03:00
Henrik Ekblad 10e48594d8 Merge branch 'master' into development
Conflicts:
	libraries/LiquidCrystal/LCD.cpp
	libraries/LiquidCrystal/LCD.h
	libraries/MySensors/MySensor.cpp
	libraries/MySensors/examples/MysensorMicro/MysensorMicro.ino
2015-06-11 22:26:33 +02:00
Henrik Ekblad 51d22c6936 Change argument order in presentation 2015-06-10 23:56:40 +02:00
Henrik Ekblad b482a8eb7a Change argument order for presentation description 2015-06-10 23:43:04 +02:00
Henrik Ekblad b3bdc52139 Added optionl sensor description on presentation 2015-06-09 23:57:04 +02:00
Henrik Ekblad e111d64c31 Fix: Default to empty sensor description 2015-06-09 23:47:44 +02:00
Henrik Ekblad f642ec8bf6 Added optional description when presenting sensors. 2015-06-09 23:05:45 +02:00
Tomas Hozza 24464a6255 Use LED blinking in MySensor where appropriate
Signed-off-by: Tomas Hozza <thozza@gmail.com>
2015-05-06 21:45:00 +02:00
Tomas Hozza 58efd872f4 Add LED blinking support into MySensor without any library dependency
Signed-off-by: Tomas Hozza <thozza@gmail.com>
2015-05-06 21:45:00 +02:00
Henrik Ekblad 7bd79f598b Do nothing more after radio initialization fails.
Thanks @thozza
2015-04-20 23:15:41 +02:00
Henrik Ekblad e30dea71ff Fix sleep problem reported by Gary Stofer. 2015-04-18 20:57:15 +02:00
Tomas Hozza 192ccf9896 Fix logging of error if initialization of the radio fails
Signed-off-by: Tomas Hozza <thozza@gmail.com>
2015-04-12 21:33:48 +02:00
Tomas Hozza 20c2938d3d Remove the executable bit from source files
Signed-off-by: Tomas Hozza <thozza@gmail.com>
2015-04-12 21:24:26 +02:00
Henrik Ekblad caaadf44cf Update file headers. 2015-04-08 21:14:52 +02:00
Henrik Ekblad d2dacd8670 Fix id request problem at startup 2015-04-02 13:46:54 +02:00
Henrik Ekblad 527b2332da Correct initialization for gateway 2015-03-31 23:44:38 +02:00
Henrik Ekblad e2b5e8155e Merge branch 'OTA' into development 2015-03-30 22:24:53 +02:00
Henrik Ekblad 3a59929b8e Initial untested OTA feature 2015-03-30 10:28:57 +02:00
tekka 6da96e7d40 adding back time handler
was missing in dev branch
2015-03-26 14:33:44 +01:00
Henrik Ekblad c1a9a53ab9 WIP 2015-03-26 14:30:07 +01:00
Henrik Ekblad adca8b5a4c Temporary OTA commit 2015-03-24 10:58:28 +01:00
Patrick Fallberg 70eac0423d Added config flag MY_SIGNING_FEATURE in MyConfig.h
By disabeling MY_SIGNING_FEATURE all signing logic in the library
will be removed.
2015-03-16 23:15:54 +01:00
Patrick Fallberg 7a2a5dad81 Message signing logic now integrated into sendRoute() 2015-03-16 23:15:54 +01:00
Patrick Fallberg 2d2eb74e0a Fixed bug with storing signing table in EEPROM
eeprom_updated_block() uses a non-string-standardised order of
arguments.
2015-03-16 20:24:43 +01:00
Henrik Ekblad 73024ea4c9 Weird compile error for Patrick 2015-03-16 10:43:09 +01:00
Henrik Ekblad c5760f72c6 Remove EEPROM buffer for routing information 2015-03-12 23:58:38 +01:00
Henrik Ekblad 9e85fac745 Separate the HW specifics from the MySensor library 2015-03-12 22:59:51 +01:00
Henrik Ekblad 6d0ae813c4 Rename MySigningDriver* to MySigning* 2015-03-10 00:07:57 +01:00
Henrik Ekblad 7a1cdd06e1 Rename RFDriver to Transport 2015-03-09 23:45:05 +01:00
Patrick Fallberg 79be69b08d Support for gateways to request signed messages
Various fixes and tweaks to permit a gateway to request
signatures from nodes.
The following messages will not be signed (nor verified):
* All signing-related handshake messages
* All ID-related handshake messages
* All ACKs

An important change is that the polarity for the signing request
flags stored in EEPROM has changed. '0' now means signing required.
This ensures that if the "ClearEepromConfig" sketch is executed,
signing requests will be turned off by default.
As a consequence, it is recommended to clear EEPROM if signing will
be used to ensure all nodes default to a non-signing state.
2015-03-08 11:20:33 +01:00
Henrik Ekblad 5aebe80711 Cleanup driver initialization 2015-03-03 00:24:13 +01:00
Henrik Ekblad afce932cff Remove the last "new" to reduce size 2015-02-27 22:17:05 +01:00
Henrik Ekblad bf8102ecad For discussion 2015-02-26 23:53:37 +01:00