3 ms·
Hey this seems really cool, I'll have to read up on how you do some of this stuff - do you keep bluetooth connections open to multiple other devices?
by matt2000 14y ago
Hey this seems really cool, I'll have to read up on how you do some of this stuff - do you keep bluetooth connections open to multiple other devices?
- arihantnahata 14y agoYes,we do open connections to multiple devices, 7 being the maximum limit of the Bluetooth stack. We also have a thread that runs every 10 seconds and checks the last time a message was send to a device. if the time is greater than 300 seconds then we used to disconnect that device so that new devices could add to the topology.
- matt2000 14y agoI see, so the use case here is real time messaging and chat? Like if there's a lot of people in a given area they care fire this up and talk? That sounds pretty awesome. We were going more for a slowly propagating P2P effect that might take days for a message to reach someone farther away, but I like the sound of what you've got there too.