Marcelo Aquino
9f798994fe
Merge branch 'development' into dev-raspberrypi
2016-09-29 22:40:33 -03:00
Henrik Ekblad
84eac8a9fd
Merge pull request #587 from marceloaqno/dev-fix-client_mode
...
Fix Client Mode for Ethernet gateway
2016-09-29 22:36:02 +02:00
Henrik Ekblad
73a3d00005
Merge pull request #591 from Qu3uk/development
...
V_Light Deprecated
2016-09-29 22:34:50 +02:00
Tom
d8c45e9f07
V_Light Deprecated
...
Change V_Light for V_Status as V_Light is deprecated as per is
ttps://www.mysensors.org/download/serial_api_20
Change S_Light for S_Binary generic.
2016-09-29 20:02:32 +01: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
Marcelo Aquino
6d47c33ad8
Add support for RX/TX/ERR leds to RPi
2016-09-26 17:40:18 -03:00
Patrick Fallberg
8cacb4825b
Merge pull request #586 from Yveaux/pr585
...
Fix gateway RX indication
2016-09-22 19:02:11 +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
Thomas Mørch
f8c6156057
Updated sketch with analog check ( #580 )
2016-09-19 21:14:15 +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
4175a5f423
Cleanup configure script
2016-09-09 14:02:24 -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
Thomas Mørch
0477f2ed46
Merge pull request #571 from marceloaqno/dev-hwrandominit
...
Add random number initialization to MyHw layer
2016-08-23 20:10:40 +02: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
9304cebddf
Change warning to error, so people are notified ( #569 )
...
* Change warning to error, so people are notified
* Added doxygen for dep. MY_LEDS_BLINKING_FEATURE
2016-08-21 01:04:49 +02: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
Henrik Ekblad
c925dd6f5e
Merge pull request #560 from ivankravets/patch-4
...
Update supported development platforms
2016-08-17 13:29:03 +02:00
Marcelo Aquino
4d431fbebb
Increase default number of connected client on Rpi
2016-08-16 15:51:43 -03:00
Marcelo Aquino
14e5c9bf4c
Fix RX message buffering for Rpi
2016-08-16 15:37:51 -03:00
Marcelo Aquino
dab1906c56
Remove leftover files from Rpi port
2016-08-16 14:44:48 -03:00
Marcelo Aquino
2713a362fe
Merge branch 'development' into dev-raspberrypi
2016-08-16 13:46:29 -03:00
Marcelo Aquino
211afb17c4
Doxygenize Linux drivers
2016-08-16 13:43:24 -03:00
Marcelo Aquino
490037d285
Use non-blocking socket for EthernetServer
...
* Non-blocking socket
To simplify the class design and better mimics the Arduino version
* Doxygenize EthernetServer class
2016-08-16 13:43:22 -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
c4b2a809aa
Move init system detection to configure
2016-08-16 13:43:17 -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
Konst Kolesnichenko
43e5a7ddf9
Fixed build error
2016-08-16 13:42:53 -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
aaron832
79c263291b
Save eeprom config data to file
...
hwWriteConfig and hwReadConfig now use hwWriteConfigBlock and
hwReadConfigBlock calls for simplicity.
2016-08-16 13:37:36 -03:00
aaron832
ad978196f9
Use iostream for min, max functions
...
Use iostream for min, max functions as well as for reading / writing to
file.
2016-08-16 12:00:43 -03:00
aaron832
e9a50586ff
Move MQTT to message parsing
...
Move MQTT to message parsing into MyProtocolMySensor.cpp to be common
amongst all MQTT client implementations.
2016-08-16 11:59:57 -03:00
aaron832
b880a745fe
Initial implementation of MQTT
...
Initial implementation of MQTT alongside ethernet gateway.
2016-08-16 11:59:27 -03:00
aaron832
b50a651e5e
Reform definition logic
...
Reform definition logic to allow MY_GATEWAY_MQTT_CLIENT along side
MY_GATEWAY_FEATURE as there was some redundancy.
Add some specific exclusions for Linux implementation of MQTT.
2016-08-16 11:58:34 -03:00
aaron832
4b0664be5c
Add MQTT topic generation
...
Add MQTT topic generation to the protocol definition file.
2016-08-16 11:57:59 -03:00