3 ms·
One issue with open interfaces for these kinds of applications is BT-LE itself. It is nominally designed as open standard for transferring exactly this kind of
by dfox 6y ago
One issue with open interfaces for these kinds of applications is BT-LE itself. It is nominally designed as open standard for transferring exactly this kind of data, but it cannot do anything else than SNMP-like get/put/trap on some attribute, so everybody ends up designing their own proprietary L4 TCP-like protocol on top of attribute writes and reads to accomplish anything interesting.
- floatboth 6y agoMost "smart" devices don't need anything beyond attributes, heck, some of them (thermometers and the like) could just fit all the data into a beacon advertisement! Manufacturers often do really silly things like encoding all the data into one custom attribute: https://github.com/open-homeautomation/miflora/blob/31e59bdb20dc7262ea5ee2964eeed8753806f420/miflora/miflora_poller.py#L201-L224 https://github.com/open-homeautomation/miflora/blob/31e59bdb... All of this easily could've been done with standardized attributes but fuck interoperability lol. > it cannot do anything else than SNMP-like get/put/trap on some attribute It can do whatever you want. Nobody is forcing you to use ATT, you can speak anything over L2CAP.