Commit Graph

2147 Commits

Author SHA1 Message Date
klaudiusz223
4afa7a6443 RS485: Fix Auto ID assignment (#1451)
* S485: Fix auto id assignment

* RS485: assertDE(),deassertDE() cleanup

Co-authored-by: Klaudiusz <Klaudiusz>
2022-04-14 07:39:01 +02:00
Mikael Falkvidd
263ea26363 Mysgw configure: Exit on illegal parameters (#1519)
The user probably made a mistake. Let the user correct the mistake
before continuing.

Ref: https://github.com/mysensors/MySensors/issues/1518

Example output after this change:
$ ./configure --my-transport=laser
[SECTION] Detecting target machine.
[OK] machine detected: SoC=unknown, Type=unknown, CPU=x86_64.
[SECTION] Checking GPIO Sysfs.
  [WARNING] /sys/class/gpio/export not found.
[SECTION] Detecting SPI driver.
  [WARNING] No supported SPI driver detected. Using SPIDEV.
[SECTION] Gateway configuration.
  [OK] Type: ethernet.
[ERROR] Invalid transport type laser.
$ ./configure --my-mqtt-username=user
[ERROR] Unknown option detected: --my-mqtt-username=user
2022-04-07 14:16:05 +02:00
Constantin Petra
d62ca6d426 Add multi-message support (#1517) (#1515)
Excellent contribution by @cpetra ! Thanks to @virtual-maker for extensive feedback on the PR.
2022-02-17 22:46:40 +01:00
Julian Sanin
aa76d26615 Update hwCPUVoltage to support ATmega1284P (#1494)
Thanks for this contribution @j54n1n 

That microcontroller gets used for example on the MoteinoMEGA board
from LowPowerLab.

Resolves: #1442
See also: https://lowpowerlab.com/guide/moteino/
2021-07-27 12:52:15 +02:00
Johnny
7a5a98f548 ATmega328PB: deactivate bod during power down (#1493) 2021-07-01 22:31:27 +02:00
Olivier
2e00bf6a10 Add PJON transport layer (#1278)
* Add PJON transport layer

* Update PJON 13.0

* PJON transport now non-blocking, fixed polling

Co-authored-by: Giovanni Blu Mitolo <gioscarab@gmail.com>
2021-03-20 10:26:12 +01:00
Jens J
dc562a2c09 Improve logparser compatibility (#1469)
Co-authored-by: Jens Jensen <jjensen@verizonmedia.com>
2021-03-20 10:16:07 +01:00
functionpointer
05fe0751d5 Fix build errors on raspberry pi (#1454) 2021-03-20 10:13:34 +01:00
Olivier
96856f04cc FixSTM32 (#1481) 2021-03-14 20:27:09 +01:00
Mikael Falkvidd
65f9465cec Add internal battery measurement example (#1470)
* Add internal battery measurement example

* Use existing hwCPUVoltage()

* Make debug output prettier
2021-02-22 20:57:35 +01:00
Nik Collins
ce21a30100 NRF5: Add nrf52805 support (#1461)
* Exclude cache for NRF52805
* Check and handle unsupported modulation rates
* Make PPI channel selection dynamic, based chip specific channel count
2021-01-10 14:57:23 +01:00
d00616
8903b93632 Merge pull request #1455 from d00616/nrf_esb_redesign
NRF5 ESB redesign
2020-12-30 19:18:04 +01:00
Mikael Falkvidd
9c01b138c6 Fix bug in regex for TSF:RTE (#1462) 2020-12-23 14:42:54 +01:00
d00616
f72c822caa NRF5 ESB redesign
- simplified logic
- add collision handling
- timer controlled handling nRF52822 PANs
2020-12-10 11:14:43 +01:00
Olivier
01d8d10153 RF24: Fix wrongly reported TX level (#1457) 2020-11-28 10:41:16 +01:00
Mikael Falkvidd
8f1f8ad241 Revert "NRF5: Fix ESB deadlock (#1445)" (#1448)
This reverts commit 348e3a7d99.
2020-11-07 21:37:35 +01:00
d00616
348e3a7d99 NRF5: Fix ESB deadlock (#1445) 2020-11-07 08:12:08 +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
Michiel van der Wulp
6c4b8055f7 Support also development on OpenSuse (#1378)
* Support also OpenSuse. On OpenSuse Leap 15.1, the OSTYPE is simply 'linux'.

* This commit hook should be an executable file
2020-10-27 08:26:09 +01:00
Olivier
d88506fbc6 Update PubSubClient 2.8 (#1438)
Co-authored-by: Olivier <Olivier@nowhere.org>
2020-08-22 10:07:35 +02:00
Olivier
15f5c5e793 CI: Update CppCheck 2.1 (#1440) 2020-08-21 19:41:32 +02:00
Olivier
46f0e961cc CI: Update to Arduino 1.8.13 (#1434)
Co-authored-by: Olivier <Olivier@nowhere.org>
2020-08-18 14:44:42 +02:00
Mikael Falkvidd
d04e751387 Remove unnecessary MY_IP_RENEWAL_INTERVAL* (#1429)
* 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.
2020-06-24 08:18:50 +02:00
Alexander
46f243c070 hwCPUTemperature for NRF5 implementation (#1423)
* Implement hwCPUTemperature for NRF5 chip

Get temperature via NRF_TEMP->TEMP

* Fix hwCPUTemperature

Change Temperature type to int32_t

* Implement address anomalies

* Replace wait with delay
2020-06-17 10:00:32 +02: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
Mikael Falkvidd
6059d84c1c Clarify MAC address requirements (#1427) 2020-06-03 17:38:01 +02:00
ltigges
9648e1a429 Corrected typo in MyHwAVR.cpp (#1426) 2020-06-03 15:27:04 +02:00
Sinisha Djukic
e91b6fd514 Update bootstrap and tooling instructions (#1417)
* Update bootstrap with sleeps to view error/success in PowerShell

* Update tooling instructions with latest tool versions
2020-05-17 08:11:00 +02:00
Sinisha Djukic
3308df3a13 Add sleep handler to optimize low-power sleep (#1418)
* Add sleep handler to optimize low-power sleep

* Add sleep handler to optimize low-power sleep

Committer: Sinisha Djukic <s.djukic@gmail.com>

Author:    Sinisha Djukic <s.djukic@gmail.com>
Date:      Wed May 13 08:51:48 2020 +0300
Committer: Sinisha Djukic <s.djukic@gmail.com>
	modified:   MyConfig.h
	modified:   core/MySensorsCore.cpp
	modified:   core/MySensorsCore.h
	modified:   keywords.txt

* Whitespace fixed

* Fixed compiler warning

Committer: Sinisha Djukic <s.djukic@gmail.com>
Author: Sinisha Djukic <s.djukic@gmail.com>

Co-authored-by: Djukic Sinisha (INST/RBR2-BG INST/ESU) <djs1wa3@bosch.com>
2020-05-13 22:49:38 +02:00
Olivier
8103c6cf6b Fix STM32F1 capability indicator (#1408) 2020-04-19 17:31:30 +02:00
Patrick Fallberg
97d3867ba3 Update documentation retention (#1386)
- Documentation published for pull requests are
  only kept for the newest build.
- Documentation published for master/development
  is purged after being published to site.
2020-04-12 13:58:58 +02:00
Patrick Fallberg
6e1a20d25a Update jenkinsfile to clean old jobs (#1384)
Jobs will be kept for 7 days with at most 3 jobs in memory.
2020-04-12 13:58:40 +02:00
Olivier
3b28f487a3 ESP32: Fix memory leak in crypto functions (#1402) 2020-04-12 13:53:21 +02:00
Olivier
caa95bd6fe Update Log parser (#1396) 2020-03-27 09:48:14 +01:00
Michiel van der Wulp
7a24f103d1 Update DimmableLEDActuator.ino (#1395)
Thanks @mvdw !
2020-03-17 22:21:52 +01:00
Alfredo
112a28ae36 Fixes MQTT_GW: Dynamic subscribe topic declaration (#1388) 2020-03-01 18:26:37 +01:00
Alfredo
869d6d2aa0 Added support for MQTT over SSL/TLS (#1387)
* Added support for MQTT over SSL/TLS

* Added documentation on new parameters
2020-02-26 21:55:32 +01:00
Olivier
636815b88e Fix missing define (#1392) 2020-02-26 15:18:37 +01:00
Olivier
dd91aeb9c3 Library & CI maintenance (#1394) 2020-02-26 12:28:37 +01:00
Henrik Ekblad
397b70f37b Fix logparser frequency regexp (#1380) 2020-01-06 15:47:04 +01:00
Olivier
9040272ccb Development version 2.4.0-alpha (#1373) 2019-12-09 22:43:02 +01:00
Olivier
b9d9cc3396 MySensors 2.3.2 release 2.3.2 2019-12-09 12:37:43 +01:00
Olivier
3e2c5420d4 Bumping version to 2.3.2-rc.1 (#1362) 2019-11-23 09:59:41 +01:00
Olivier
409b079b69 RPI: Add support for RPI4 (#1364) 2019-11-23 09:59:14 +01:00
Patrick Fallberg
be4d6a8874 Add fuse chapter to signing troubleshooting (#1369) 2019-11-23 09:58:46 +01:00
Olivier
3fff954f29 ESP8266: Update to 2.6.1 (#1370) 2019-11-15 22:55:51 +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
ltigges
b7bed69113 Add MY_RS485_DE_INVERSE define to invert the device enable pin polarity (#1358)
* Add MY_RS485_DE_INVERSE define to invert the device enable pin polarity
2019-11-06 11:34:43 +01:00
Mikael Falkvidd
b9798e4a1d Update mystools/README.md for WSL (#1361)
Thanks to @ltigges and @mkaiser for noticing that the documentation
needed an update and providing input.

This fixes #1359
2019-11-06 09:34:16 +01:00