Commit Graph

542 Commits

Author SHA1 Message Date
thelsing
4deead3342
Merge pull request #269 from mgeramb/FixRP2040UARTPinHandling
Fix for RP2040 UART pin handling: Setting of uart pins moved setupUart
2024-01-02 15:20:37 +01:00
Michael Geramb
c1691b7e81 Fix for RP2040 UART pin handling: Setting of uart pins moved setupUart method. 2023-12-31 14:25:24 +01:00
thelsing
7215f470af
Merge pull request #264 from OpenKNX/feature_activitycallback
Add activity callback function
2023-12-26 21:24:55 +01:00
Ing-Dom
142e0a2325 fixing issues from PR review 2023-12-26 13:48:50 +01:00
thelsing
946d116e63
Merge pull request #267 from OpenKNX/rp2040_ip_merge2
IP support for RP2040 plattform
2023-12-26 13:13:03 +01:00
thelsing
a1b7e5d459
Merge pull request #268 from mgeramb/setUartPins
Allow to set uart pins for RP2040 and ESP32 platform
2023-12-26 13:11:07 +01:00
Michael Geramb
ddd8284578 Allow to set uart pins for RP2040 and ESP32 platform 2023-12-25 19:45:52 +01:00
Ing-Dom
311abdd88f redesigned the activitycallback without using the facade and with a more flexible approach.
For performace reasons, the calls in the actual link layer is only activated when KNX_ACTIVITYCALLBACK is defined.

There is now a DataLinkLayerCallback class where a specific Bau *can* inherit from and - if the specific link layer supports it, pass itself to that linklayer(s).
2023-12-25 16:34:40 +01:00
Ing-Dom
470ec8b521 this adds IP (WiFi and wired Ethernet) support to the rp2040 platform.
It includes also some optimizations for KNX-IP in general.

Squashed commit of the following:

commit 14bf9bef25ccc2c9bddefe7c8f1e0f6b1d63b3bc
Author: Ing-Dom <dom@ing-dom.de>
Date:   Sun Dec 24 10:17:05 2023 +0100

    clean up, remove KNX_LOG_IP

commit 57223e46e414010662772989c2520cf1960ed268
Merge: 2911448 a870dd8
Author: Ing-Dom <dom@ing-dom.de>
Date:   Sun Dec 24 10:10:19 2023 +0100

    Merge remote-tracking branch 'remotes/origin/master' into rp2040_ip

commit 2911448d22a454aacae472762677381acce6a159
Merge: 8ac6aec 3c29d16
Author: Dom <dom@ing-dom.de>
Date:   Wed Dec 20 10:04:32 2023 +0100

    Merge pull request #13 from OpenKNX/fix_serialnumber

    Fix serialnumber

commit 8ac6aeccce20a9e5e1bbf5300008a72383f7ee71
Author: Ing-Dom <dom@ing-dom.de>
Date:   Thu Dec 14 12:28:02 2023 +0100

    fix macAddress reading for Wifi

commit 9db2cd58708e9d7bbfd485ada2ff38c829447c42
Author: Ing-Dom <dom@ing-dom.de>
Date:   Tue Dec 12 13:08:53 2023 +0100

    remove LARGE_BUFFERS and clean up header files of ETHERNET_GENERIC

commit 2f229ae90c6f72e01c2a9b9efe134f75fc85547c
Author: Ing-Dom <dom@ing-dom.de>
Date:   Tue Dec 12 00:56:32 2023 +0100

    temporary fix, solution needed for tunneling

commit f6e7e619a454f43db10e644b41c58b43a1a2b453
Author: Ing-Dom <dom@ing-dom.de>
Date:   Mon Dec 11 13:54:26 2023 +0100

    unified approach for different ip stacks with rp2040 plattform

commit 4723edab84986bca6d31ea7b3083b1b7b8ef907e
Author: Marco Scholl <develop@marco-scholl.de>
Date:   Mon Dec 11 08:34:25 2023 +0100

    wip

