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
tekka007
0c4c578921
- re-assign ID via I_ID_RESPONSE
...
- implement getParentNodeID()
2016-05-07 10:12:14 +02:00
Olivier
460ae09811
Merge pull request #429 from tekka007/RF24_updates
...
RF24 driver update
2016-05-06 21:57:59 +02:00
Olivier
0c8acb0bcf
Merge pull request #427 from tekka007/fixhwabstraction
...
fix hw abstraction defs
2016-05-06 21:01:09 +02:00
tekka007
85153680dd
- static definitions
2016-05-06 16:10:18 +02:00
Henrik Ekblad
a2841980a7
Fix typo in nested prepropressor statments
2016-05-05 22:23:42 +02:00
Olivier
e3e9ce5876
- harmonize definitions
...
- RF24 namespace for functions
2016-05-05 22:08:17 +02:00
Olivier
f4456b01e0
Merge pull request #432 from Yveaux/development
...
Fix CRC setting for nRF24
2016-05-05 21:51:52 +02:00
Embedded Innovation
00657dd64e
Fix CRC setting for nRF24
2016-05-05 20:39:46 +02:00
Embedded Innovation
a1d837d4f7
Revert "Added interrupt handling and reception queueing for nRF24"
...
This reverts commit bfa493ce3e .
2016-05-05 20:37:39 +02:00
Embedded Innovation
1caae29b3c
Revert "Added circular buffer"
...
This reverts commit a200c36417 .
2016-05-05 20:37:12 +02:00
Henrik Ekblad
8d2c172702
Merge pull request #428 from fallberg/signing
...
Add destination parameter to signingPresentation
2016-05-05 17:49:13 +02:00
Henrik Ekblad
21f0e02bf6
Merge pull request #426 from mysensors/present-node-after-id-received
...
Present attached sensors after node-id received
2016-05-05 17:47:42 +02:00
Henrik Ekblad
55b33f2c4f
Merge pull request #430 from maxtox/patch-1
...
Do not close TCP connection after each send.
2016-05-05 17:47:04 +02:00
maxtox
c58523ca5c
When receiving a number of messages, string might include Data from the last /old String
2016-05-05 17:14:49 +02:00
maxtox
ba5a4cba71
Do not close TCP connection after each send.
...
Fixing https://github.com/mysensors/Arduino/issues/405
2016-05-05 09:27:47 +02:00
Patrick Fallberg
99084ec98d
Add destination parameter to signingPresentation
...
In order to allow a node to send signed messages to another node
the signingPresentation function can be called to make a
node2node presentation of signing preferences.
It is up to the sketch developer to make sure updated signing
preferences are communicated accordingly.
2016-05-03 11:03:59 +02:00
tekka007
27025cdc1d
fix hw abstraction defs
2016-05-02 22:16:55 +02:00
Henrik Ekblad
bbc6a221f4
Present node device for gateways as well. See PR #420 .
2016-05-01 21:50:50 +02:00
Henrik Ekblad
154beedcb8
Present attached sensors after node-id received
2016-05-01 21:42:14 +02:00
Embedded Innovation
a200c36417
Added circular buffer
2016-04-28 21:13:03 +02:00