Commit Graph

67 Commits

Author SHA1 Message Date
tekka
3664229437 Debug: Recursive wait() calls (#1249) 2019-01-04 15:50:17 +01:00
tekka
06bdb991b6 Display release number (#1217) 2018-11-03 10:04:32 +01:00
tekka
8e8f44b402 Code updates & harmonization (#1201) 2018-10-21 16:55:24 +02:00
tekka
b346214b19 Allow flash strings in present() to save RAM (#1198) 2018-09-04 08:00:38 +01:00
tekka
6d24ab1bb5 Improve transport function & debug messages (#1191) 2018-08-29 14:52:01 +02:00
tekka
6ffe29cb5f Code maintenance (#1186) 2018-08-22 20:50:16 +02:00
tekka
153850de80 Add transport sanity check before entering loop() (#1116) 2018-05-01 22:33:26 +02:00
tekka
eaf1b9452b ESP32: Support HW (#865)
This fixes https://github.com/mysensors/MySensors/issues/968
2018-04-07 14:46:01 +02:00
tekka
b51981ab3d Fix MY_CORE_ONLY: Initialize HW (#1070) 2018-02-20 12:32:03 +01:00
tekka
dea0fd50ca Fix smartSleep() (#1060) 2018-02-10 18:49:31 +01:00
tekka
af3452f91c Correct misspells (#1028) 2018-01-11 22:26:08 +01:00
tekka
a80879e056 Fix FOTA updates with smart sleep (#999) 2017-12-06 23:02:57 +01:00
tekka
9663d4c6b7 Harmonize type definitions (#970) 2017-11-04 14:38:33 +01:00
tekka
a00857a8c2 Update Debug message tables (#962) 2017-10-29 10:19:09 +01:00
Olivier
f5dce5b61b Disable splash screen on GW (#931) 2017-09-19 14:33:55 +02:00
Olivier
0ed558f1d0 Make debug prints portable (#929) 2017-09-17 20:54:20 +02:00
Olivier
b10cf85eb0 Revert VER removal from CP string (#905) 2017-08-01 08:13:06 +02:00
Olivier
10ef62307b MySensors splash screen (#889) 2017-07-24 21:42:44 +02:00
Patrick Fallberg
3e75b52c33 Fixed indentations using astyle (#890) 2017-07-07 14:36:14 +02:00
Rainer Clasen
ff0953dd05 Add progmem support for String messages (#875)
added variant of MyMessage::set and sendSketchInfo that accept a
string that's stored in PROGMEM.

This avoids the need to (temporarily) store strings in memory to get
them into a message.
2017-06-21 23:41:48 +02:00
Marcelo Aquino
28c4f3f19e Signing improvements package (#871)
* Signing support with MAX_PAYLOAD>32

Support in the signing backends to handle configurations
where MAX_PAYLOAD is more than 32 bytes.

Fixes #748

* Support big message signatures

Support for signing messages larger than 32 bytes.
This is not fully testable with the current version of
the library but the change would add theoretical support
for signing any sized messages.

Fixes #749

* Have gw properly indicate whitelisting preferences

If the gateway hold a signing whitelist, inform all
nodes of this requirement and not just nodes that hold
whitelists themselves.

Fixes #806

* Harden security

The flag MY_SIGNING_GW_REQUEST_SIGNATURES_FROM_ALL
has been removed. Gateway will now request signatures
from everyone by default.
In addition to this, no nodes in the network will allow
clearing of signing/whitelisting preferences by OTA
commands by default.
If the old behaviour is needed (suitable for gradual
signing roll out and development purposes) a new flag,
MY_SIGNING_WEAK_SECURITY can be set.

Fixes #807

* Signing debug messages rewritten

All signing related debug has been rewritten to
better match other core debug printouts.
Also, backends are updated to have a smaller
implementation delta.

* Simplified signing option implemented

Enable by MY_SIGNING_SIMPLE_PASSWD. Signing, and signing requirements
will be enabled, as will encryption. Whitelisting is optional.
The value provided to MY_SIGNING_SIMPLE_PASSWD is used as HMAC and AES
key. Whitelists use the first 8 bytes of the password and the ninth
byte from the node ID as serial.
Password is required to be at least 8 characters wide. It is zero
padded if it is not long enough to cover the AES (16 bytes) and HMAC
(32 bytes) keys. It is not recommended to have a password shorter than
32 bytes, and there is no need for a password longer than 32 bytes.

* Add documentation section for signing debug

* Add nRF5 encryption to simple signing option

* Restructure MySigning documentation

* Minor fixes for Linux
2017-05-31 17:13:29 +02:00
Patrick Fallberg
7e6db413c7 Security personalizer rewritten (#794)
* Removed ability to lock data section
* Introduced "guided mode" to simplify process
* Refactored the sketch to be less monolithic
* Print details and instructions in tables
* Use device unique ID as serial when
* Calculate and store personalization checksum
* Print serial in a copy+paste friendly manner (fixes #804)
* Clarify meaning of UART confirmation (fixes #805)
2017-04-02 15:37:21 +02:00
Olivier
b132a8a81e Transport update (#722)
* Major transport rework

* Adjust signal report calculations

* Minor driver optimizations

* Implement sanity check in legacy RFM69 driver

* Additional RFM69 rework

* RFM95 encryption

* Polishing
2017-03-28 20:31:08 +02:00
Olivier
61a415c422 Code cleanup (#787)
* Cleanup Core

* SAMD adjustments
2017-03-15 19:05:17 +01:00
Olivier
9041c8ba3d Fix getControllerConfig() (#737) 2017-01-15 16:27:49 +01:00
Olivier
dd9dff77ed Minor optimizations & code harmonization (#708) 2016-12-28 22:47:41 +01:00
Olivier
61e6cecb3f Fix regression, adjust parameters, typos (#699) 2016-12-20 23:15:11 +01:00
Olivier
38013ce5ac Fix bug preventing msgs from GW-attached sensors (#698) 2016-12-19 22:31:33 +01:00
Olivier
37881d56ba Fix Cppcheck warnings (#684) 2016-12-10 12:46:52 -08:00
Patrick Fallberg
8e1ef13804 Repo restyled using astyle (#683)
The rules are in .tools/astyle/config/style.cfg
and can also be reviewed at
https://www.mysensors.org/view/260#coding-guidelines-core-library
2016-12-07 23:44:29 +01:00
Olivier
d4c4ab82ea Fix debug message, add test sketch (#682) 2016-12-07 21:48:37 +01:00
Olivier
37b7885c7e Merge development & additional optimizations 2016-11-20 21:09:00 +01:00
Olivier
399734502d Harmonize OTA code, reboot when flash is idle 2016-11-16 18:48:19 +01:00
Olivier
d5039de270 Merge development & Fix variable 2016-11-15 22:38:38 +01:00
tekka007
ba80a7e7b1 Core optimizations 2016-11-14 22:53:30 +01:00
tekka007
9ec97a6eaf Fix IO/HAL calls 2016-11-14 15:26:58 +01:00
Olivier
58e9d5864f Merge development 2016-11-14 12:34:31 +01:00
Olivier
92cbd2ac8f Allow node to enter loop() if transport is NOK 2016-11-14 12:24:27 +01:00
Embedded Innovation
7f0e23b728 Finish LED pattern before low-power sleep
Wait until no LEDs are blinking anymore before going to sleep.
Decrement LED blink counter before acting on the value, otherwise LED
state will always lag behind.
2016-11-08 20:06:53 +01:00
Embedded Innovation
9254b45150 Fix consistent yield usage & LED updates 2016-11-07 21:28:25 +01:00
Marcelo Aquino
ec1c209645 RPi: Add support for signing messages 2016-10-18 22:11:47 -02:00
Thomas Mørch
54776a4520 Added {} to control structures for clarity (#600) 2016-10-16 12:46:42 +02:00
Olivier
351845205c Code harmonization 2016-10-09 15:53:51 +02:00
Henrik Ekblad
c6e7e27fd6 Merge pull request #595 from tekka007/wdtResets
Reset wdt during init
2016-10-01 19:33:08 +02:00
tekka007
dc6f6e3691 Reset wdt during init 2016-10-01 19:05:09 +02:00
tekka007
3c8ea78f45 Build(): Remove obsolete parameter 2016-10-01 15:50:59 +02:00
tekka007
a31eff112e Merge development branch 2016-10-01 14:04:33 +02:00
Marcelo Aquino
9f798994fe Merge branch 'development' into dev-raspberrypi 2016-09-29 22:40:33 -03:00
tekka007
f148a9940b Various MyTransport optimisations p2 2016-09-26 00:00:25 +02:00
tekka007
efc71165c7 Various MyTransport optimisations 2016-09-25 12:46:58 +02:00