Commit Graph
1438 Commits
Author SHA1 Message Date
Thomas Mørch 351e015996 LED PIN defines was missing _PIN in their names
fixes #409
2016-06-19 22:00:44 +02:00
Thomas Mørch 1075875cf3 Version number didn't match library.properties 2016-06-19 21:55:38 +02:00
Henrik Ekblad 2aa5b34807 Merge pull request #476 from tekka007/WaitEnhancement
Add return value to wait()
2016-06-15 21:59:18 +02:00
Olivier f1319fc392 Add return value to wait() 2016-06-15 21:19:02 +02:00
Patrick Fallberg 385d441d0e Merge pull request #474 from tekka007/SigningImprovement
Speedup signing presentation phase
2016-06-14 07:17:19 +02:00
Olivier c58032c7aa Speedup signing presentation phase 2016-06-13 22:36:20 +02:00
Henrik Ekblad 24988afcb2 Merge pull request #473 from gizmocuz/development
Fixed Voltage Sending in Sensebender
2016-06-13 09:06:31 +02:00
gizmocuz 1c7385f1f1 Fixed Voltage Sending in Sensebender 2016-06-13 07:40:38 +02:00
Patrick Fallberg 1336da125b Merge pull request #472 from tekka007/SigningFix
Fix sending buffer in MySigning.cpp
2016-06-12 23:01:08 +02:00
Olivier c1c37b0dec Fix sending buffer in MySigning.cpp 2016-06-12 21:47:01 +02:00
Olivier 10ebe9cadd Merge pull request #454 from fallberg/signing
Signing performance fixes
2016-06-12 16:03:33 +02:00
Patrick Fallberg cd5c243f7b Handle inbound and outbound nonces simultaneously
Two separate buffers are used for nonce storage. One for the
nonce used for signing a message and one for the nonce used
for verifying a message.
2016-06-12 15:37:45 +02:00
Patrick Fallberg a0615b53a2 Make test sketches only set IO if not set in board
If a specific board is picked, some IO will be preconfigured
and should not be overridden by a sketch.
2016-06-12 15:37:45 +02:00
Patrick Fallberg 0a8aaedf8b Optimize ATSHA204 respose times
Instead of shutting down the ATSHA between calls in a session,
it is put in idle state. This removes the need for a full resync
when the device is woken and that saves time which translate to
a quicker turnaround time for signed messages with HW signing.
To save power, it is still shut down when not in use.
2016-06-12 15:37:45 +02:00
Patrick Fallberg a5b0e8d8bb Purge ATSHA204 backend of c++ code
There is no need for class structures in the atsha low-end driver.
Removing this saves both code space and compilation time.
2016-06-12 15:37:45 +02:00
Patrick Fallberg b01282c7c7 Improve nonce generation in signing backends
For atsha204, update seed every time and only extract
the full 32-byte random value once.
For both atsha204 and soft backends, XOR all random bytes
with hwMillis() in order to "whiten" the random value a bit.
2016-06-12 15:37:45 +02:00
Patrick Fallberg 6498354546 Merge pull request #470 from tekka007/FixIndication
Fix MyIndication definitions
2016-06-12 15:32:04 +02:00
Olivier 2d3b945197 Fix MyIndication definitions 2016-06-12 14:57:57 +02:00
Patrick Fallberg 4509df40dd Merge pull request #464 from Yveaux/development
Added power metering variables
2016-06-08 21:12:04 +02:00
Embedded Innovation 27ece9c3c5 Added power metering variables 2016-06-08 20:25:26 +02:00
Embedded Innovation e0e78a6bae Add library status indication & improve error LED feedback (#462)
* Added MyIndication to provide status feedback from the library

* Fix: Allow led blinking for hardware errors

* Refactor LED blinking implementation to show blink patterns

* Refactor LED blinking to show blink pattern
2016-06-06 18:43:42 +02:00
Henrik Ekblad bc7e24695d Merge pull request #457 from tekka007/DebugMessages
Add support for I_DEBUG messages
2016-06-02 12:29:11 +02:00
tekka007 cb4254d122 Add support for I_DEBUG messages 2016-06-01 23:40:52 +02:00
Henrik Ekblad a74a2d5deb Merge pull request #456 from tekka007/MyOTAFirmwareUpdate
Refactor OTA update code
2016-06-01 21:44:20 +02:00
Henrik Ekblad 906d3cb71b Merge pull request #455 from tekka007/MessageTypes
New msg types in preparation of transport rework
2016-06-01 21:41:03 +02:00
tekka007 3b94f83950 Refactor OTA update code 2016-05-31 22:59:43 +02:00
tekka007 bc50e330e5 Extend message types for transport cleanup 2016-05-31 21:42:36 +02:00
Henrik Ekblad debfce29b9 Merge pull request #453 from tekka007/HWabstractions
Add hwFreeMem() function
2016-05-30 23:56:48 +02:00
tekka007 c0e11732d4 Add hwFreeMem() function 2016-05-30 22:29:23 +02:00
Olivier 9d6a25dc5a Merge pull request #452 from tekka007/FixTypoPR451
Fix typo introduced in #451
2016-05-30 00:20:34 +02:00
tekka007 e7cf8485c6 Fix typo introduced in #451 2016-05-30 00:13:04 +02:00
Olivier fb34ba6064 Merge pull request #451 from FreeBSDGeek/development
Allow setting the WiFi hostname
2016-05-29 18:59:55 +02:00
Kirk Davis 76852c044c Additional example for MY_ESP8266_HOSTNAME
Additional example for pull request #451
This adds in comments and the MY_ESP8266_HOSTNAME definition.
2016-05-29 10:23:04 -06:00
Kirk Davis 2d9748d1a3 Include MY_ESP8266_HOSTNAME
include the MY_ESP8266HOSTNAME in Keyword.txt for pull request #451
2016-05-29 09:25:16 -06:00
Kirk Davis ba5ada0c64 Merge remote-tracking branch 'mysensors/development' into development 2016-05-29 09:11:35 -06:00
Olivier edd8d79648 Merge pull request #450 from tekka007/intsleepfix
Add volatile qualifier to pinIntTrigger declaration
2016-05-29 16:03:17 +02:00
Kirk Davis f287e4ee95 Allow setting the hostname
Allows setting the hostname if MY_ESP6266_HOSTNAME is defined.
2016-05-28 20:36:18 -06:00
tekka007 06a7a457ef Update pinIntTrigger declaration 2016-05-26 19:01:04 +02:00
Henrik Ekblad 4f2f507675 Merge pull request #445 from D-H-R/development
Added support for SST25 Series SPI Flash (e.g. from Microchip) for OTA
2016-05-24 21:35:58 +02:00
Dirk H. R. 56af999043 changed define "SPIFLASH_SST25TYPE" to "MY_SPIFLASH_SST25TYPE". Added doxygen comments, in order to build a good/better SPIFlash.h doxygen site. Added "MY_SPIFLASH_SST25TYPE" to keywords.txt. 2016-05-24 09:02:04 +02:00
Henrik Ekblad 328a45972a Merge pull request #442 from BSRasmussen/development
Turn off ESP8266 acess point before starting WiFi
2016-05-23 23:19:47 +02:00
Olivier 347bbab326 Merge pull request #444 from fallberg/memcmp
Add and use timing neutral memcmp for signing
2016-05-22 21:36:05 +02:00
Dirk H. R. 4e3cbdb9d0 removed # in comments (doxygen seems to not like it..) 2016-05-22 20:46:34 +02:00
Dirk H. R. d97435a1c8 Updated SPI-Flash to support SST25 Series of SPI Flash, which does not support page programming with opcode 0x02, but Automatic Address Increment Word programming with opcode 0xAD. Use #define SPIFLASH_SST25TYPE for SST25 Type Flash Memory and AAI Word Programming. 2016-05-22 20:17:27 +02:00
Olivier 1a11c54ec5 Merge pull request #437 from tekka007/RFM69update
update RFM69 driver
2016-05-22 20:11:40 +02:00
Patrick Fallberg 585150c46d Add and use timing neutral memcmp for signing
Fixes #443
2016-05-22 18:34:00 +02:00
Brian R 3afc3e5307 Merge remote-tracking branch 'refs/remotes/mysensors/development' into development 2016-05-22 11:23:52 +02:00
BSRasmussen 1224b42f5a Turn of ESP8266 acess point before starting WiFi
Start only in station mode and not the default combined access point and station mode, like when starting with MQTT in MyGatewayTransportMQTTClient.cpp
2016-05-22 10:50:36 +02:00
Henrik Ekblad 021412fb72 Merge pull request #441 from mfalkvidd/mfalkvidd/development
Utilize digitalPinToInterrupt in examples
2016-05-19 19:22:05 +02:00
Mikael Falkvidd git@mjo.se 3433d2da78 Utilize digitalPinToInterrupt in examples
The examples used hard-coded values or defines to convert digital
pin number to interrupt in calls to attachInterrupt and sleep.

This has confused several people, most recently in
https://forum.mysensors.org/topic/3880/gw-sleep-on-battery-powered-magnet-door-switch/

Let digitalPinToInterrupt handle this work instead.
2016-05-17 20:16:13 +02:00