thelsing / knx

knx stack (TP, IP and RF) for arduino and linux, Can be configured with ETS
GNU General Public License v3.0
257 stars 91 forks source link

Added FunctionProperty Callback #238

Closed thewhobox closed 1 year ago

thewhobox commented 1 year ago

Added a callback for FunctionProperty. Now we can use it in OGM-Common Modules so the ETS can communicate with the device (via Buttonscripts).

Also fixed the length. (Request was always 1 byte to short, and Response 1 byte to long)

thewhobox commented 1 year ago

I accidentally added the adc response. This it not tested yet..

please wait for merge until i tested it.

thewhobox commented 1 year ago

Fixed and tested ADCResponse.

If you read now the DeviceInfo via ETS it won't stock because Stack doesn't send an answer. It now responds an "error" (just an empty adc value, like specified in spec) to ets so it will continue.