Commit Graph
1741 Commits
Author SHA1 Message Date
Olivier 481bd367f3 Add function to retrieve unique ID (if present) (#780) 2017-03-14 18:54:32 +01:00
Soef e7ae5d144e UDP/TCP client mode repaired (#766) 2017-03-07 18:55:40 +01:00
Olivier 7824e12823 I2C eeprom write fix for SAMD (#786)
* I2C eeprom write fix for samd

* Implement extEEPROM library for SAMD
2017-03-06 16:45:58 +01:00
Frédéric FRANCE 7358521566 Fix typo in README (#778) 2017-03-01 20:04:17 +01:00
Olivier 9ecb78598b Calling WiFi.config() before WiFi.begin() (#772) 2017-02-13 07:17:43 +01:00
Thomas Mørch a34f2e518e Added pin setup for RFM69 reset / dio5 (#768) 2017-02-07 15:59:55 +01:00
Olivier fd417b66b2 Update doxygen (#767) 2017-02-03 21:32:53 +01:00
Patrick Fallberg 91cb61b19e Fix doxygen problem in SPI.h 2017-02-02 10:00:29 +01:00
Olivier 4380d6618f Workaround for AVR-specific compiler issue (#759) 2017-02-01 20:45:42 +01:00
Olivier b69bba485f Revert "Reduce memory footprint" (#763) 2017-01-31 22:31:00 +01:00
FotoFieber 09de6d8075 Reduce memory footprint (#762)
Allows to run this sketch on an AVR 328 with
all sensors enabled.

Changes:
- use F() macro
- use msg_generic instead of individual variables
2017-01-30 16:48:47 +01:00
Olivier eeb880957c Bump version to 2.2.0-beta (#754) 2017-01-19 19:13:09 +01:00
Olivier c90ff65b53 MySensors 2.1.1 release (#746) 2017-01-17 23:58:02 +01:00
Olivier 7abbfd7b47 Merge Master into Dev (#745)
* Fix spi flash error when compiling in Arduino IDE 1.6.6

* Bump minor version

* Fixed "invalid suffix on literal" warning

* Fix addressing bug in _doSign bitfield

* Make sure nodes not supporting signing informs GW

A node that does not support signing, still needs to inform the
gateway about this to make sure the gateway carries a valid signing
requirement table when a node Id that was requiering signing stops
doing this.
This fixes #286.

* Prevent SecureActuator from accepting ACKs as commands

As ACKs are not currently signed, allowing ACKs as commands
is a considerable security hole for this sketch. This is now resolved.

* Backport of bugfix (#259) in repeaters when forwarding signed messages

* Bumped version to 1.5.2

* Corrected doSign variable name (was _doSign)

* Bumped version to 1.5.3

* Add NULL termination to payloads

Messages addressed to "this" node, will have a null char
appended to the payload after message verification is
done, because some "getters" assume the message being a
string.
2017-01-17 23:23:02 +01:00
Olivier c2dfedc1a9 Revert "Bump version to 2.2.0-beta" (#744) 2017-01-17 22:44:11 +01:00
Olivier 6bad2c721b Consolidate open PRs for bugfix release (#741) 2017-01-16 20:36:15 +01:00
Olivier e66989138b Fix signing presentation bug (#740) 2017-01-16 19:49:12 +01:00
Olivier 815084b4fa AVR: Restrict fast pin function use (#739) 2017-01-15 20:10:15 +01:00
Olivier 952edf7ed7 Rename MyHwATmega328 to MyHwAVR (#738) 2017-01-15 18:10:15 +01:00
Olivier 9041c8ba3d Fix getControllerConfig() (#737) 2017-01-15 16:27:49 +01:00
Marcelo Aquino 2e0f6b6229 Linux: Add support for SPIDEV (#734)
RPi and Linux refactor.

Add GPIO Sysfs for GPIO operations.

Update configure script.

Fix some cppcheck warnings.

Add serial emulation that prints to stdout.

Fix some file headers.
2017-01-14 23:50:21 +01:00
Olivier aa5cecfca1 OTA: Add incoming FW block check (#718) 2017-01-03 20:19:00 +01:00
Olivier 570b6079b6 Bump version to 2.2.0-beta (#713) 2016-12-31 10:48:38 +01:00
Olivier add3f5febe Add OTA update debug info (#711) 2016-12-30 12:37:42 +01:00
Olivier 8fabae979a Harmonize transport code (#710) 2016-12-29 14:50:12 +01:00
Olivier 01711becd1 Update RFM95 driver (#709) 2016-12-29 14:24:48 +01:00
Olivier dd9dff77ed Minor optimizations & code harmonization (#708) 2016-12-28 22:47:41 +01:00
Olivier 7445b065ec Reduce memory footprint (#703) 2016-12-26 23:40:32 +01:00
Olivier 7013f912d2 Fix Arduino IDE warning (#702) 2016-12-26 11:49:07 +01:00
Patrick Fallberg 1040fbebc5 Refactor signing backend (#690)
Cleaned up the AES driver and removed some cppcheck isues
in the process.
2016-12-25 16:12:40 +01:00
Olivier 61e6cecb3f Fix regression, adjust parameters, typos (#699) 2016-12-20 23:15:11 +01:00
Olivier d204929937 Use RNG for randomSeed(), ADC_MODE() switch (#696) 2016-12-19 23:27:10 +01:00
Olivier 38013ce5ac Fix bug preventing msgs from GW-attached sensors (#698) 2016-12-19 22:31:33 +01:00
Bruce Lacey 6a68510d57 Tool bundle updates (#693)
* Pre-commit --cached vs. less-efficient iteration

 * During pre-commit, leverage the git cppcheck --cached
   form instead of iterating over the cached files and
   invoking git cppcheck on each to eliminate
   redundant static analysis

* Add support for Debian Linux on ARM

* Check prerequisite tool minimum versions

 * Bootstrapping will now confirm that each
   prerequisite tool satisfies the minimum version
   required
2016-12-18 11:57:59 +01:00
Bruce Lacey 3be2516ef8 Update RFM69 to MYS coding standards (#694) 2016-12-17 12:50:52 -08:00
Bruce Lacey 4753c1ec3d Override cppcheck library & platform options (#691)
* Using LIBRARY=[avr|gnu] git cppcheck ... will set the command
   line library= to the value
 * Using PLATFORM=[avr.xml|unix32.xml] git cppcheck ... will set
   the command line platform= to the value
 * Corrected logical if error when bootstapping a pristine repo

References #672
2016-12-13 00:26:11 +01:00
Marcelo Aquino 707442b257 RPi: Use logError when possible (#689) 2016-12-12 22:23:19 +01:00
Bruce Lacey 7e1aa82d6e Rename .tools to .mystools for Arduino IDE 2 (#688)
* The Arduino IDE considers the .tools directory
 special and warns if it finds .tools the repo
 * Added detection of .tools directory rename
 * Corrected README errata

References #672
2016-12-11 13:49:32 -08:00
Bruce Lacey 1e37f35dc6 Revert "Rename .tools to .mystools for Arduino IDE" (#687) 2016-12-11 13:28:37 -08:00
Bruce Lacey 68ce74d11a Rename .tools to .mystools for Arduino IDE (#686)
* The Arduino IDE considers the .tools directory
special and warns if it finds .tools the repo

References #672
2016-12-11 22:08:14 +01:00
Bruce Lacey 28e0086291 Refactored tools structure & conventions for reuse (#685)
1.  All common tools are hosted and managed in
    the tools directory (used for both local development
    and continuous integration)
2.  Each tool comprises a directory, akin to a bundle,
    that encapsulates declarative command-line options,
    configuration files and a run script
3.  A single bootstrap script configures a
    development environment
4.  A lightweight runtime provides a common set of
    convenience functions and variables to all scripts

References #672
2016-12-11 09:40:32 +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
Marcelo Aquino 62b74bb88a RPi: Improve board revision detection (#681)
Revision detection is done at runtime, the configure script has been
simplified to reflect this.
2016-12-07 21:17:59 +01:00
Olivier fdbb285dee Fix payload length verification (#680) 2016-12-06 15:45:27 +01:00
Olivier f59be0aa2a ESP8266: remove redundant EEPROM check (#668) 2016-12-03 16:53:36 +01:00
Bram Oosterhuis 0fe9df1a77 Buildroot integration possible using autotools
* Add option to not install a init script

* Added autotools default install prefix

* Add autotools ${DESTDIR} to the install paths

* Add option to specify platform type
2016-12-03 13:25:25 -02:00
Henrik Ekblad 3570a507a6 Fix regression MY_NODE_ID (#669) 2016-12-03 15:57:23 +01:00
Patrick Fallberg 65bece33fd Add a SublimeText 3 MySensors project (#676)
Various plugins exist to enhance the experience. The project
file contain references for all plugins it holds configurations
for.
2016-12-02 12:26:50 -08:00