Commit Graph
77 Commits
Author SHA1 Message Date
Olivier d05d0dad2a Fix HAL inconsistency 2016-10-09 15:49:26 +02:00
Olivier 54489577a9 Fix RFM69 ACK (#597) 2016-10-09 13:22:20 +02:00
Olivier fe3199ef6b Fix routing table dump (#604) 2016-10-09 12:18:15 +02:00
Embedded Innovation 32596676e5 Fix detach pin interrupt in hwSleep (#599)
Fix issue #598
Pin interrupts used as wakeup source for hwSleep now get detached
correctly, also when the interrupts did not occur.
2016-10-03 20:44:04 +02:00
Henrik Ekblad 6e414eeeeb Merge pull request #596 from tekka007/RFM69Fix
Fix payload length return
2016-10-01 19:45:34 +02:00
tekka007 fc09763c49 Fix payload length return 2016-10-01 19:37:50 +02:00
Henrik Ekblad c6e7e27fd6 Merge pull request #595 from tekka007/wdtResets
Reset wdt during init
2016-10-01 19:33:08 +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
tekka007 dc6f6e3691 Reset wdt during init 2016-10-01 19:05:09 +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
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
Marcelo Aquino 0c11354a2a Fix Client Mode for Ethernet gateway
If MY_GATEWAY_CLIENT_MODE or MY_CONTROLLER_URL_ADDRESS are present, set
MY_GATEWAY_CLIENT_MODE.
MY_USE_UDP requires that MY_GATEWAY_CLIENT_MODE is set.
Add some ifdefs to filter some variables not needed in client mode.
Using global variables to keep the connection to controller open
therefore, no need to reconnect every time we need to send/receive
something.
Add the remaining code to handle incoming messages from controllers.
2016-09-28 15:18:26 -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
Embedded Innovation 8ccb1ca86d Fix gateway RX indication
Added GW RX indication for MQTT and Serial gateway (PR #585).
Only send RX indication when valid message has been received.
2016-09-22 18:21:02 +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
Olivier ec6b6ea2bf Refactor and doxygenize EEPROM address definitions (#582) 2016-09-19 21:31:00 +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 09103e9c04 Add run time options to RPi gateway 2016-09-08 15:56:37 -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 48e90983ac Add random number initialization to MyHw layer 2016-08-21 23:42:44 -03:00
Marcelo Aquino 412e41967f Add support for serial gateway to Rpi 2016-08-21 21:01:26 -03: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 dad6732f38 Include .h instead of .cpp when possible
* Move implementation code from Arduino.h
2016-08-16 13:43:21 -03:00
Marcelo Aquino 768b70e882 Fix conflicts with arduino macros and stdlib 2016-08-16 13:43:19 -03:00
Marcelo Aquino 9132e7a42a Exit immediately when receiving a signal 2016-08-16 13:43:16 -03:00
Marcelo Aquino beb29aa0b1 Merge branch 'development' into dev-raspberrypi 2016-08-16 13:43:14 -03:00
Marcelo Aquino 899f992d11 Fix Doxygen preprocessor variable
* Fix build error when not using RF24 interrupt pin
2016-08-16 13:42:54 -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
Henrik Ekblad f9c36c9b74 Merge pull request #554 from tekka007/UpdateOTALogs
Update FW OTA logs and doxygenize lib
2016-08-13 14:22:43 +02:00
Henrik Ekblad 471785316e Merge pull request #553 from tekka007/FixHwDebugPrint
Remove duplicate va_end()
2016-08-13 14:21:21 +02:00
tekka007 9dcb06cdc5 Reorganize RX message buffering checks
- fix doxygen warning
2016-08-13 13:07:16 +02:00
tekka007 cc08240e5d Update FW OTA logs and doxygenize lib 2016-08-13 08:58:37 +02:00
tekka007 9441b30d30 Remove duplicate va_end() 2016-08-12 16:28:31 +02:00
tekka007 94348cec1a Limit payload size to MAX_PAYLOAD_SIZE 2016-08-10 12:08:44 +02:00
Henrik Ekblad dc99e8a8d4 Merge pull request #550 from tekka007/MySensorsBegin
Add debug output if before() and setup() called
2016-08-09 21:14:14 +02:00
tekka007 e9b1ab287c Add debug output for before() and setup() 2016-08-09 21:03:18 +02:00
tekka007 a1a5d0d707 Rename macro param (_msg) to avoid confusions 2016-08-09 12:07:23 +02:00
Henrik Ekblad 67e720394e Merge pull request #548 from tekka007/UseMsgTmp
Use _msgTmp to build messages
2016-08-09 09:12:17 +02:00
Henrik Ekblad c85de960d4 Merge pull request #547 from tekka007/MyMessageUpdate
Set protocol version in MyMessage::clear()
2016-08-09 09:11:52 +02:00