commit 5bf3e615c8649dd9c34be7b1fe6ad4062ce96c34
Author: Ing-Dom <dom@ing-dom.de>
Date:   Thu Dec 7 14:53:42 2023 +0100

    ip and not ip in one rp2040 plattform

commit aaca34a237686c5389888b7bd040b860331bdbff
Merge: fd97f59 d44606d
Author: Dom <dom@ing-dom.de>
Date:   Wed Dec 6 15:30:17 2023 +0100

    Merge branch 'thelsing:master' into rp2040_lwip

commit fd97f5920ef486ca955f5425cbcaec062e3ef977
Author: Marco Scholl <develop@marco-scholl.de>
Date:   Thu Nov 30 23:19:13 2023 +0100

    dd sime ifdef to allow build without ip interface

commit c665a79db9cee7063dd77a155108633db81ef8e8
Author: Ing-Dom <dom@ing-dom.de>
Date:   Tue Nov 14 10:03:48 2023 +0100

    stub for handling SearchRequestExt to prevent console messages

commit 50745be66681616681f67d7bdf17008f5d19640d
Author: Ing-Dom <dom@ing-dom.de>
Date:   Tue Nov 14 00:02:49 2023 +0100

    adding ip support for rp2040 plattform
2023-12-24 10:20:23 +01:00
thelsing
a870dd812d
Merge pull request #265 from OpenKNX/fix_serialnumber
fixes the serial number handling
2023-12-20 22:45:17 +01:00
Marco Scholl
3c29d16450 fix IndividualAddressSerialNumberReadResponse 2023-12-20 09:35:29 +01:00
Marco Scholl
38300f7e0d Revert "fix serialNumberReadResponse"
This reverts commit 9f28f8efd2.
2023-12-20 09:24:29 +01:00
Ing-Dom
53842ad0c5 Add the possibility to have a callback function signaling knx activity (for e.g. flashing LEDs)
Can be enabled with KNX_ACTIVITYCALLBACK

