Commit Graph
711 Commits
Author SHA1 Message Date
Patrick Fallberg 62f522a065 Prevent SecureActuator from accepting ACKs as commands
As ACKs are not currently signed, allowing ACKs as commands
is a considerable security hole for this sketch. This is now resolved.
2015-12-16 10:54:05 +01:00
Patrick Fallberg ca4358591d Make sure nodes not supporting signing informs GW
A node that does not support signing, still needs to inform the
gateway about this to make sure the gateway carries a valid signing
requirement table when a node Id that was requiering signing stops
doing this.
This fixes #286.
2015-12-16 10:53:53 +01:00
tekka007 ec0a5d2bc6 20151211_RNG 2015-12-11 16:17:36 +01:00
Patrick Fallberg ce36a087fa Adjusted MySigning documentation slightly based on feedback 2015-12-11 00:40:03 +01:00
Patrick Fallberg 313bcf05f8 Added some more docs for MyMessage 2015-12-11 00:40:03 +01:00
Patrick Fallberg 941503b24f Divided public and private/internal modules
Public modules can be declared as normal. Internal modules should
have @ingroup internals after the group definition.
2015-12-11 00:40:03 +01:00
Patrick Fallberg a69f2889bf Better file documentation for the MySigning group 2015-12-11 00:40:03 +01:00
Patrick Fallberg 9d7a2fd6e3 Documented signing related functionality 2015-12-11 00:40:02 +01:00
Patrick Fallberg cc544909ce Doxygen warnings cleanup
But made sure that any undocumented parts generates a warning
2015-12-11 00:40:02 +01:00
Thomas Mørch 3a36bcfdf7 Merge pull request #288 from tbowmo/samd
added initializers for variables needed on AVR platform
2015-12-11 00:38:02 +01:00
Thomas Mørch e7b6e636ba Corrected sleep functions after @tekka changed definitions in MyHw.h 2015-12-10 22:08:20 +01:00
Henrik Ekblad 3fb4074377 Merge pull request #287 from mysensors/Correct-MY_RF69_IRQ_NUM-pins-for-ESP
Fix MY_RF69_IRQ_NUM pin setting for ESP8266
2015-12-10 22:05:01 +01:00
Thomas Mørch 1db2c08d12 added initializers for variables needed on AVR platform 2015-12-10 21:26:08 +01:00
Thomas Mørch 464f401659 Merge pull request #281 from tbowmo/samd-rework
atmel SAMD compatability
2015-12-10 21:11:57 +01:00
Henrik Ekblad a3584515c6 Fix MY_RF69_IRQ_NUM pin setting for ESP8266
Add delay when initializing radio and do some yielding
2015-12-10 19:20:11 +01:00
Thomas Mørch 62f9d9e654 Updated core atsha204 driver for avr/samd compatability, renamed macro names in fat library 2015-12-10 17:24:58 +01:00
Thomas Mørch e2f45251a0 Bringing back AVR specific code, for time critical operations 2015-12-10 17:11:37 +01:00
Henrik Ekblad 1035f84a43 Merge pull request #282 from tekka007/sleeping
WDT fixes
2015-12-10 11:06:52 +01:00
Jeeva Kandasamy 1ab6f6a669 Removed unused variable 'value' 2015-12-10 13:20:07 +05:30
Jeeva Kandasamy d85838f46b realigned to maintain code structure 2015-12-10 04:18:51 +05:30
Jeeva Kandasamy be9f811d55 fix, send C_STREAM messages to MySensor network world 2015-12-10 04:09:19 +05:30
Thomas Mørch 396a5fe5b0 converted (fat) sha204 to use standard arduino cmds for pin handling 2015-12-08 21:12:57 +01:00
tekka007 4c1df2b074 20151208_sleep_wdt 2015-12-08 13:42:42 +01:00
tekka007 ba73ee4075 intermediate 20151208fix 2015-12-08 01:30:19 +01:00
tekka007 cbb8a80791 intermediate 20151208 2015-12-08 00:42:09 +01:00
tekka007 3485182945 intermediate 20151207 2015-12-07 22:28:28 +01:00
Thomas Mørch 5b3fac51cc Changed HW signing (atsha204) to be SAMD compatible 2015-12-06 23:16:44 +01:00
Thomas Mørch c62aca4125 Added ethernet module to local hardware instance, since we have to hack it a bit in order to move it to alternative SPI port
Removed Wire and SAMD_AnalogCorrection libraries from HW section, as we didn't change anything in those, so let's keep it to the standard ones

Modified SPI library, initializing extra SPI ports, also HW mux changes in the setup of individual SPI ports to match the GW setup

