Commit Graph

62 Commits

Author SHA1 Message Date
Olivier
8eea242512 Prepare 2.4.0 release (#1587) 2026-01-01 11:36:35 +01:00
Olivier
0b94c2dc1a Update comments (#1574) 2025-11-17 17:29:49 +02:00
Olivier
253109d3ff Upate CI and HW defs (#1530) 2022-07-24 10:55:35 +02:00
Virtual Maker
40a3b2f921 Change N2N if destination is not parent or broadcast (#1478) (#1479) 2022-07-08 10:25:08 +02:00
Constantin Petra
d62ca6d426 Add multi-message support (#1517) (#1515)
Excellent contribution by @cpetra ! Thanks to @virtual-maker for extensive feedback on the PR.
2022-02-17 22:46:40 +01:00
Olivier
dd91aeb9c3 Library & CI maintenance (#1394) 2020-02-26 12:28:37 +01:00
Olivier
79d7977cff MyTransport update (#1329)
Fix: do not set nodeID to AUTO if invalid I_ID_RESPONSE received
    Save 2 bytes of RAM: remove transportSM variable (uplinkQualityRSSI) if unused
    Bump pre-release version to 7
2019-07-31 11:20:58 +02:00
Olivier
7055fdb0a4 Initial commit (#1325) 2019-07-28 17:00:43 +02:00
Olivier
67efa7a7a2 Move noACK control to transportSendWrite() (#1317) 2019-07-23 11:04:33 +02:00
Olivier
40f4deb18c Code maintenance (#1309)
* Fix issues after CPPcheck 1.88 update

* Code maintenance
2019-07-20 14:08:33 +02:00
Olivier
36ec4f8624 Fix issues after CPPcheck 1.88 update (#1308) 2019-07-14 21:17:24 +02:00
Mikael Falkvidd
f36c4ae130 Rename "soft ack" to echo (#1292)
* Rename "soft ack" to echo

The ack parameter is often confused with what might be called
"hardware ack"
(see https://forum.mysensors.org/post/34263 for one of many
lengthy discussions)

This change should make it harder to confuse echo with the
hardware ack, and reflects more accurately what will actually
happen.

This fixes https://github.com/mysensors/MySensors/issues/1103

I hope I have found all places where the naming needs to be
changed, and that I haven't inadvertently renamed any of the
*real* ack stuff.

Thanks to @tekka007 for reviewing the changes
and catching my mistakes.
2019-06-06 09:00:14 +02:00
Olivier
1fa4728f61 Transport and crypto HAL update (#1282) 2019-04-28 14:22:25 +02:00
Olivier
a1282f358a Code maintenance (#1279)
* Code maintenance

* Code maintenance
2019-04-20 16:22:12 +02:00
tekka
71b06987ab Code maintenance (#1261) 2019-01-27 20:58:06 +01:00
tekka
8e8f44b402 Code updates & harmonization (#1201) 2018-10-21 16:55:24 +02:00
tekka
5d159a6c57 Fix internal message forwarding (#1205) 2018-09-12 10:27:12 +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
831e0e8cd2 Direct node2node traffic (#1174) 2018-08-21 19:20:06 +02:00
Olivier
4a94fcfd4f GW: Send discovery message after startup 2018-08-15 14:32:08 +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
af3452f91c Correct misspells (#1028) 2018-01-11 22:26:08 +01:00
Patrick Fallberg
2d5404de97 CppCheck cleanup (#975)
* Add support for inline cppcheck suppressions
* Clean out all known cppcheck issues
* Terminate toll-gate on found cppcheck issues
2017-11-07 20:37:36 +01:00
d00616
3ca9b56380 Fix uninitialized state handling (#939) 2017-10-01 09:41:36 +02:00
d00616
8412a3d360 New OTA debugging and logging feature (#913) (#913) 2017-09-18 20:58:44 +02:00
Olivier
0ed558f1d0 Make debug prints portable (#929) 2017-09-17 20:54:20 +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
d00616
4c0661e410 Fix NRF5 radio encryption (#868) 2017-05-29 22:25:43 +02:00
Olivier
818f887926 Polishing code (#803) 2017-04-02 20:03:59 +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
61e6cecb3f Fix regression, adjust parameters, typos (#699) 2016-12-20 23:15:11 +01: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
fdbb285dee Fix payload length verification (#680) 2016-12-06 15:45:27 +01:00
Henrik Ekblad
3570a507a6 Fix regression MY_NODE_ID (#669) 2016-12-03 15:57:23 +01:00
Olivier
cca055fdae Refine routing table upgrade 2016-11-26 10:05:21 +01:00
tekka007
aff8deb8bf Merge development 2016-11-24 21:01:08 +01:00
Olivier
37b7885c7e Merge development & additional optimizations 2016-11-20 21:09:00 +01:00
tekka007
ba80a7e7b1 Core optimizations 2016-11-14 22:53:30 +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
9254b45150 Fix consistent yield usage & LED updates 2016-11-07 21:28:25 +01:00
Thomas Mørch
54776a4520 Added {} to control structures for clarity (#600) 2016-10-16 12:46:42 +02:00
Henrik Ekblad
7e32e0884b Merge pull request #605 from tekka007/CoreCosmetics
Code harmonization
2016-10-09 23:01:25 +02:00
Olivier
351845205c Code harmonization 2016-10-09 15:53:51 +02:00
Olivier
fe3199ef6b Fix routing table dump (#604) 2016-10-09 12:18:15 +02:00
Henrik Ekblad
9d128b9850 Merge pull request #593 from tekka007/updateBuildMsg
build(): Remove obsolete parameter (sender)
2016-10-01 19:32:39 +02:00
Marcelo Aquino
f6f4e6dde4 Fix compilation errors on RPi (#594) 2016-10-01 17:03:14 +02:00
tekka007
3c8ea78f45 Build(): Remove obsolete parameter 2016-10-01 15:50:59 +02:00