Bluetooth - updating multiple notify characteristics at the same time
-
I am building a simple bluetooth server using a FiPy. The server has 1 service has a handful of characteristics. 2 of which are setup as notify.
I am trying to periodically update the 2 notify characteristics with new values by calling
.value(...)on the 2 characteristics.When I connect with a test device, I only ever see 1 of the 2 characteristics update.
I can set a small timeout (~100ms) like this
Timer.Alarm(handler=lambda args: char.value(counter*2), ms=50, periodic=False)and update them both, but not at the same time.
Are there limitations on how
ble.char.value(...)can be called?
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login