Added MyHWSAMD files so they are included in the core headers (MyConfig.h / MySensors.h)
2015-12-06 23:16:44 +01:00
Thomas Mørch e229e21d0e Initial commit for SAMD compatability 2015-12-06 23:16:44 +01:00
Henrik Ekblad 9540cb2b30 Merge pull request #277 from mysensors/esp8266-2.0.0-compability-fix
Fix compile error using ESP board 2.0.0
2015-12-03 16:35:09 +01:00
Henrik Ekblad 9ad98582c5 Fix compile error using ESP board 2.0.0
You need to update to the latest ESP board files 2.0.0 by using
Tools->Board->Boards-Manager. Select ESP8266 and press Update.
2015-12-03 09:34:44 +01:00
Patrick Fallberg 36dcf2b5b6 Let prints on GW:s be up to MY_GATEWAY_MAX_SEND_LENGTH large 2015-11-30 14:16:58 +01:00
Henrik Ekblad 6d97702b29 Fix #272 - NULL argument check in MyMessage::set(char *) 2015-11-30 00:08:48 +01:00
Henrik Ekblad 7e3f5d2d54 Smart sleep
Add “Smart sleep” variants of all sleep methods that allows nodes to
receive buffered messages/commands from controller that was issued while
node was sleeping.. When calling the smartSleep() variant, the node
immediately sends a heartbeat mesage when waking up (informing
controller that node is awake). Before going back to sleep it waits
MY_SMART_SLEEP_WAIT_DURATION to process any incoming buffered messages
from the controller. NOTE: Controller must support this feature.
2015-11-28 22:45:52 +01:00
Henrik Ekblad 98554aba99 Merge pull request #268 from mfalkvidd/development
ClearEepromConfig: Fix spelling mistake
2015-11-28 13:21:21 +01:00
Henrik Ekblad 4790a151f5 Merge pull request #270 from mysensors/capabilities-embryo-and-mixed-fixes
Capabilities embryo, misc fixes
2015-11-28 13:20:24 +01:00
Henrik Ekblad f8bdc3f55f Include missing MyCapabilities.h 2015-11-28 12:20:56 +01:00
Henrik Ekblad 230d698bfd Capabilities embryo, misc fixes
Call sketch setup() before presentation()
Bugfix in RFIDLockSensor
Disable remote reset option
Topic comparison bugix MQTT gateway
2015-11-28 12:03:43 +01:00
Mikael Falkvidd git@mjo.se 5f16b2209b ClearEepromConfig: Fix spelling mistake
I agree to CLA
2015-11-27 22:24:16 +01:00
Patrick Fallberg 8280479724 Removed requirement for payload data for signed messages 2015-11-27 13:53:10 +01:00
Henrik Ekblad 7f360062dc DE-pin management for RS485 transport layer 2015-11-25 20:05:09 +01:00
Jps 8ff68f0bbe esp8266gateway crashing when receiving I_CONFIG message from new node due to attempt to dereference the NULL return of MyMessage::getString() 2015-11-23 17:02:17 -05:00
ToniA cefc79dad2 Daikin air conditioner support 2015-11-23 18:50:23 +02:00
Henrik Ekblad bbc6c8b531 Merge pull request #261 from windkh/development
Added weather station sensor example which is a merge between the two…
2015-11-22 20:41:19 +01:00
Henrik Ekblad ff61bc0c5b Merge pull request #262 from mysensors/fix-pa-level-bug
Fix RF24 PALevel not set correctly
2015-11-22 20:40:28 +01:00
windkh 94f441360b Pressure is not rounded anymore: value is divided by 100.0 instead of 100. 2015-11-22 20:30:41 +01:00
Henrik Ekblad 0ab8431076 Fix RF24 PALevel not set correctly 2015-11-22 19:26:26 +01:00
windkh 60645f04f1 Added weather station sensor example which is a merge between the two examples
http://www.mysensors.org/build/humidity and http://www.mysensors.org/build/pressure
In addition to that the current weather situation is transmitted.
Right now the temperature values of both sensors are transmitted to the gateway. This is a bit redundant, but maybe useful when
mounting one the sensor (e.g. BMP) inside the building and the other one (DHT) outside of the building.
2015-11-22 14:08:42 +01:00
Patrick Fallberg f6e018f5e3 Fixed bug in repeaters when forwarding signed messages
For repeated messages, sign flag must not be touched.
2015-11-19 09:28:36 +01:00
Henrik Ekblad e9f6a3ec41 Merge pull request #257 from Bekkie/patch-1
Update MyMessage.h
2015-11-19 09:02:43 +01:00