Commit Graph
107 Commits
Author SHA1 Message Date
Thomas Mørch 726ee7d5ff Unified bool "return" type (set/get) to use "byte" (uint8_t) 2015-12-19 11:41:14 +01:00
Thomas Mørch 148dd78ca7 Added set(bool), to avoid typecasting on samd arch 2015-12-19 10:34:40 +01:00
Thomas Mørch be2c89a200 snprintf_P missing in arduino core for samd, so have a local macro 2015-12-18 23:51:45 +01:00
Patrick Fallberg 1396bf8bc2 Merge pull request #302 from tekka007/SigningBitfield
Thanks for finding this.
2015-12-16 15:23:03 +01:00
tekka007 0ecf632090 Merge pull request #301 from fallberg/security
Resolve open bugs relating to security
2015-12-16 14:52:55 +01:00
tekka007 cc91acb847 fix addressing bug in _doSign bitfield 2015-12-16 14:15:55 +01:00
tekka007 9e8d0cfa02 Merge pull request #300 from tekka007/heartbeatfix
Heartbeat enhancement
2015-12-16 11:55:46 +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 1c54409721 change unused warning workaround to (void)parameter 2015-12-15 22:08:34 +01:00
tekka007 f7707da08e warnings due to unused parameters 2015-12-15 21:52:22 +01:00
tekka007 26a2e18747 remove sleeping for repeaters 2015-12-15 21:32:21 +01:00
tekka007 56c9311424 substitute type for _heartbeat 2015-12-15 17:50:45 +01:00
tekka007 52ad8749a9 increment heartbeat in _sendroute() 2015-12-15 17:08:53 +01:00
tekka007 cb3c55ae3b Fixing smartsleep, define return value for sleep() 2015-12-15 16:30:02 +01:00
tekka007 8da7f8b378 20151212_CORE2 2015-12-12 10:43:54 +01:00
tekka007 813c5b3f38 20151212_CORE 2015-12-12 10:25:20 +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 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 e7b6e636ba Corrected sleep functions after @tekka changed definitions in MyHw.h 2015-12-10 22:08:20 +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 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
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 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
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
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
Henrik Ekblad 0ab8431076 Fix RF24 PALevel not set correctly 2015-11-22 19:26:26 +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