Commit Graph
1720 Commits
Author SHA1 Message Date
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
Ivan Kravets 378112db7d Update supported development platforms 2016-08-16 13:10:05 +03:00
Embedded Innovation b7ae549a04 Merge pull request #557 from tekka007/RF24update
Updates to RF24 driver
2016-08-14 15:51:57 +02:00
Olivier 0a8fbe5816 Remove SPI.h and EEPROM.h includes (#555)
* Remove duplicate includes

* Reorder SPI.h include
2016-08-14 14:46:05 +02:00
tekka007 ce2e2006c6 Minor updates 2016-08-14 12:28:09 +02: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
Henrik Ekblad d5838047c4 Merge pull request #556 from tekka007/RF24IRQ
Reorganize RX message buffering checks
2016-08-13 14:20:50 +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
Henrik Ekblad a6de8c4d46 Merge pull request #551 from tekka007/StreamLength
Limit payload size to MAX_PAYLOAD
2016-08-12 12:34:38 +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
Henrik Ekblad e1ccba22d8 Merge pull request #549 from tekka007/RenameMacroParams
Rename macro param (_msg) to avoid confusions
2016-08-09 20:53:21 +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
Henrik Ekblad 00688b0f29 Merge pull request #546 from tekka007/MessageTypeNames
Harmonize message type names
2016-08-09 09:11:40 +02:00
tekka007 6bc4a374ed Use _msgTmp when building messages 2016-08-08 19:49:18 +02:00