Commit Graph
563 Commits
Author SHA1 Message Date
Thomas Mørch b66408e3d4 Updated sketch, using Serial.flush() in test routine, instead of delay()
Changed name that is reported back to controler, to "MysensorMicro" instead of "EnvironmentSensor"
2015-03-28 11:17:52 +01:00
Thomas Mørch 3ab43d5ff5 Updated sketch, removed the forced testmode (used for testing) 2015-03-22 22:19:19 +01:00
Thomas Mørch 4a0c3bb6f7 Added SHA204 check routine to testmode 2015-03-19 21:47:51 +01:00
Thomas Mørch 5b9c9736c9 Merged sha204 from dev, in order to detect sha204 in MySensors Micro board (Testmode) 2015-03-19 21:27:20 +01:00
Thomas Mørch 79ab745070 Merge remote-tracking branch 'upstream/master' 2015-03-19 20:58:38 +01:00
Thomas Mørch 199b130492 Updated SPIflash to work with Arduino 1.6.x 2015-03-19 20:56:02 +01:00
Thomas Mørch 405c8fd0f2 Update testmode, after initial tests on the bench 2015-03-19 20:55:41 +01:00
Henrik Ekblad 3f0ca1a7b3 Merge pull request #89 from tekka007/master
MYSBootloader 1.1
2015-03-14 20:15:08 +01:00
Thomas Mørch 985f9c3446 Moved static strings for Serial.println() to flash storage 2015-03-14 19:13:09 +01:00
tekka 9b41d2a8e6 MYSBootloader 1.1
Enhancements: static parent, bootloader commands, updated delay funtion
for more precise timing and minor improvements
2015-03-14 13:46:24 +01:00
Thomas Mørch adeca1c41c Updated testmode, removed clearEEP function as it's not needed in production. 2015-03-14 11:01:41 +01:00
Thomas Mørch 0fed6838e5 Initial testmode implemented. 2015-03-12 20:32:51 +01:00
Henrik Ekblad c83d8d62b3 Merge pull request #83 from mapnull/hotfix-mqtt_openhab
fix multiple mqtt clients with openhab
2015-02-27 20:41:23 +01: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
Henrik Ekblad 285f5d78d7 Merge pull request #82 from mapnull/hotfix-mqtt-gw_distribute_nodeId
fix mqtt gateway doesn't distribute node ids when no clients
2015-02-27 07:22:42 +01:00
Henrik Ekblad be54af10a7 Merge pull request #81 from mapnull/hotfix-mqtt-gw_digitalio
add DigitalIO.h for SOFTSPI in MQTTGateway.ino
2015-02-27 07:22:06 +01: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
Henrik Ekblad 7c82728633 Merge pull request #80 from mapnull/hotfix-mqtt-read_mqtt_packets
MQTTGateway: fix garbage in MQTT payload
2015-02-27 00:22:25 +01:00
Marcelo Aquino 11a0032015 MQTTGateway: fix garbage in MQTT payload 2015-02-26 18:23:31 -03:00
Henrik Ekblad ba1ecd84ec Merge pull request #78 from tbowmo/master
Small update to MysensorMicro sketch
2015-02-23 22:27:12 +01:00
Thomas Mørch c6efc23de3 Updated MysensorMicro to use combined humidity and temperature readings from Si7021, in order to save current 2015-02-23 21:32:38 +01:00
Thomas Mørch 3133a7ba0c Updated library to use getHumidityPercentage, instead of getHumidityBasisPoints() in combined humidity/temperature reader 2015-02-23 21:31:22 +01:00
Henrik Ekblad c3eb97092b Merge pull request #73 from mysensors/revert-60-hotfix-chk_invalid_gw_input
Revert "check for invalid input on gateway"
2015-02-19 16:59:57 +01:00
Henrik Ekblad fe4b07074d Revert "check for invalid input on gateway" 2015-02-19 16:59:38 +01:00
Henrik Ekblad 9fecc53dfb Merge pull request #62 from mapnull/hotfix-autoFindParent_response
Accept a new parent only when autoFindParent is 1
2015-02-12 22:23:13 +01:00
Henrik Ekblad 80bd4df230 Merge pull request #61 from mapnull/hotfix-parentId_eeprom
Write parentNodeId to eeprom only when differ
2015-02-12 22:15:37 +01:00
Henrik Ekblad de2bfbf833 Merge pull request #60 from mapnull/hotfix-chk_invalid_gw_input
check for invalid input on gateway
2015-02-12 22:12:41 +01:00
Henrik Ekblad 5d0fa3b0ab Merge pull request #59 from mapnull/hotfix-rt_before_ack
add node to routing table before send an ack
2015-02-12 22:02:51 +01: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
Henrik Ekblad 7b99a2ef94 Removed waitForReply(). Not needed anymore. 2015-02-10 22:25:13 +01:00
Henrik Ekblad 722a23cfd9 Merge pull request #58 from tekka007/Hotfix
simplify wait(), substitute waitForReply(), adding watchdog resets
2015-02-10 21:53:45 +01:00
tekka007 08a0bc25ff simply wait() & adding watchdog resets
Simplify wait(), added watchdog reset to wait() and waitForReply().
Substituted all waitForReply() for wait(2000) to reduce code
size/complexity
2015-02-08 01:00:39 +01:00
Henrik Ekblad 5a0d7734b3 Merge pull request #57 from tekka007/Hotfix
Fixing endless loop
2015-02-07 22:02:50 +01:00
tekka007 a6301f8521 Fixing endless loop 2015-02-07 21:42:49 +01:00
Henrik Ekblad 23e5d5ffad Merge pull request #56 from mapnull/hotfix-setupNode
Node set up only after having an id
2015-02-07 16:52:54 +01:00
Marcelo Aquino ace0a38c93 Node set up only after having an id 2015-02-07 10:59:25 -02:00
Henrik Ekblad 576c092fd6 Merge pull request #54 from mapnull/hotfix-r255
Relay messages only after receiving an id
2015-02-07 10:56:12 +01:00
Henrik Ekblad db3dbadb9e Merge pull request #55 from mapnull/hotfix-rt_size
fix clear routing table data
2015-02-07 00:40:32 +01:00
Henrik Ekblad b25df52861 Merge pull request #52 from tekka007/MYSBootloader
MYSBootloader 1.0
2015-02-07 00:39:47 +01:00
Henrik Ekblad 4590257da7 Merge pull request #51 from tbowmo/master
MysensorMicro example, and extra libraries
2015-02-07 00:00:01 +01: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
tekka bd80220cf3 MYSBootloader 1.0
Bootloader for (direct) OTA FW updates. Occupies 1834 bytes
.hex is compiled for 16Mhz. Bootloader was tested in this frequency
range; 128kHz (intRC) to 16Mhz(XTAL) at 3.3 and 5V.
For OTA bootloading, MYSController was used, NodeJS Controller not
tested.
2015-02-06 14:07:40 +01:00
Thomas Mørch c3e30662af Added default mysensorMicro sketch 2015-02-05 19:17:44 +01:00
Thomas Mørch e462bc214c Added libraries for SPI flash, BMP180 and Si7021 2015-02-05 19:10:52 +01:00
Henrik Ekblad 08221e6567 Merge pull request #46 from tekka007/master
Failed transmissions count fixed  & Clear routing table extendend
2015-02-04 22:22:43 +01:00