# Conflicts:
#	src/knx/ip_data_link_layer.cpp
2023-12-17 14:53:50 +01:00
thelsing
d44606df72
Merge pull request #262 from OpenKNX/fix_serialreadnumberresponse
fix serialNumberReadResponse
2023-12-06 13:30:53 +01:00
thewhobox
9f28f8efd2 fix serialNumberReadResponse 2023-12-01 20:25:58 +01:00
thelsing
e602b59fe3
Merge pull request #261 from OpenKNX/remove-byteorder-rp2040
remove byteorder macros for rp2040 platform
2023-11-03 14:50:48 +01:00
Marco Scholl
354e5f56bb remove byteorder macros for rp2040 platform as they are already included in lwip 2023-10-25 13:03:17 +02:00
thelsing
f8f34c5994
Merge pull request #259 from OpenKNX/fixes--increase-kFunctionPropertyResultBufferMaxSize
increase kFunctionPropertyResultBufferMaxSize to 0xFF
2023-09-20 21:51:36 +02:00
Marco Scholl
f89a3919e4 increase kFunctionPropertyResultBufferMaxSize to 0xFF 2023-09-14 19:55:20 +02:00
thelsing
43ed529115
Update conf.py 2023-09-09 21:31:37 +02:00
thelsing
cf09bcd128
Update .readthedocs.yaml 2023-09-09 21:16:48 +02:00
thelsing
6eba663035
Create .readthedocs.yaml 2023-09-09 21:13:09 +02:00
thelsing
4c16a38803
Merge pull request #256 from OpenKNX/add-flash-callback
add support for external flash system by using callbacks
2023-08-28 15:27:58 +02:00
Marco Scholl
3202b33fcb
add support for external flash system by using callbacks 2023-08-25 22:42:32 +02:00
thelsing
15bf1c0a9d
Merge pull request #257 from OpenKNX/devel
FIX: float16ToPayload
2023-08-25 15:22:16 +02:00
Waldemar Porscha
fd952c817e soved merge problem 2023-08-24 10:49:55 +02:00
Waldemar Porscha
a5c79214e3 Improved float16ToPayload correction 2023-08-24 10:43:21 +02:00
Waldemar Porscha
9c4e5d259a FIX: float16ToPayload
- all DPT9 numbers of the form (2^n)/100, n>10 (first value is 20.48) were converted to a payload of 0
- in other words: 20.48; 40.96; 81.92; etc. were send as 0!
2023-08-22 11:28:10 +02:00
thelsing
6dda682fa7
Merge pull request #253 from OpenKNX/feature/dpt-14-80
Add Support for DPT 14.080 (`DPT_Value_ApparentPower`)
2023-08-09 10:28:38 +02:00
thelsing
69d553df9c
Merge pull request #254 from OpenKNX/fix/dptconvert-8.010-to-busvalue
Fix: Conversion of DPT8.010 to Bus
2023-08-09 10:28:25 +02:00
thelsing
bf9c3ffab1
Merge pull request #255 from OpenKNX/fix-check-init-of-assoc-table
Fix check init of assoc table
2023-08-09 10:25:32 +02:00
Marco Scholl
2934782d3c
fix: check initalize AssociationTableData 2023-08-06 18:19:17 +02:00
Cornelius Köpp
efbbb52717 Fix: Writing Both Bytes of DPT8.010 to Bus 2023-08-02 23:01:14 +02:00
thelsing
f7ac39c66f
Merge pull request #251 from OpenKNX/fix_data_property_read_idx0
fixed wrong answers to property read
2023-07-13 11:08:46 +02:00
thelsing
aa57fdf482
Merge pull request #252 from OpenKNX/fix-buffer-overflow
Fix buffer overflow
2023-07-13 11:08:11 +02:00
Cornelius Köpp
3c2a371711 Add DPT 14.080 (DPT_Value_ApparentPower) 2023-07-02 14:04:32 +02:00
Waldemar Porscha
09985ea793 FIX: Allow setting of EOPR_TIMEOUT from pio.ini 2023-06-30 21:23:44 +02:00
John Doe
a5ba7bcd5e fixed wrong answers to property read:
with start = 0 (read the number of current elements) and current elements = 0 (empty property) 0 was returned which results in an error message when reading this property.
2023-06-26 10:15:51 +02:00
Waldemar Porscha
f8bd27b4b5 allow user defined OVERRUN_COUNT
reset _savedAsapXXX always to 0
2023-06-18 14:06:41 +02:00
thelsing
48000b25aa
Merge pull request #250 from Maggyver/master
New PlatformIO Build Flags "KNX_LED_ACTIVE_ON" , default is low
2023-06-16 11:18:38 +02:00
thelsing
494c76c7d8
Merge pull request #249 from OpenKNX/fix-tpuart-error
fix #247 - TPUART Error Message
2023-06-16 11:18:10 +02:00
thelsing
1a0ac5aaf2
Merge pull request #248 from OpenKNX/fix-functionPropRead
fix wrong functionPropertyState handling
2023-06-16 11:17:18 +02:00
thewhobox
e1596ebaf4 fix wrong functionPropertyState handling 2023-06-14 21:30:27 +02:00
Mike
c5fc04c487 fix-tpuart-error 2023-06-13 11:21:48 +02:00
Maggyver
90cafdbd01
New PlatformIO Build Flags "KNX_LED_ACTIVE_ON" , default is low 2023-06-11 14:38:40 +02:00
thelsing
245b82e627
Merge pull request #246 from OpenKNX/fix-reset-chip
fix: reset chip blocks
2023-05-29 19:10:34 +02:00
thelsing
dd092dbba0
Merge pull request #245 from OpenKNX/improve_ipDataLinkLayer_limit
Improve ip data link layer send limit
2023-05-29 19:09:33 +02:00
thewhobox
338aa1b825 fix reset chip 2023-05-28 12:06:55 +02:00
Ing-Dom
b088ffe10d Rename function for better understanding, fix inverse logic 2023-05-27 13:55:11 +02:00
Ing-Dom
49ae48eacb some minor improvements from first code review 2023-05-26 12:48:50 +02:00