Commit Graph
1678 Commits
Author SHA1 Message Date
Henrik Ekblad e1ec2ccb69 Merge pull request #634 from tekka007/transportSMupdate
Allow node to enter loop() if transport is NOK
2016-11-24 21:18:17 +01:00
tekka007 aff8deb8bf Merge development 2016-11-24 21:01:08 +01:00
Patrick Fallberg 410fe2df95 Merge pull request #659 from tekka007/RFM95example
Fix timeout and add RFM95 test
2016-11-24 18:25:28 +01:00
Olivier 5bc5eff1f9 Fix timeout and add RFM95 test 2016-11-24 16:55:42 +01:00
Patrick Fallberg 45b671457d Coding style related changes (#653)
* Add .astylerc with the core coding standard

* Added pre-commit git hook

The hook currently only checks code format using
astyle and will not permit commits which cause
astyle to change the contents of any source file
in the commit.
This is useful to have automatic coding standard
verification done without having to wait for
Jenkins to react to a pull request.

Installation:
Linux:
ln -s ../../tools/hooks/pre-commit.sh .git/hooks/pre-commit
Windows:
copy tools\hooks\pre-commit.sh .git\hooks\pre-commit

* Added editorconfig and updated gitattributes

Unix style line endings are now default.

* Resolved doxygen warning
2016-11-24 16:43:04 +01:00
Henrik Ekblad 26b485cb0d Merge pull request #651 from tekka007/VersionBump
Bump version to 2.1.0
2016-11-24 16:01:38 +01:00
Marcelo Aquino 9ef1df5407 RPi: Fix RFM95 build (#654) 2016-11-24 15:59:01 +01:00
Henrik Ekblad 66599c0b23 Fix typo for MY_DEFAULT_ERR_LED_PIN (#657) 2016-11-24 15:31:36 +01:00
Patrick Fallberg 26375757cd README.md updated with new Jenkins URL:s 2016-11-21 17:02:25 +01:00
Olivier 37b7885c7e Merge development & additional optimizations 2016-11-20 21:09:00 +01:00
Henrik Ekblad 41f4b4e845 Merge pull request #649 from tekka007/transportRFM95Update
RFM95 updates for RPI
2016-11-20 21:03:48 +01:00
Henrik Ekblad edac8f7fd4 Merge pull request #652 from tekka007/HALFix
AVR: Use avr-libc eeprom update functions
2016-11-20 16:58:18 +01:00
tekka007 ec09161c42 AVR: Use avr-libc eeprom update functions 2016-11-20 16:27:30 +01:00
tekka007 d8f8ea3418 Bump version to 2.1.0 2016-11-20 13:17:13 +01:00
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
Olivier 865c4a773a RFM95 updates for RPI 2016-11-16 22:52:50 +01: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
Olivier d5039de270 Merge development & Fix variable 2016-11-15 22:38:38 +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
tekka007 ba80a7e7b1 Core optimizations 2016-11-14 22:53:30 +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
Olivier 58e9d5864f Merge development 2016-11-14 12:34:31 +01:00
Olivier 92cbd2ac8f Allow node to enter loop() if transport is NOK 2016-11-14 12:24:27 +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