4
votes
Using bluepy to send and read serial data
Concatenation
In computer science terms, depending on a lot of things, this:
self.data = self.data + data
can be worst-case O(n^2). This happens when the ...
2
votes
Accepted
Handle HTTP and BLE requests
You should separate concerns whenever possible. Since BLE & HTTP requests are quite different, you could write the following protocols:
...
2
votes
LED controller for a BLE device with the ability to change color and intensity in Android
Here a few points, it's more based on basics. And what hurts the most.
The class is too long. 650 Lines. That's the sign, that a class does too much, it has too many responsibilities.
...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
bluetooth × 13java × 4
c# × 4
android × 4
swift × 3
c++ × 2
ios × 2
arduino × 2
python × 1
object-oriented × 1
multithreading × 1
http × 1
networking × 1
socket × 1
winforms × 1
serial-port × 1
xamarin × 1
device-driver × 1
uwp × 1