Commit Graph
1511 Commits
Author SHA1 Message Date
tekka007 6bc113208c MySensor keyword obsolete 2016-08-06 09:13:38 +02:00
Embedded Innovation 6bdde5b1ac Add missing GOT_PARENT indication (#541)
* Add missing GOT_PARENT indication

* Fix tabs
2016-08-05 18:37:17 +02:00
Thomas Mørch 29c7c0c042 Merge pull request #540 from Yveaux/development
Correctly initialize MyMessage
2016-08-05 13:29:16 +02:00
Embedded Innovation 5d7f2fe38b Fix delegating constructor 2016-08-05 12:41:53 +02:00
Embedded Innovation 7d84878cb0 Correctly initialize MyMessage 2016-08-05 12:18:24 +02:00
Patrick Fallberg 3519558703 Merge pull request #536 from tbowmo/preHwInit
Added default sketch for sensebender samd GW
2016-08-04 00:10:14 +02:00
Thomas Mørch 88e37e3675 Disabled inclusion button defines
As they can be present in HW Variant files, so to
minimize risk of warnings they are not enabled
2016-08-03 22:48:03 +02:00
Thomas Mørch 3ba13f1c8c Added production SensebenderGW sketch
preHwInit also added to hook into core startup
before hwInit is called
2016-08-02 23:39:18 +02:00
Martin Hjelmare b293f47a7f Fix smartsleep (#535)
* Make smartSleep send heartbeat before sleeping

Sending the heartbeat (and waiting) after waking up would delay
processing inputs. For example, a switch could be back to the
open state before the wait is over.

* Fix typos in comments in smartSleep methods
2016-08-02 22:21:14 +02:00
Embedded Innovation 99973a346e Add nRF24 receive message buffering (#538)
* Add critical section support

Allows defining a code block which is executed as a critical section.
Supports AVR, ESP8266 & SAMD.

* Add receive message buffering

When MY_RF24_IRQ_PIN is defined (and connected), a buffer will be used
to retrieve & store messages received by nRF24 as fast as possible.
This reduces the chance of losing messages due to a busy
microcontroller.
nRF24 SPI rx message transfer is running from interrupt context when
MY_RF24_IRQ_PIN is defined. If this transfer takes too long, serial
characters received will get lost. Therefore serial rx is enabled during
SPI transfer of nRF messages.

Limitations: Only AVR/SAMD & nRF24L01+ combinations can buffer rx
messages.
nRF24L01+ IRQ pin should be connected to AVR.
Tested on W5100- & Serial-gateway.

SAMD has not been tested yet!

* Fix Doxygen warnings

* Fix more Doxygen warnings
2016-08-02 22:20:25 +02:00
Olivier 4695cc71dd Fix Doxygen warning (#539) 2016-08-02 21:50:00 +02:00
Henrik Ekblad 37119b2a3a Present locally attached sensors and node when missing radio (#532)
* Present locally attached sensors and node when missing radio

Fix #524

* Combining gateway and node presentation.
2016-08-01 23:59:31 +02:00
Henrik Ekblad e475be2980 Merge pull request #533 from tekka007/TransportUpdate
Fix compatibility issue with nRF clones, update documentation
2016-08-01 23:58:57 +02:00
Henrik Ekblad 74556d2d2d Merge pull request #526 from tekka007/CoreDebugMessages
Cleanup debug messages in MySensorsCore
2016-08-01 23:54:12 +02:00
Henrik Ekblad b8e898c0ad Make the library.properties up-to-date (#534) 2016-08-01 22:16:50 +02:00
tekka007 ce61b286d5 Cleanup debug messages in MySensorsCore 2016-08-01 14:51:56 +02:00
tekka007 26f20b0e3b Fix compatibility issue with nRF clones, update documentation 2016-08-01 14:10:47 +02:00
Patrick Fallberg 4c0b7d6d02 Merge pull request #531 from henrikekblad/FixMQTTPresentation
Fix #449, Fix #507
2016-07-31 15:46:30 +02:00
Henrik Ekblad ba6fae7596 Fix #449, Fix #507 2016-07-31 15:25:55 +02:00
Henrik Ekblad 2546bc9cd1 Merge pull request #530 from Br3nda/controller-url-address
Added MY_CONTROLLER_URL_ADDRESS to keywords
2016-07-31 14:51:16 +02:00
Brenda Wallace ea99e4735d Added MY_CONTROLLER_URL_ADDRESS to keywords
Signed-off-by: Brenda Wallace <brenda@wallace.net.nz>
2016-07-31 16:43:58 +12:00
Henrik Ekblad 929b001305 Merge pull request #522 from tekka007/TransportUpdate
Updates to MyTransport
2016-07-29 00:14:35 +02:00
tekka007 24e3dfa36c Updates to MyTransport 2016-07-27 23:10:02 +02:00
Henrik Ekblad f2a379f449 New repository location fix 2016-07-22 19:23:39 +02:00
Thomas Mørch a068d8a4c7 Merge pull request #525 from tekka007/IncrementVersion
Bumped version to 2.0.1-beta
2016-07-22 07:58:19 +02:00
tekka007 56693d5b73 Bumped version to 2.0.1-beta 2016-07-21 21:53:13 +02:00
Patrick Fallberg dda9cefd93 Merge pull request #517 from tekka007/ChangeInitOrder
Calling WiFi.config() before WiFi.begin()
2016-07-17 13:50:03 +02:00
Patrick Fallberg 934ccf30b2 Merge pull request #513 from tekka007/ShiftSetup
Call _nodeRegistration() before setup()
2016-07-17 13:49:46 +02:00
Shiny 0a7208ece0 spelling and grammar fix ups (#515)
Signed-off-by: Brenda Wallace <brenda@wallace.net.nz>
2016-07-17 10:28:57 +02:00
Embedded Innovation 83cbb921f5 Unify interrupt handling (#520)
ATMega328 hardware abstraction used a mix of AVR cli/sei and Arduino
noInterrupts/interrupts calls.
Changed to use AVR cli/sei only.
2016-07-17 10:28:00 +02:00
Embedded Innovation 1305aeca8a Fix race in sleep with interrupts (#519)
* Interrupts occurring during sleep-setup possibly fail to wake mcu
* Detach interrupt handler in interrupt handler to correctly handle
level-interrupts
2016-07-17 09:52:56 +02:00
Thomas Mørch f0f2542df4 Various fixes for SAMD (#510)
* Only serial GW should hold back on USB

* Fixing some examples on archs other than avr

* HwInit() is needed on samd, to init I2C
2016-07-16 10:01:28 +02:00
tekka007 312a69bb6c Calling WiFi.config() before WiFi.begin() 2016-07-14 21:48:01 +02:00
Thomas Mørch 54c79308e9 Merge pull request #512 from ivankravets/patch-3
Fix repo url; update version; explain builder which files to build
2016-07-13 23:09:16 +02:00
Ivan Kravets 5f9c51c2d4 Update version to beta 2016-07-13 22:40:05 +03:00
tekka007 eeee3310f9 Move setup() call after node registration 2016-07-13 21:16:50 +02:00
Ivan Kravets 293604c9a2 Exclude not required for build process content 2016-07-13 15:20:33 +03:00
Ivan Kravets a36299f3d9 Fix repo url; update version; explain builder which files to build 2016-07-13 15:05:14 +03:00
Thomas Mørch 8128783520 Merge pull request #506 from mysensors/readme-fix
Update README.md
2016-07-11 10:08:39 +02:00
Patrick Fallberg 50b6277c45 Update README.md
Fixed doxygen links (these are broken on master as well).
2016-07-10 00:20:45 +02:00
Patrick Fallberg bc2cbbbe91 Update README.md
Updated links to Jenkins
2016-07-09 22:54:48 +02:00
Patrick Fallberg 4fd8775227 Fix for nightly IDE builds 2016-07-09 22:23:36 +02:00
Thomas Mørch 986389b125 Merge pull request #504 from tbowmo/reorganizing
Reorganizing library structure, prep for 2.0.0
2016-07-09 21:39:44 +02:00
Thomas Mørch ba6bb915c2 Reorganizing library structure, prep for 2.0.0 2016-07-09 21:17:37 +02:00
Thomas Mørch 4811eb5573 Added return value for atsha204_getSerialNumber (#487)
Also cleaned up trailing whitespaces.
2016-07-09 15:08:40 +02:00
Olivier 1eabe506cf Fix to prevent sending msgs where signing failed (#503) 2016-07-08 09:36:56 +02:00
Olivier d9316d1b6a Fix MyTransport compiler if no radio defined (#502) 2016-07-06 01:16:04 +02:00
Henrik Ekblad 09dfbebcad Merge pull request #489 from joshuacox/MYSENSORS_LIBRARY_VERSION
making MYSENSORS_LIBRARY_VERSION for purposes of being more unique
2016-07-05 07:35:52 +02:00
Josh Cox 255040749c Uniquifying LIBRARY_VERSION
Making MYSENSORS_LIBRARY_VERSION for
purposes of being more unique and
preventing conflict with other libraries
that chose the same
LIBRARY_VERSION like PID_v1 a fairly
common arduino library.  Of note, I
have also raised the issue
with that library as well
2016-07-04 22:24:40 -05:00
Olivier 2279dc11a0 Minimize FindParent collisions and minor tweaks (#501) 2016-07-04 17:37:04 +02:00