hansmbakker / nuimo-mqtt-manager

Publishes Nuimo events over MQTT so that apps written in different languages running on different devices can interact with Nuimo at the same time
10 stars 1 forks source link

Adjust RegEx to also support short UUIDs used by Noble #5

Closed tolleiv closed 1 year ago

tolleiv commented 7 years ago

Hi, it seems that depending on the platform or BLE driver the device UUID might be shorter or longer. This PR adjusts the RegEx used to validate the mqtt topics which might also be created with short UUIDs.

In my case the topics created looked like this: "nuimo/f4e82c73c23d/hue".

Cheers