Commit Graph
1659 Commits
Author SHA1 Message Date
Henrik Ekblad 3f33d0d4a1 Merge pull request #638 from marceloaqno/rpi-arduino-libs
RPi: Improve build process
2016-11-19 19:32:40 +01:00
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
Henrik Ekblad 9037924f06 Merge pull request #621 from tekka007/TransportRFM95
Implement RFM95 transport layer
2016-11-16 20:40:34 +01:00
Henrik Ekblad 6680be68e6 Merge pull request #648 from tekka007/OTAHarmonization
Harmonize OTA code, reboot when flash is idle
2016-11-16 20:25:12 +01:00
Olivier 399734502d Harmonize OTA code, reboot when flash is idle 2016-11-16 18:48:19 +01:00
Thomas Mørch 477091f6a8 Merge pull request #646 from tekka007/FixLedHAL
Fix IO/HAL calls
2016-11-14 22:58:56 +01:00
Olivier 144c7b9d2f Implement RFM95 transport layer 2016-11-14 21:33:11 +01:00
tekka007 9ec97a6eaf Fix IO/HAL calls 2016-11-14 15:26:58 +01:00
Henrik Ekblad 0450d21d03 Merge pull request #640 from Yveaux/ledProcess_fix
Fix consistent yield usage & LED updates
2016-11-08 20:30:51 +01:00
Embedded Innovation 7f0e23b728 Finish LED pattern before low-power sleep
Wait until no LEDs are blinking anymore before going to sleep.
Decrement LED blink counter before acting on the value, otherwise LED
state will always lag behind.
2016-11-08 20:06:53 +01:00
Embedded Innovation 9254b45150 Fix consistent yield usage & LED updates 2016-11-07 21:28:25 +01: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