Commit Graph

2120 Commits

Author SHA1 Message Date
hypnosiss
43d4a148d2 Add new type of sensor data - V_TILT (#1570)
Co-authored-by: Mariusz Waszczynski (Nokia) <mariusz.waszczynski@nokia.com>
2025-07-03 10:46:02 +02:00
Olivier
3020658f9a Update RF24.cpp (#1569)
Fix #1568
2025-05-05 11:07:26 +01:00
Frantisek Repkovsky
e298769eb7 Fix building RFM69 gw on 64-bit OS (#1559)
Rollback change done in #1551 (the issue was fixed in #1500)
2024-01-28 09:36:07 +01:00
pixel::doc
0af72015da Update MyConfig.h (#1554)
URL for allowed (German) Channel updated.
2023-10-20 20:58:54 +02:00
Frantisek Repkovsky
27849cbc88 Fix mysgw configure script and building RFM69 gw on 64-bit OS (#1552)
* Fix configure script errors on 64-bit OS (#1550)

Use only gcc flags relevant to aarch64 for 64-bit RPI SoCs on 64-bit
OS version

* Fix mysgw build errors on 64-bit OS (#1551)

Force data type for the parameter of min() function to avoid conflicts
2023-10-13 20:52:35 +02:00
lyuboasenov
8d45e7bad7 Add support for ATtiny 3224/7 (#1535)
* Add hal for megaAvrs

* Add mcu selector setting

* Register hal

* Pull up pins to save power

* Remove dead code

* Add before/after sleep delegates

* Remove pin turn stable state setting

* Make hardware messages mysensors alike

* Enable route size reduction for devices with smaller eeprom

* Add macro for routes size to keywords

* Fix keyworkds.txt - using tabs instead of spaces

* Remove tinyAVR hardware debugging

* Remove unused macros

* Remove .history folder

* Fix formatting according to astyle

* Remove unused count variable

* Update MyTransportHAL.cpp

---------

Co-authored-by: Olivier <tekka007@users.noreply.github.com>
2023-10-12 08:47:53 +02:00
Vita
aa3583c50f Fix compilation of RFM69_new driver on aarch64 architecture (#1500) 2023-10-07 12:06:35 +02:00
Olivier
64fcecee46 Fix Jenkins warnings (#1548)
* Added support for ASR650x and SX126x

* Added support for ASR650x and SX126x

* Fix jenkins warnings

---------

Co-authored-by: Eduard Iten <eduard@iten.pro>
2023-06-17 14:40:41 +02:00
Eduard Iten
b9c4a4cd56 Enable light sleep on ESP32. Fixed style (#1546) 2023-04-04 22:34:22 +02:00
Paolo Rendano
aa520cea83 Switch WaterPulseSensor example to m3/h (#1541) 2023-02-08 13:40:35 +01:00
Paolo Rendano
bf79d13c19 WaterPulseSensor example improvements (#1540) 2023-01-27 23:14:11 +01:00
Olivier
093afa0a8a Update CI (#1531) 2022-09-04 10:06:00 +02:00
Nik Collins
94fa567c97 Fix nrf5-esb-mode default (#1473) 2022-09-04 09:15:14 +02:00
ltigges
a7d692f518 Removed a bug in MyMainSAMD.cpp to support ATSAM without USB (#1532) 2022-08-21 17:31:40 +02:00
Olivier
253109d3ff Upate CI and HW defs (#1530) 2022-07-24 10:55:35 +02:00
Virtual Maker
6e4206b0f0 Simplify MyMainESP8266 for core 3.0.x (#1496) (#1524)
and replace ICACHE_RAM_ATTR by IRAM_ATTR
2022-07-08 15:04:50 +02:00
Marcin Kamionowski
7f2fa37c03 Fix buffer overflow (#1525)
Co-authored-by: Marcin Kamionowski <marcink@sparkbit.pl>
2022-07-08 10:26:39 +02:00
Virtual Maker
40a3b2f921 Change N2N if destination is not parent or broadcast (#1478) (#1479) 2022-07-08 10:25:08 +02:00
gryzli133
8b51ea798e Update MyTransportPJON.cpp (#1526)
Enabling to define different value of PJON_POLLING_DURATION
2022-07-08 10:22:54 +02:00
Tico06
97a70a1407 New TLS implementation (#1520)
* 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 /*
2022-07-08 10:16:03 +02:00
prawnpie
b49817b440 Signing docs proofread - fixing English and cleaning up wording (#1522)
* Signing docs proofread

* Fix trailing spaces
2022-07-08 09:42:19 +02:00
Virtual Maker
3f37f8d91a Replace memset() in PJONDefines.h to avoid build warning (#1527) (#1528) 2022-07-06 21:12:45 +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
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