knx icon indicating copy to clipboard operation
knx copied to clipboard

Arduino ethernet sheild supported?.

Open anand-010 opened this issue 1 year ago • 1 comments

i am tring to implement ip interface using ethernet sheild with arduino but i've only found wifimanager example. is it possible to use it with any arduino ethernet sheild?.

anand-010 avatar Dec 06 '23 04:12 anand-010

That shouldn't be too hard. You only have to create a Bau for Knx-IP: KnxFacade<Esp32Platform, Bau57B0> my_knx; and use it. The arduino platform currently lacks support for ethernet. You would have to add it. The methods virtual void setupMultiCast(uint32_t addr, uint16_t port); virtual void closeMultiCast(); virtual bool sendBytesMultiCast(uint8_t* buffer, uint16_t len); virtual int readBytesMultiCast(uint8_t* buffer, uint16_t maxLen); must be implemented for that. Look at the esp platforms for examples.

thelsing avatar Dec 06 '23 13:12 thelsing