Commit Graph
1649 Commits
Author SHA1 Message Date
Marcelo Aquino 330a910f3d RPi: Improve build process
Add option to set an external arduino libraries directory.
All libraries from this folder will be compile and available for use
in the gateway.
Some Arduino libraries can be used on Linux/RPI with minor adjustments,
but there are some that will have to be completely rewritten.

The build process uses a separate folder for objects and binary files
which can be set by the user.

Initialize the bcm2835 inside a class constructor to fix cases where
pin operations are used before hwInit().

Fix SPI pins default values.

Fix activation interrupt functions.

Fix some headers.

Rename gateway binary and services to mysgw.
2016-11-19 11:49:18 -02:00
Thomas Mørch fedf326099 Merge pull request #637 from tekka007/SAMDCoreFunctions
Implement SAMD core functions
2016-11-06 17:52:19 +01:00
Thomas Mørch 15e2770347 Fixes LED prevTime bug reported in forum (#636) 2016-11-06 17:51:53 +01:00
Olivier 30e447782e Implement SAMD core functions: reboot, Vcc, freq 2016-11-06 14:07:21 +01:00
Olivier 6ad18b641e Fixed missing RF24_NOP refactoring (#635) 2016-11-06 10:55:32 +01:00
Olivier 6636a97562 Harmonize RF24 definitions (#629) 2016-11-05 09:53:12 +01:00
Olivier c6ff9122b4 Harmonize definition ins core (#628) 2016-11-05 09:50:18 +01:00
Henrik Ekblad e77f3c06cd Merge pull request #633 from frizzy/development
Fixed parsing of subscribed topics containing slashes.
2016-11-04 23:31:05 +01:00
frizzy 2321c67ffa MQTT: Removed need for new topic buffer 2016-11-04 19:42:34 +00:00
frizzy e21df64845 MQTT: Add support for slash in subscriber topic 2016-11-03 19:42:05 +00:00
Henrik Ekblad 4be733e1e6 Merge pull request #630 from fallberg/signing_fixes
Make stability improvements in message signing
2016-10-31 20:02:15 +01:00
Patrick Fallberg c47a83f1da Make stability improvements in message signing
* Made delay waiting for GW to transmit signing preferences apply
  also if signing is disabled since nodes always sends a signing
  presentation, and GW always replies with it's own presentation.
  This can cause message collition if the node at the same time
  proceed with other presentation messages.

* Made the signing backend "consume" signing presentation
  messages sent by GW when signing is disabled. These messages
  should not be forwarded to the "user".
2016-10-30 12:01:35 +01:00
Marcelo Aquino 50eeb75b08 Merge pull request #626 from marceloaqno/rpi-old-options
RPi: Add warning msg for deprecated option
2016-10-21 17:35:25 -02:00
Marcelo Aquino 7a969670ac RPi: Add warning msg for deprecated option 2016-10-21 17:17:28 -02:00
Henrik Ekblad b1eef0c079 Merge pull request #623 from marceloaqno/rpi-rs485
RPi: Add support for RS485 transport
2016-10-21 15:59:46 +02:00
Marcelo Aquino 76dea1532c RPi: Add support for RS485 transport
Remove serial print from MyTransportRS485.cpp to increase speed.
2016-10-21 09:01:37 -02:00
Henrik Ekblad f10e142630 Merge pull request #622 from marceloaqno/rpi-signing-gen
RPi: Update messages for key generation
2016-10-19 19:57:20 +02:00
Marcelo Aquino 95318d05db RPi: Update messages for key generation
This was suggested by the forum user NiklasO.
2016-10-19 15:36:17 -02:00
Henrik Ekblad f31ec4b3ae Merge pull request #618 from marceloaqno/dev-rpi-signing
RPi: Add support for signing messages
2016-10-19 08:02:53 +02:00
Henrik Ekblad cbaa3eda50 Merge pull request #588 from fallberg/gw_signing
Add MY_SIGNING_GW_REQUEST_SIGNATURES_FROM_ALL flag
2016-10-19 08:01:20 +02:00
Marcelo Aquino ec1c209645 RPi: Add support for signing messages 2016-10-18 22:11:47 -02:00
Patrick Fallberg afd7b7abbb Add MY_SIGNING_GW_REQUEST_SIGNATURES_FROM_ALL flag
This flag, when set in a gateway sketch will make the gateway
require all nodes to sign messages sent to it.
2016-10-18 22:02:19 +02:00
Henrik Ekblad d1c773b4a7 Merge pull request #619 from marceloaqno/rpi-fix-log
RPi: Log refactor
2016-10-18 21:50:12 +02:00
Marcelo Aquino 2be804a1ef RPi: Log refactor 2016-10-18 16:55:47 -02:00
Henrik Ekblad 75aad5de35 Merge pull request #617 from tekka007/PinModeAddon
Fix INPUT_PULLUP option for hwPinMode()
2016-10-16 21:46:55 +02:00
Olivier 4a4eed295c Fix INPUT_PULLUP option for hwPinMode() 2016-10-16 21:00:52 +02:00
Henrik Ekblad e3e285f996 Merge pull request #609 from marceloaqno/dev-rpi-i2c
RPi: Add support for I2C
2016-10-16 18:45:09 +02:00
Marcelo Aquino 69ac4b759a RPi: Add support for I2C
Add MyHw file for RaspberryPi.

Fix compilation warnings in x86.

Fix some error messages.
2016-10-16 13:40:23 -02:00
Thomas Mørch 3d51b31e71 Merge pull request #616 from tekka007/SAMDfix
Fix for latest SAMD board defs 1.6.8
2016-10-16 13:11:08 +02:00
Olivier 5e9ae99a34 Fix for latest SAMD board defs 1.6.8 2016-10-16 13:05:19 +02:00
Thomas Mørch 54776a4520 Added {} to control structures for clarity (#600) 2016-10-16 12:46:42 +02:00
Olivier 80659ddb00 HAL for digitalRead/Write() and pinMode() (#607) 2016-10-16 10:12:24 +02:00
Thomas Mørch ef65d0e4df Merge pull request #611 from tbowmo/sb_gw
Updated comments to reflect HW better
2016-10-13 12:04:07 +02:00
Thomas Mørch ccabd224a8 Updated comments to reflect HW better 2016-10-13 12:01:03 +02:00
Henrik Ekblad ed45ef02d6 Merge pull request #606 from tekka007/FixAVRHAL
Fix HAL inconsistency
2016-10-09 23:04:20 +02:00
Henrik Ekblad 7e32e0884b Merge pull request #605 from tekka007/CoreCosmetics
Code harmonization
2016-10-09 23:01:25 +02:00
Henrik Ekblad 1df017884b Merge pull request #602 from petewill/master
Updated LED documentation
2016-10-09 22:54:43 +02:00
Olivier 351845205c Code harmonization 2016-10-09 15:53:51 +02:00
Olivier d05d0dad2a Fix HAL inconsistency 2016-10-09 15:49:26 +02:00
Olivier 54489577a9 Fix RFM69 ACK (#597) 2016-10-09 13:22:20 +02:00
Olivier fe3199ef6b Fix routing table dump (#604) 2016-10-09 12:18:15 +02:00
petewill a66a469174 Updated LED documentation
Changed the comments for the LEDs to reflect the 2.0 code changes.
2016-10-08 07:15:40 -06:00
petewill b6a4684187 Merge remote-tracking branch 'refs/remotes/mysensors/development' 2016-10-08 07:03:23 -06:00
Embedded Innovation 32596676e5 Fix detach pin interrupt in hwSleep (#599)
Fix issue #598
Pin interrupts used as wakeup source for hwSleep now get detached
correctly, also when the interrupts did not occur.
2016-10-03 20:44:04 +02:00
Henrik Ekblad 6e414eeeeb Merge pull request #596 from tekka007/RFM69Fix
Fix payload length return
2016-10-01 19:45:34 +02:00
tekka007 fc09763c49 Fix payload length return 2016-10-01 19:37:50 +02:00
Henrik Ekblad c6e7e27fd6 Merge pull request #595 from tekka007/wdtResets
Reset wdt during init
2016-10-01 19:33:08 +02:00
Henrik Ekblad 9d128b9850 Merge pull request #593 from tekka007/updateBuildMsg
build(): Remove obsolete parameter (sender)
2016-10-01 19:32:39 +02:00
tekka007 dc6f6e3691 Reset wdt during init 2016-10-01 19:05:09 +02:00
Marcelo Aquino f6f4e6dde4 Fix compilation errors on RPi (#594) 2016-10-01 17:03:14 +02:00