Find number of endpoints in Driver

Hi folks,

Looking at writing first driver, and i'm curious in the case of a zigbee device with multiple endpoints is there a way in the installed/configure method i could check the number of endpoints to set the number of buttons?

Cheers,

Glenn.

Because my version has 3, but the device comes in 1 /2 /3 configurations so was thinking that I could make a driver that works for all of em. :wink:

Don't physically have all three though, so wouldn't be able to determine the differences. Was hoping there was a programmatic way of discovering the endpoints.

Hi, I'm thinking of buying one of this zigbee switch.
Did you manage to write a driver to work with it ?
Does it support single press, double press and long press button function ?
Thank you.

Here's a link to the driver and it does support single press, double tapped and held.

Thanks a lot @at9