Commit Graph
21 Commits
Author SHA1 Message Date
Marcelo Aquino fb3d936d4c Linux: Binds to MY_IP_ADDRESS in client mode (#849) 2017-05-21 14:27:22 +02:00
Marcelo Aquino 6e648f58da Linux: Fix compilation error for rfm69 (#848) 2017-05-16 08:00:47 +02:00
Marcelo Aquino 14766382d3 Linux: Default SPI driver set to SPIDEV (#847) 2017-05-16 08:00:24 +02:00
Marcelo Aquino 34444a48b3 Linux: Fix compilation error for rfm95 (#846)
Fix #843
2017-05-16 07:59:49 +02:00
Marcelo Aquino 582c653a19 Fix cppcheck includes.cfg (#842) 2017-05-15 07:30:15 +02:00
Marcelo Aquino 2a7145cc15 Linux: Add inclusion mode to gateway example (#841)
Fix #770
2017-05-15 07:29:28 +02:00
Marcelo Aquino 4c52c56605 Linux: Give an error if UDP is selected (#840)
UDP isn't implemented in Linux.
2017-05-15 07:28:49 +02:00
Marcelo Aquino a4c7b249c1 Linux: Fix Ethernet client and server (#836)
- Fix documentation.
- Add function close() to client class.
- Function connected() now return true if the connection is in
  stablished state or there is still unread data.
- Update hasClient() to check if any client has disconnected.
- Fix _accept() to better handle the case of maximum clients reached.
- Fix peek() to return the next byte of the read queue.
- Simplifies write() of the server class.
- Implements flush().
- Updates read() to non-blocking type, the same way as in Arduino.
2017-05-13 09:49:16 +02:00
Marcelo Aquino 95f719b604 Linux: Fix interrupt handler (#835)
Minor fix to configure.
2017-05-11 15:20:57 +02:00
Marcelo Aquino fa673bdb3e Linux: Fix rfm69 power level build error (#829) 2017-04-28 19:11:41 +02:00
Marcelo Aquino 66ff5b2880 Linux: Add support for RFM69 (#823) 2017-04-19 22:40:21 +02:00
Marcelo Aquino 4c31e22d6f Restructure RPi files (#827)
- Restructure SPi files for linux and RPi
- Update RPi revision detection (#826)
2017-04-19 22:03:10 +02:00
Marcelo Aquino 72926527be Linux: Configure script update (#797)
Incorporates #756
- Documentation improvements.
- Fix bash warning.
2017-03-21 19:42:58 +01:00
Marcelo Aquino 2e0f6b6229 Linux: Add support for SPIDEV (#734)
RPi and Linux refactor.

Add GPIO Sysfs for GPIO operations.

Update configure script.

Fix some cppcheck warnings.

Add serial emulation that prints to stdout.

Fix some file headers.
2017-01-14 23:50:21 +01:00
Marcelo Aquino 707442b257 RPi: Use logError when possible (#689) 2016-12-12 22:23:19 +01:00
Marcelo Aquino 62b74bb88a RPi: Improve board revision detection (#681)
Revision detection is done at runtime, the configure script has been
simplified to reflect this.
2016-12-07 21:17:59 +01:00
Marcelo Aquino c23b7d563e RPi: Add signing and encryption to configure (#655) 2016-11-24 21:25:14 +01:00
Marcelo Aquino 9ef1df5407 RPi: Fix RFM95 build (#654) 2016-11-24 15:59:01 +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 f6f4e6dde4 Fix compilation errors on RPi (#594) 2016-10-01 17:03:14 +02:00
Marcelo Aquino 2049bc4449 Set default port to 1883 when using MQTT gateway (#565) 2016-08-20 12:45:56 +02:00