Commit Graph
23 Commits
Author SHA1 Message Date
Marcelo Aquino 1acee7b988 fix check for NULL buffer in getString() 2015-05-04 16:19:37 -03:00
Marcelo Aquino 5ae55e5b8a add DigitalIO.h to MQTTGateway 2015-03-13 16:09:09 -03:00
Marcelo Aquino 403bd1e3e2 fix multiple mqtt clients with openhab
There is probably a better solution for this, this was the simplest I
came up with.
Changed some variables types from uint8_t to byte to make simple for
common arduino user.
2015-02-27 16:23:07 -03:00
Marcelo Aquino 8d3f24424d fix mqtt gateway doesn't distribute node ids 2015-02-26 21:19:47 -03:00
Marcelo Aquino 0d1c061dc9 add DigitalIO.h for SOFTSPI in MQTTGateway.ino 2015-02-26 20:33:14 -03:00
Marcelo Aquino 11a0032015 MQTTGateway: fix garbage in MQTT payload 2015-02-26 18:23:31 -03:00
Marcelo Aquino 2d8fddcb05 check valid parentNodeId before requestNodeId 2015-02-22 10:41:29 -03:00
Marcelo Aquino c358d8705a add parser class for serial and ethernet gateways 2015-02-19 21:39:46 -02:00
Marcelo Aquino d7474a7b8d fix ifdef for MYSENSORS_ETHERNET_MQTT_GATEWAY 2015-02-18 11:15:54 -02:00
Marcelo Aquino 60d6c4fc3c add MYSENSORS_MQTT_GATEWAY definition 2015-02-17 17:24:51 -02:00
Marcelo Aquino f3c60a068f process() uses sendRoute() for routing decisions
To keep routing decisions in one place, and avoid rewriting the same
code to add failedTransmissions count to process()
2015-02-13 02:01:18 -02:00
Marcelo Aquino d92918c80a Accept a new parent only when autoFindParent is 1
In a gateway, I_FIND_PARENT_RESPONSE messages was returning as true by
process(). With this commit it will return as false, is this the right
expected behavior?
2015-02-11 12:22:27 -02:00
Marcelo Aquino 57e8947218 Write parentNodeId to eeprom only when differ 2015-02-11 11:42:07 -02:00
Marcelo Aquino ca272743e6 check for invalid input on gateway
To prevent incomplete or chunked data being sent by the gateway
2015-02-11 11:24:45 -02:00
Marcelo Aquino 652d589fe3 add node to routing table before send an ack 2015-02-11 10:49:05 -02:00
Marcelo Aquino ace0a38c93 Node set up only after having an id 2015-02-07 10:59:25 -02:00
Marcelo Aquino 381d98648f fix clear routing table data
childNodeTable is a pointer, will always return 2
2015-02-06 20:59:57 -02:00
Marcelo Aquino ff1ddc3807 Relay messages only after receiving an id 2015-02-06 19:09:51 -02:00
Marcelo Aquino 70e457d635 fix convBuf size to print P_CUSTOM payloads 2015-02-03 21:13:53 -02:00
Marcelo Aquino 7f4f76580a get custom string from msg that isn't a stream type 2015-02-03 18:31:03 -02:00
Marcelo Aquino e8f7cb16a2 Fetch id through repeaters 2015-02-03 13:33:28 -02:00
Marcelo Aquino 6b76eb3df6 fix a possible parent repeater loop 2015-01-30 18:39:09 -02:00
Marcelo Aquino bf8f5b8164 fix a case where parent distance from repeater get stuck at 255 2015-01-29 17:19:19 -02:00