Commit Graph
867 Commits
Author SHA1 Message Date
Dirk H. R. 4e3cbdb9d0 removed # in comments (doxygen seems to not like it..) 2016-05-22 20:46:34 +02:00
Dirk H. R. d97435a1c8 Updated SPI-Flash to support SST25 Series of SPI Flash, which does not support page programming with opcode 0x02, but Automatic Address Increment Word programming with opcode 0xAD. Use #define SPIFLASH_SST25TYPE for SST25 Type Flash Memory and AAI Word Programming. 2016-05-22 20:17:27 +02:00
Mikael Falkvidd git@mjo.se 3433d2da78 Utilize digitalPinToInterrupt in examples
The examples used hard-coded values or defines to convert digital
pin number to interrupt in calls to attachInterrupt and sleep.

This has confused several people, most recently in
https://forum.mysensors.org/topic/3880/gw-sleep-on-battery-powered-magnet-door-switch/

Let digitalPinToInterrupt handle this work instead.
2016-05-17 20:16:13 +02:00
Olivier 4e9e3f5196 Merge pull request #400 from mysensors/fix-send-multiple-commands-serial
Allow sending multiple commands in one serial transmission
2016-05-07 16:16:47 +02:00
tekka007 0c4c578921 - re-assign ID via I_ID_RESPONSE
- implement getParentNodeID()
2016-05-07 10:12:14 +02:00
Olivier 460ae09811 Merge pull request #429 from tekka007/RF24_updates
RF24 driver update
2016-05-06 21:57:59 +02:00
Olivier 0c8acb0bcf Merge pull request #427 from tekka007/fixhwabstraction
fix hw abstraction defs
2016-05-06 21:01:09 +02:00
tekka007 85153680dd - static definitions 2016-05-06 16:10:18 +02:00
Henrik Ekblad a2841980a7 Fix typo in nested prepropressor statments 2016-05-05 22:23:42 +02:00
Olivier e3e9ce5876 - harmonize definitions
- RF24 namespace for functions
2016-05-05 22:08:17 +02:00
Olivier f4456b01e0 Merge pull request #432 from Yveaux/development
Fix CRC setting for nRF24
2016-05-05 21:51:52 +02:00
Embedded Innovation 00657dd64e Fix CRC setting for nRF24 2016-05-05 20:39:46 +02:00
Embedded Innovation a1d837d4f7 Revert "Added interrupt handling and reception queueing for nRF24"
This reverts commit bfa493ce3e.
2016-05-05 20:37:39 +02:00
Embedded Innovation 1caae29b3c Revert "Added circular buffer"
This reverts commit a200c36417.
2016-05-05 20:37:12 +02:00
Henrik Ekblad 8d2c172702 Merge pull request #428 from fallberg/signing
Add destination parameter to signingPresentation
2016-05-05 17:49:13 +02:00
Henrik Ekblad 21f0e02bf6 Merge pull request #426 from mysensors/present-node-after-id-received
Present attached sensors after node-id received
2016-05-05 17:47:42 +02:00
Henrik Ekblad 55b33f2c4f Merge pull request #430 from maxtox/patch-1
Do not close TCP connection after each send.
2016-05-05 17:47:04 +02:00
maxtox c58523ca5c When receiving a number of messages, string might include Data from the last /old String 2016-05-05 17:14:49 +02:00
maxtox ba5a4cba71 Do not close TCP connection after each send.
Fixing https://github.com/mysensors/Arduino/issues/405
2016-05-05 09:27:47 +02:00
Patrick Fallberg 99084ec98d Add destination parameter to signingPresentation
In order to allow a node to send signed messages to another node
the signingPresentation function can be called to make a
node2node presentation of signing preferences.
It is up to the sketch developer to make sure updated signing
preferences are communicated accordingly.
2016-05-03 11:03:59 +02:00
tekka007 27025cdc1d fix hw abstraction defs 2016-05-02 22:16:55 +02:00
Henrik Ekblad bbc6a221f4 Present node device for gateways as well. See PR #420. 2016-05-01 21:50:50 +02:00
Henrik Ekblad 154beedcb8 Present attached sensors after node-id received 2016-05-01 21:42:14 +02:00
Embedded Innovation a200c36417 Added circular buffer 2016-04-28 21:13:03 +02:00
Embedded Innovation bfa493ce3e Added interrupt handling and reception queueing for nRF24
When nRF24 interrupt is connected to Arduino, handling of reception
interrupts can be enabled. This will store all data received in a buffer
which will prevent messages from getting lost when the Arduino is too
busy to empty the FIFO.
2016-04-28 21:10:20 +02:00
Henrik Ekblad a64c8b13a6 Merge pull request #391 from ToniA/development
Set the serial port speed of the Serial Gateway to 38400 on Arduino's  running on 8MHz oscillator
2016-04-28 19:13:56 +02:00
Henrik Ekblad 5c8234f424 Merge pull request #424 from guiguid/patch-1
Allow User to manage ESP8266 Wifi if need
2016-04-27 20:26:31 +02:00
Olivier d65e73a575 Merge pull request #392 from tekka007/refactoring_RF24
Major RF24 library rework: minimal driver at full specs
2016-04-27 19:46:05 +02:00
Guillaume DELVIT 17ea69959e Allow User to manage ESP8266 Wifi if need
If MY_ESP8266_SSID is not defined, the WIFI part is managed by the user.
If MY_ESP8266_SSID is defined, wifi is managed by Mysensor libraries.
2016-04-26 21:00:07 +02:00
tekka007 b415c6977b Introduce SPI transactions, harmonize variables 2016-04-24 13:02:30 +02:00
Henrik Ekblad b7400ab23e Merge pull request #418 from dakky/development
Renamed in order to prevent error messages from arduino GUI (2:1.0.5)…
2016-04-09 20:19:01 +02:00
gerritv cf571b30e8 Fix exception in esp8266 gateway. Found by @sle118 2016-04-09 13:51:27 -04:00
Robert 7f7c482f76 Renamed in order to prevent error messages from arduino GUI (2:1.0.5) because of invalid filename 2016-04-08 07:36:37 +02:00
Brenda Wallace 49beffd3d4 S_RGB does not exist. Changing helpful comment to S_RGB_LIGHT and S_RGBW_LIGHT 2016-04-02 20:55:36 +13:00
tekka007 3c27c5984f Add OTA FW update support for ESP8266 2016-03-20 12:43:38 +01:00
tekka007 547f7076dd Major RF24 library rework: minimal driver at full specs 2016-03-17 14:32:12 +01:00
Henrik Ekblad a7580d124e Merge pull request #411 from tekka007/corepatch
small core fixes
2016-03-07 23:46:45 +01:00
tekka007 c3d7e09a67 small core fixes: remove time handler callback redundancy, substitute consts. 2016-03-06 22:20:13 +01:00
Henrik Ekblad ce6915a2c7 Reset message buffer every time a newline is found 2016-02-20 11:19:05 +01:00
Henrik Ekblad c7efee31dd Fix protocol parse and validity check back 2016-02-18 17:02:21 +01:00
Henrik Ekblad 47f8df8df9 Allow sending multiple commands in one serial transmission
E.g. 
"1;2;1;0;2;1\n1;11;1;0;2;1\n1;1;1;0;2;0\n1;2;1;0;2;0\n"
2016-02-17 10:01:26 +01:00
Patrick Fallberg 0d72bf2260 Fix complation error for NRF24 encryption 2016-02-16 10:10:22 +01:00
Patrick Fallberg 2d93722692 Merge pull request #399 from tbowmo/samd
Adapts RFM69 to be used with SAMD
2016-02-16 09:45:13 +01:00
Patrick Fallberg 53ea022035 Fix complation error for RFM69 encryption 2016-02-16 09:45:12 +01:00
Patrick Fallberg 21beab382b Added NRF24 and RFM69 encryption to Jenkins tests
Also cleaned up the other Jenkins test sketches.
2016-02-16 09:45:12 +01:00
Henrik Ekblad f9d23c9c69 Merge pull request #394 from tekka007/conditionalWait
Implementation conditionalWait()
2016-02-13 12:43:28 +01:00
Jan Chrillesen bda6ecf017 Add yield() in sendACK
Needed on ESP8266 to avoid WDT kicking in - see http://forum.mysensors.org/topic/2278/esp8266-gateway-and-sensor-node-not-talking-noobie/34
2016-02-13 09:28:47 +01:00
tekka007 a876b320bc Implement conditional Wait() until time passed or specific message received 2016-02-11 22:14:35 +01:00
ToniA 385b0680c9 Set the serial port speed of the Serial Gateway to 38400 on Arduino's running on 8MHz oscillator
On 8 MHz clock speed the actual 115200 bps rate is so much off that sending
data over serial is very unreliable.
2016-02-08 18:19:49 +02:00
Patrick Fallberg 1f27c3dd36 Update library.json version to 1.5.4 2016-02-07 13:08:21 +01:00