Commit Graph

28 Commits

Author SHA1 Message Date
Olivier
8eea242512 Prepare 2.4.0 release (#1587) 2026-01-01 11:36:35 +01:00
Olivier
0b94c2dc1a Update comments (#1574) 2025-11-17 17:29:49 +02:00
Olivier
253109d3ff Upate CI and HW defs (#1530) 2022-07-24 10:55:35 +02:00
Vita
423b9d790a ROCK Pi 4 (RK3399) support (#1499)
* ROCK Pi 4 (RK3399) support

* Code style
2022-04-18 08:21:14 +02:00
functionpointer
05fe0751d5 Fix build errors on raspberry pi (#1454) 2021-03-20 10:13:34 +01:00
Mikael Falkvidd
8857ef7bce Rpi gw: Remove stropts.h include (#1446)
It is not used by anything, and causes problems on systems
where this header file does not exist.

This fixes #1431
2020-11-04 20:48:26 +01:00
Mikael Falkvidd
347ca0a43a Update docs (#1428)
* Clarify that MY_HOSTNAME is only supported on ESP

And remove redundant Doxygen define, that caused MY_HOSTNAME
to show up twice in the documentation.

* Fix double define of MY_RAM_ROUTING_TABLE_ENABLED

MY_RAM_ROUTING_TABLE_ENABLED showed up twice in the docs.
By reordering, the define only shows up once.

I don't think DOXYGEN will be defined when anyone builds their
sketches, so this change should not affect functionality.

* Doxygen: Add check for multiple defines of same keyword

* Fix unmatched ifdef

* Add documentation for config struct for Linux gw

This avoids the following doxygen warning:
warning: Compound config is not documented.
2020-06-06 09:45:13 +02:00
Olivier
dd91aeb9c3 Library & CI maintenance (#1394) 2020-02-26 12:28:37 +01:00
Olivier
409b079b69 RPI: Add support for RPI4 (#1364) 2019-11-23 09:59:14 +01:00
hannesweisbach
60d62cae7d Fix double free (#1366)
_fileName and _values have to be re-set to NULL, otherwise a
double-free might occur.
2019-11-13 15:27:00 +01:00
hannesweisbach
409902d459 Fix potential buffer overflow (#1365)
Use snprintf instead of sprintf to avoid a potential buffer overflow.
2019-11-12 20:40:08 +01:00
Olivier
36ec4f8624 Fix issues after CPPcheck 1.88 update (#1308) 2019-07-14 21:17:24 +02:00
Yveaux
e1d22d5d3a Added getSleepRemaining to core (#1286) 2019-04-26 08:52:29 +02:00
Olivier
a1282f358a Code maintenance (#1279)
* Code maintenance

* Code maintenance
2019-04-20 16:22:12 +02:00
Mikael Falkvidd
ea093e5afc Rpi: flush log file (#1269)
The log file was no flushed, which meant that the lines logged
would not be visible in the file until (much) later, often
not until the gateway process exited.

By flushing the file, log information becomes available immediately.
2019-03-13 21:31:02 +01:00
tekka
71b06987ab Code maintenance (#1261) 2019-01-27 20:58:06 +01:00
tekka
2adfcc8ace Add unified HwDebugPrint() (#1251) 2019-01-06 18:11:32 +01:00
tekka
36cdaf4a8e Add hwSPI to HAL (#1234) 2019-01-06 17:06:49 +01:00
tekka
bde7dadca6 Implement CPUTemperature() (#1225) 2018-11-04 13:27:28 +01:00
tekka
8e8f44b402 Code updates & harmonization (#1201) 2018-10-21 16:55:24 +02:00
tekka
6ffe29cb5f Code maintenance (#1186) 2018-08-22 20:50:16 +02:00
tekka
2e406f5135 Introduce CryptoHAL, optimize crypto functions (#1178) 2018-08-21 19:30:11 +02:00
Marcelo Aquino
3c0b2727a5 Linux: Support keys in config file (#1093)
- Signing and encryption keys are set through the configuration file.
- SoftEeprom update.
2018-04-04 20:43:13 +02:00
Marcelo Aquino
2175c993ef Linux: Use config file for gateway settings (#1061)
- The following settings can be use on the config file:
  - verbose=[debug,info,notice,warn,err] - Logging verbosity.
  - log_file[0|1] - Enable logging to a file.
  - log_filepath=(FILE) - Log file path.
  - log_pipe=[0|1] - Enable logging to a named pipe(aka fifo).
    Use this option to view your gateway's log messages from the
    log_pipe_file (defined below).
    To do so, run the following command on another terminal:
    - $ cat "log_pipe_file"
  - log_pipe_file=(FILE)
  - syslog=[0|1] - Enable logging to syslog.
  - eeprom_file=[/etc/mysensors.eeprom]
  - eeprom_size=[1024]
- Change some mysgw parameters:
  - Added:
    - -q, --quiet:  for quiet mode, disable log messages written to the
    terminal.
  - Removed:
    - -d, --debug: removed, log messages are now enabled by default.
  - Replaced:
    - -b, --background: replaced by --daemon
- isatty() is no longer used, log messages by default are printed to
  stderr unless the gateway is started with --quiet (#1022)
- MY_LINUX_CONFIG_FILE: no longer holds the path to the eeprom file,
  but to the configuration file
2018-03-23 11:00:34 +01:00
Marcelo Aquino
54fb250ab2 Linux: Serial minor update (#1053)
- The symlink name for the PTY device is set using --my-serial-port
  making --my-serial-pty deprecated
- Replace MY_LINUX_IS_SERIAL_PTY with MY_LINUX_SERIAL_IS_PTY
- MY_DEBUGDEVICE can be used to print debug messages from MySensors
  (as it is currently in the other architectures)
- Rename SerialSimulator class to StdInOutStream
- Remove old deprecated option --my-radio
2018-02-13 13:22:27 +01:00
tekka
6794c72ecd Restructure transport HAL (#1062) 2018-02-11 16:48:11 +01:00
Patrick Fallberg
8a1f5f4cf9 Revamp the simple password flag and rPi fixes (#1056)
MY_SIGNING_SIMPLE_PASSWD is now
called MY_SECURITY_SIMPLE_PASSWD.
MY_SIGNING_SIMPLE_PASSWD only affects signing,
and a new flag, MY_ENCRYPTION_SIMPLE_PASSWD
only affects encryption.
MY_SECURITY_SIMPLE_PASSWD enable both these flags.

The rPi port has been improved to support more
security settings and it is now also possible to
enable encryption for RFM69 transport.

Documentation has been improved to provide a
"Security" section under "Library customisation"
which has a table that summarize all security
related configuration flags, and the corresponding
rPi configuration flags.

The signing personalization documentation has been
updated to include the procedure for rPi.

Fixes #1055
2018-02-11 11:22:48 +01:00
tekka
e2ac85afbb Reshuffle arch files (#974) 2017-11-06 21:24:38 +01:00