Commit Graph

11 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
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
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
Patrick Fallberg
8e1ef13804 Repo restyled using astyle (#683)
The rules are in .tools/astyle/config/style.cfg
and can also be reviewed at
https://www.mysensors.org/view/260#coding-guidelines-core-library
2016-12-07 23:44:29 +01:00
Marcelo Aquino
2be804a1ef RPi: Log refactor 2016-10-18 16:55:47 -02:00
Thomas Mørch
54776a4520 Added {} to control structures for clarity (#600) 2016-10-16 12:46:42 +02:00
Marcelo Aquino
09103e9c04 Add run time options to RPi gateway 2016-09-08 15:56:37 -03:00
Marcelo Aquino
211afb17c4 Doxygenize Linux drivers 2016-08-16 13:43:24 -03:00
Marcelo Aquino
dad6732f38 Include .h instead of .cpp when possible
* Move implementation code from Arduino.h
2016-08-16 13:43:21 -03:00
Konst Kolesnichenko
43e5a7ddf9 Fixed build error 2016-08-16 13:42:53 -03:00
Marcelo Aquino
6b756335d0 Refactor RaspberryPi port 2016-08-16 13:42:51 -03:00