• @myownself

    I think connecting will result in a much more accurate time than relying on the right advertisement being picked up at the right time.

    I thought so too but in my tests that connection takes several seconds while advertisement-solution can be improved down to e.g. 50ms delay between updating advertisement, so using connection is a lot worse for some reason.

    @fanoush

    bluetoth timing is strict, advertising packets are timed/spaced in deterministic way

    No it's not deterministic - Bluetooth protocol has builtin random delay for timing which is around 10 ms or so, so accuracy better than that is not possible using normal API. (But yeah it's good enough.)

About

Avatar for malaire @malaire started