Skip to main content
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 ...
Reinderien's user avatar
  • 71.1k
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: ...
Skwiggs's user avatar
  • 166
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. ...
slowy's user avatar
  • 1,916

Only top scored, non community-wiki answers of a minimum length are eligible