Commit Graph
913 Commits
Author SHA1 Message Date
Thomas Mørch 321e217e0b Boolean should be bool (#492)
Standard c++ is to use type bool, not boolean
2016-06-29 19:29:46 +02:00
Patrick Fallberg e086ba3203 Merge pull request #486 from tekka007/ESPCoreFix
Update MyMainESP8266 to compile with ESPlib 2.3.0
2016-06-28 19:00:10 +02:00
Olivier d15b4f6471 Fix deadlock in stIDUpdate() (#490) 2016-06-28 00:01:04 +02:00
Henrik Ekblad a62d9d7f5c Merge pull request #483 from tekka007/transportUpdate
TransportProcess cleanup
2016-06-26 20:21:04 +02:00
Olivier 24a03507f1 Fix compiling error with ESPlib 2.3.0 2016-06-26 15:12:46 +02:00
Olivier 26044e16f8 TransportProcess cleanup 2016-06-26 11:27:37 +02:00
Olivier 244f79771a Expose RF24 functions (#484) 2016-06-25 20:12:36 +02:00
Patrick Fallberg 0379330569 Update documentation with signing troubleshooting 2016-06-21 20:45:26 +02:00
Patrick Fallberg 012de4496f Added some RF-related debug prints in signing code
If a failed transmsission is detected, a debug print will give
a hint to why the signing session fails.
2016-06-21 20:34:57 +02:00
Thomas Mørch be92707cc6 Renamed MySensor.h -> MySensors.h (#481)
* Renamed MySensor.h -> MySensors.h

Replaced all references to MySensor.h in examples with MySensors.h

* MySensorCore.* renamed to MySensorsCore.*

This should make it comply more with naming standards

* Updated reference to MySensors core lib
2016-06-21 07:51:51 +02:00
Patrick Fallberg ea0e30683a Merge pull request #477 from tekka007/StaticENUMS
Define static enums in MyMessage
2016-06-20 20:35:00 +02:00
Olivier c6125a4b51 Define static enums in MyMessage 2016-06-20 19:13:46 +02:00
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
Olivier f1319fc392 Add return value to wait() 2016-06-15 21:19:02 +02:00
Olivier c58032c7aa Speedup signing presentation phase 2016-06-13 22:36:20 +02:00
gizmocuz 1c7385f1f1 Fixed Voltage Sending in Sensebender 2016-06-13 07:40:38 +02:00
Olivier c1c37b0dec Fix sending buffer in MySigning.cpp 2016-06-12 21:47:01 +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
Olivier 2d3b945197 Fix MyIndication definitions 2016-06-12 14:57:57 +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
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
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
tekka007 c0e11732d4 Add hwFreeMem() function 2016-05-30 22:29:23 +02:00
tekka007 e7cf8485c6 Fix typo introduced in #451 2016-05-30 00:13:04 +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
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
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
tekka007 36a4154912 update RFM69 driver 2016-05-08 22:48:47 +02:00
Olivier 4e9e3f5196 Merge pull request #400 from mysensors/fix-send-multiple-commands-serial
Allow sending multiple commands in one serial transmission
2016-05-07 16:16:47 +02:00