* Unify STM32 implementation, remove legacy STM32F1
* Add build stage for STM32F4 examples
* Apply restyling patch
* Update fqbn for STM32F1 and STM32F4 builds
* Update fqbn parameters for STM32F1 and STM32F4 builds
* Update fqbn for STM32F1 to use BLUEPILL_F103C8
* Add STM32F4 build stages to pipeline
* Fix condition for setting build status on failure
* Added support for ASR650x and SX126x
* Added support for ASR650x and SX126x
* Fix jenkins warnings
---------
Co-authored-by: Eduard Iten <eduard@iten.pro>
* New TLS implementation
Implement TLS to mqtt server thanks to WiFiClientSecure class
* New TLS implementation
Implement TLS to mqtt server thanks to WiFiClientSecure class
* New TLS implementation
Implement TLS to mqtt server thanks to WiFiClientSecure class
* New TLS implementation
Implement TLS to mqtt server thanks to WiFiClientSecure class
* Update MyConfig.h
Typo
* Update GatewayESP8266SecureMQTTClient.ino
Typo
* MyGatewayTransportMQTTClient.cpp updated
Move tls settings to bool gatewayTransportInit(void)
* MySensors code styling applied by GIT
* Try to fix Doxygen warnings
* Doxygen warnings fixed hopefuly
* MY_GATEWAY_ESP8266_SECURE doc added
* MY_GATEWAY_ESP8266_SECURE doc completed
* Avoid platform cross compiling
* Replaced spaces indent by tabs
* Multilines comments to /*
* Remove unnecessary MY_IP_RENEWAL_INTERVAL*
Ethernet.maintain already checks when we need to renew, based on
the lease time given by the DHCP server.
https://www.arduino.cc/en/Reference/EthernetMaintain recommends
"just call it on every loop() invocation" so there is no
need for us to keep a separate timer.
* Remove call to _w5100_spi_en
This function doesn't enable SPI, so it should not
disable it either. Let calling functions handle SPI
enable/disable.
* 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.
* Rename "soft ack" to echo
The ack parameter is often confused with what might be called
"hardware ack"
(see https://forum.mysensors.org/post/34263 for one of many
lengthy discussions)
This change should make it harder to confuse echo with the
hardware ack, and reflects more accurately what will actually
happen.
This fixes https://github.com/mysensors/MySensors/issues/1103
I hope I have found all places where the naming needs to be
changed, and that I haven't inadvertently renamed any of the
*real* ack stuff.
Thanks to @tekka007 for reviewing the changes
and catching my mistakes.
This fixes
https://github.com/mysensors/MySensors/issues/1089
and also adds Doxygen and syntax highlighting
for the following keywords:
MY_GATEWAY_MQTT_CLIENT
MY_GATEWAY_SERIAL
MY_IP_GATEWAY_ADDRESS
MY_IP_SUBNET_ADDRESS
MY_MQTT_CLIENT_ID
MY_MQTT_PUBLISH_TOPIC_PREFIX
MY_MQTT_SUBSCRIBE_TOPIC_PREFIX
- 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
* New Firmware OTA for NVM/mcuboot (nRF5)
- Support for mcuboot (nRF5)
- Support for run length encoded data
- Support for smaller FIRMWARE_BLOCK_SIZE, if required
* Update NVM
* New MY_LOCK_MCU for NRF5
* Test with Sensebender GW + Sensebender Micro was successful
- 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
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