Commit Graph

16 Commits

Author SHA1 Message Date
tekka
6ffe29cb5f Code maintenance (#1186) 2018-08-22 20:50:16 +02:00
Mikael Falkvidd
8fbdca4452 Doxygenize MyMessage / Message manipulation (#1035)
* Fix cppcheck issues

Fixes the following cppcheck issues:
examples/SecretKnockSensor/SecretKnockSensor.ino
305	variableScope	398	style
The scope of the variable 'timeDiff' can be reduced.

examples/SensebenderGatewaySerial/SensebenderGatewaySerial.ino
127	variableScope	398	style
The scope of the variable 'led_state' can be reduced.

* Doxygenize MyMessage / Message manipulation

This should replace the static documentation at
http://korturl.nu/stupid

I have enabled existing comments and added new comments where
necessary. Feedback on syntax and contents is welcome.
2018-01-30 20:47:11 +01: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
Olivier
61a415c422 Code cleanup (#787)
* Cleanup Core

* SAMD adjustments
2017-03-15 19:05:17 +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
Thomas Mørch
54776a4520 Added {} to control structures for clarity (#600) 2016-10-16 12:46:42 +02:00
Marcelo Aquino
2713a362fe Merge branch 'development' into dev-raspberrypi 2016-08-16 13:46:29 -03:00
Marcelo Aquino
768b70e882 Fix conflicts with arduino macros and stdlib 2016-08-16 13:43:19 -03:00
Marcelo Aquino
beb29aa0b1 Merge branch 'development' into dev-raspberrypi 2016-08-16 13:43:14 -03:00
Marcelo Aquino
6b756335d0 Refactor RaspberryPi port 2016-08-16 13:42:51 -03:00
tekka007
94348cec1a Limit payload size to MAX_PAYLOAD_SIZE 2016-08-10 12:08:44 +02:00
tekka007
de896e1827 Set protocol version in MyMessage::clear() 2016-08-08 17:54:05 +02:00
Embedded Innovation
5d7f2fe38b Fix delegating constructor 2016-08-05 12:41:53 +02:00
Embedded Innovation
7d84878cb0 Correctly initialize MyMessage 2016-08-05 12:18:24 +02:00
Thomas Mørch
ba6bb915c2 Reorganizing library structure, prep for 2.0.0 2016-07-09 21:17:37 +02:00