Deomid Ryabkov

Results 363 comments of Deomid Ryabkov

worse, if an accessory was set up as BLE but is advertising on IP (e.g. when user configures wifi and that becomes available), controllers don't recognize it.

I'm also looking for guidance on the size of the scratch buffer - 32K is obviously a no go, but how much is really needed?

they may have reduced buffer size and/or number of sessions. this is why i'm looking for clarity on the required size. 32K seems excessive when the spec says max payload...

if anyone's interested, i've been gradually converting static allocations to dynamic in my Mongoose OS port: [readContexts](https://github.com/mongoose-os-libs/homekit-adk/commit/ace7e0f915bfb04090b4d2f012c69afb39fbf0b4), [writeContexts](https://github.com/mongoose-os-libs/homekit-adk/commit/5a97a69b3d4ef23f24cd9b82ab3d38a35f0f0496), [eventNotifications](https://github.com/mongoose-os-libs/homekit-adk/commit/2ddb18858d0041e72d1817c1078169ec47c4296a). i/o buffers will be more challenging, but i have no choice...

i am well aware of that. but [Mongoose OS](https://mongoose-os.com/mos.html), for one, embraces dynamic allocation, we're brave like that :) i mean, i'm all for static allocation, but current sizes are...

FWIW, i found 1.5k i/o buffer size to be adequate. it has to be greater than 1k + some crypto padding to be able to contain 1k encrypted frames. further,...

good idea! this will work for accessory and service but will be extremely ugly for characteristics because HAPCharacteristic is cast to a specific characteristic types (poor-man's OOP in C). we'll...

i don't own an apple tv, actually. @andyblac is our resident homekit expert and enthusiast, he says he has done it multiple times already.

interesting idea. we'd need to introduce some sort of preprocessing. as usual - no firm commitments, PRs welcome.