Commit Graph
39 Commits
Author SHA1 Message Date
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
Patrick Fallberg ea65c5b150 Move Doxyfile to repository root (#674)
This makes most tools/plugins for Doxygen work without
much adjustment.
Also resolved some Doxygen warnings.
2016-11-29 11:18:49 +01:00
tekka007 aff8deb8bf Merge development 2016-11-24 21:01:08 +01:00
Patrick Fallberg 45b671457d Coding style related changes (#653)
* Add .astylerc with the core coding standard

* Added pre-commit git hook

The hook currently only checks code format using
astyle and will not permit commits which cause
astyle to change the contents of any source file
in the commit.
This is useful to have automatic coding standard
verification done without having to wait for
Jenkins to react to a pull request.

Installation:
Linux:
ln -s ../../tools/hooks/pre-commit.sh .git/hooks/pre-commit
Windows:
copy tools\hooks\pre-commit.sh .git\hooks\pre-commit

* Added editorconfig and updated gitattributes

Unix style line endings are now default.

* Resolved doxygen warning
2016-11-24 16:43:04 +01:00
Olivier 37b7885c7e Merge development & additional optimizations 2016-11-20 21:09:00 +01:00
Henrik Ekblad 9037924f06 Merge pull request #621 from tekka007/TransportRFM95
Implement RFM95 transport layer
2016-11-16 20:40:34 +01:00
tekka007 ba80a7e7b1 Core optimizations 2016-11-14 22:53:30 +01:00
Olivier 144c7b9d2f Implement RFM95 transport layer 2016-11-14 21:33:11 +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
Olivier c6ff9122b4 Harmonize definition ins core (#628) 2016-11-05 09:50:18 +01:00
Marcelo Aquino 76dea1532c RPi: Add support for RS485 transport
Remove serial print from MyTransportRS485.cpp to increase speed.
2016-10-21 09:01:37 -02:00
Patrick Fallberg afd7b7abbb Add MY_SIGNING_GW_REQUEST_SIGNATURES_FROM_ALL flag
This flag, when set in a gateway sketch will make the gateway
require all nodes to sign messages sent to it.
2016-10-18 22:02:19 +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
Henrik Ekblad 75a100f4e9 Merge pull request #570 from marceloaqno/development-serialmode
Add ESP8266 Serial modes
2016-09-20 09:12:01 +02:00
Henrik Ekblad e89e411571 Merge pull request #558 from tekka007/SleepRework
Redesign sleep() functions
2016-09-19 21:35:54 +02:00
tekka007 a6cdec2008 Redesign sleep() functions
- unified sleeping function _sleep(), including smartSleep
- prevent sleeping if transport is not ready
- add debug log messages
2016-09-19 19:17:08 +02:00
Marcelo Aquino fab2112f9b Use mysensors built-in nrf24 library for RPi 2016-09-14 23:26:12 -03:00
Marcelo Aquino b4f4e28545 Add support for PTY to RPi serial gateway 2016-09-03 12:39:37 -03:00
Marcelo Aquino ebdaedb514 Add ESP8266 Serial modes
SERIAL_TX_ONLY allows to use RX (GPIO3) as a general purpose
input/output
SERIAL_RX_ONLY allows to use TX (GPIO1) as a general purpose
input/output
2016-08-28 09:37:31 -03:00
Marcelo Aquino f0c5a993d5 Fix Rpi config file corruption
* Add uninstall to Makefile
2016-08-22 21:26:44 -03:00
Marcelo Aquino 412e41967f Add support for serial gateway to Rpi 2016-08-21 21:01:26 -03:00
Henrik Ekblad ee91d5da38 Merge pull request #566 from tbowmo/led
Fixes LED issues discussed in #562
2016-08-20 12:52:42 +02:00
Marcelo Aquino 2049bc4449 Set default port to 1883 when using MQTT gateway (#565) 2016-08-20 12:45:56 +02:00
Thomas Mørch 15b46f8023 Fixes LED issues as discussed in #562
Removing MY_LED_BLINKING_FEATURE, as we now are
using MY_DEFAULT_LED_xx_PIN defines to enable
LED blinking feature.

updated Gateway sketches to not refer to
MY_LED_BLINKING_FEATURE any more

fixes #562
2016-08-20 09:35:49 +02:00
Marcelo Aquino cb8c98431e Fix compilation errors for MQTT gateway 2016-08-19 13:45:51 -03:00
Marcelo Aquino b8d4a6a943 Improve build process for Linux 2016-08-17 23:42:27 -03:00
Marcelo Aquino 2713a362fe Merge branch 'development' into dev-raspberrypi 2016-08-16 13:46:29 -03:00
Marcelo Aquino 6b756335d0 Refactor RaspberryPi port 2016-08-16 13:42:51 -03:00
Marcelo Aquino 2315e2d62c Merge branch 'development' into dev-raspberrypi 2016-08-16 13:42:41 -03:00
tekka007 9dcb06cdc5 Reorganize RX message buffering checks
- fix doxygen warning
2016-08-13 13:07:16 +02:00
Embedded Innovation 99973a346e Add nRF24 receive message buffering (#538)
* Add critical section support

Allows defining a code block which is executed as a critical section.
Supports AVR, ESP8266 & SAMD.

* Add receive message buffering

When MY_RF24_IRQ_PIN is defined (and connected), a buffer will be used
to retrieve & store messages received by nRF24 as fast as possible.
This reduces the chance of losing messages due to a busy
microcontroller.
nRF24 SPI rx message transfer is running from interrupt context when
MY_RF24_IRQ_PIN is defined. If this transfer takes too long, serial
characters received will get lost. Therefore serial rx is enabled during
SPI transfer of nRF messages.

Limitations: Only AVR/SAMD & nRF24L01+ combinations can buffer rx
messages.
nRF24L01+ IRQ pin should be connected to AVR.
Tested on W5100- & Serial-gateway.

SAMD has not been tested yet!

* Fix Doxygen warnings

* Fix more Doxygen warnings
2016-08-02 22:20:25 +02:00
Olivier 4695cc71dd Fix Doxygen warning (#539) 2016-08-02 21:50:00 +02:00
tekka007 26f20b0e3b Fix compatibility issue with nRF clones, update documentation 2016-08-01 14:10:47 +02:00
Thomas Mørch ba6bb915c2 Reorganizing library structure, prep for 2.0.0 2016-07-09 21:17:37 +02:00