Commit Graph

314 Commits

Author SHA1 Message Date
thelsing
4ef513410a
Merge pull request #42 from nanosonde/rf_smode_cleanup
Add new KNX medium type RF for SAMD and Linux platform
2019-10-28 19:03:04 +01:00
nanosonde
ddea3eab99 knx-linux: use default MEDIUM_TYPE IP 2019-10-28 18:26:24 +01:00
nanosonde
eb87ec1fe9 Compile KNX-RF specific bau27B0 and layers only if MEDIUM_TYPE is 2 (RF).
For knx-linux add MEDIUM_TYPE 0 (TP) as default to the CMakeLists.txt
2019-10-28 14:03:35 +01:00
nanosonde
c93dc81367 Add default MEDIUM_TYPE 0 (TP) 2019-10-28 13:33:06 +01:00
nanosonde
9f2981abcb Add network layer primitives for broadcastIndication() and broadcastConfirm() 2019-10-28 12:39:15 +01:00
nanosonde
6e654d4bf5 Remove GPIO methods from platform classes 2019-10-28 12:08:01 +01:00
nanosonde
1bf8874c05 Change default bauNumber to zero 2019-10-28 11:04:15 +01:00
nanosonde
93a92228b8 Add enum for NM_Read_SerialNumber_By_* 2019-10-28 11:01:01 +01:00
nanosonde
e77f61d249 Use knx-demo-tp.xml as template for knx-demo-rf.xml 2019-10-28 10:25:51 +01:00
nanosonde
c9819663fa Remove knx-rf-demo folder and move doc 2019-10-28 10:18:26 +01:00
nanosonde
b9e42c16d2 Fix Linux compilation 2019-10-27 14:10:05 +01:00
nanosonde
8a3d5edd8f Make max APDU length and interface object list configurable in device object 2019-10-27 10:54:42 +01:00
nanosonde
3625f31d95 Add README.md to KNX-RF demo folder 2019-10-27 10:03:48 +01:00
nanosonde
0c8a79edbd Add KNX RF example 2019-10-25 17:13:59 +02:00
nanosonde
b4923815fe Fix blanks 2019-10-25 17:01:04 +02:00
nanosonde
d79e022b76 Add fixes after review with upstream 2019-10-25 16:47:44 +02:00
nanosonde
fc0153e52a initial KNX RF S-Mode support 2019-10-25 16:41:29 +02:00
thelsing
eaab7d7548
Update apdu.cpp
fix short acpi detection
2019-10-23 22:16:48 +02:00
thelsing
3063bf8195
Update .travis.yml 2019-10-15 09:50:46 +02:00
mumpf
70f387a7b9 "Restart device" implementation (#38)
* corrected float with DPT9

* Switch Programming-LED also via Bus/ETS

* Again: Prog-LED switchable from bus/ETS

* DPT16 (to bus) implemented

* - Allows ProgButton interrupts on FALLING signal

* restart device command

* - removed magic numbers
- added enum for restart states
2019-10-15 09:49:50 +02:00
mumpf
4a0b46e062 Progbutton interrupt (#35)
* corrected float with DPT9

* Switch Programming-LED also via Bus/ETS

* Again: Prog-LED switchable from bus/ETS

* DPT16 (to bus) implemented

* - Allows ProgButton interrupts on FALLING signal
2019-09-14 18:24:34 +02:00
henfri
6c3bbfe5a5 Update knx-bme680.ino (#36)
* Update knx-bme680.ino

Remark for .iaq vs. .iaqEstimate for BSEC_1.4.7.4

* Update knx-bme680.ino

Improvement of output
2019-09-14 18:23:00 +02:00
Bernator
4a877cc1b5 Debounce prog button (#34)
* bugfix, print not allowed in constructor

* Update tpuart_data_link_layer.cpp

- start confirm timout only after last byte was sent
- increase BYTE_TIMEOUT

* debounce progbutton
2019-09-12 23:23:15 +02:00
Bernator
afd07d10cb Bugfix, change debug uart not possible (#33)
* bugfix, print not allowed in constructor

* Update tpuart_data_link_layer.cpp

- start confirm timout only after last byte was sent
- increase BYTE_TIMEOUT

* -bugfix, change debug Uart not possible

* Update esp32_platform.cpp

* Update esp_platform.cpp

* Update knx-bme680.ino

* Update knx-demo.ino

* Update knx-hdc1008.ino

* Update knx-sonoffS20.ino
2019-09-09 20:10:56 +02:00
Thomas Kunze
7cdc104b29 Merge branch 'master' of https://github.com/thelsing/knx 2019-09-09 19:07:34 +02:00
Thomas Kunze
3d90532feb add forgotten initialisation code 2019-09-09 19:07:22 +02:00
Bernator
68b0002490 Arduino set Knx uart bugfix (#32)
* bugfix, print not allowed in constructor

* Update tpuart_data_link_layer.cpp

- start confirm timout only after last byte was sent
- increase BYTE_TIMEOUT

* -bugfix Arduino set knxUart

* Update knx-bme680.ino

* Update knx-demo.ino

* Update knx-hdc1008.ino

* Update knx-sonoffS20.ino

* Update knx-bme680.ino

* Update knx-demo.ino

* Update arduino_platform.cpp

* Update dpt.h

* Update esp32_platform.h

* Update esp_platform.h
2019-09-09 18:19:09 +02:00
Thomas Kunze
f2d45b233a add defines for datapoint types 2019-09-02 22:55:23 +02:00
Thomas Kunze
5577774ef9 print warning on DPT *.0 2019-09-02 22:04:07 +02:00
Thomas Kunze
923e50bf9c fix bme680 example 2019-09-02 22:00:45 +02:00
Thomas Kunze
607e386578 rename getter/setter 2019-09-02 21:16:51 +02:00
Fabian Schmieder
8d5dc5bf73 setter/getter & overloaded constructor (ArduinoPlatform) for HardwareSerial-object (#31)
* added overload to platform constructors for custom HardwareSerial-object

* added setter/getter setUart & getUart

* set Serial1 as default UART for ESP32
2019-09-01 20:49:28 +02:00
Thomas Kunze
cdcfbb4e83 fix connect 2019-08-31 03:00:35 +02:00
Thomas Kunze
5a93bbc91c create ArduinoPlatform to reduce code duplication 2019-08-26 21:26:55 +02:00
Fabian Schmieder
14d2da82f1 added ESP32 platform (#30)
* added ESP32 platform

* fixed typo in comments
2019-08-26 13:45:14 +02:00
Thomas Kunze
2b7e24cab0 fix build 2019-08-23 10:56:02 +02:00
Thomas Kunze
d23613ad65 convert KnxFacade to a template class 2019-08-22 22:57:35 +02:00
Thomas Kunze
db740d6687 remove mdelay and millis from platform 2019-08-22 21:31:02 +02:00
mumpf
da5466ab02 DPT16 (to bus) implemented (#28)
* DPT16 (to bus) implemented
2019-08-18 19:40:08 +02:00
mumpf
74fe42acaf corrected float with DPT9 (#27)
* corrected float with DPT9

* Switch Programming-LED also via Bus/ETS

* Again: Prog-LED switchable from bus/ETS
2019-08-17 21:14:46 +02:00
Bernator
626d1b73d1 bugfix nextAsap, translateAsap, Tx extended frame format (#26)
* bugfix, print not allowed in constructor

* Update tpuart_data_link_layer.cpp

- start confirm timout only after last byte was sent
- increase BYTE_TIMEOUT

* bugfix nextAsap, translateAsap

* bugfix Extended Frame Format TX
2019-08-09 17:34:43 +02:00
Bernator
1c53cf83cd start confirm timout only after last byte was sent (#25)
* bugfix, print not allowed in constructor

* Update tpuart_data_link_layer.cpp

- start confirm timout only after last byte was sent
- increase BYTE_TIMEOUT
2019-08-06 21:08:06 +02:00
Thomas Kunze
de8f4631b6 change association table to format 1 (see 3_5_1 p 157) 2019-07-26 23:00:08 +02:00
Thomas Kunze
8e9aef17ab improve encapsulation of accociation table 2019-07-26 22:07:20 +02:00
Thomas Kunze
b4c8671dbb Merge branch 'master' of https://github.com/thelsing/knx 2019-07-24 22:28:20 +02:00
Thomas Kunze
1e804d459e add float to knxValue 2019-07-24 22:28:11 +02:00
Bernator
d6278192a0 add timeout for TPUART reset (#23)
* bugfix, print not allowed in constructor

* add timeout for chip reset
2019-07-23 20:39:41 +02:00
Bernator
0a8c231627 bugfix, print not allowed in constructor (#22) 2019-07-23 19:19:21 +02:00
Thomas Kunze
13b1cff315 fix dpt9 for small values 2019-07-15 22:53:21 +02:00
Thomas Kunze
b3f6a0e3fa initialize all fields (hopefully) 2019-07-15 21:50:04 +02:00