EmotiBit / ofxEmotiBit

OpenFrameworks library and examples for the EmotiBit
MIT License
34 stars 8 forks source link

Consider only advertising HE packets when not connected #119

Open produceconsumerobot opened 2 years ago

produceconsumerobot commented 2 years ago

i.e. consider putting https://github.com/EmotiBit/ofxEmotiBit/blob/master/src/EmotiBitWiFiHost.cpp#L138 inside of if(!_isConnected) The potential benefit would be a reduction of network traffic as the number Oscilloscopes running increased The drawback is that you would only get updates on the available EmotiBits after disconnecting from your the connected EmotiBit. A related possibility is to increase the advertisingInterval (to e.g. 5000) while connected.