-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multi user support #21
Comments
I've included a fork of the original BLE serial library in 07d139b. That should hopefully enable multi user support. If further testing shows that everything is working correctly, I'll update the README accordingly. |
Hi FabianRig, I'm using your code sussefully on my home moonboard. I don't understand where I can find the last code that implement the multi user support. |
There are no code changes in the project but in the dependencies. Have a look at https://github.com/FabianRig/ArduinoMoonBoardLED/blob/main/platformio.ini where you can see that one dependency has been replaced with a custom version (forked and patched by me). Just make sure you have the most recent version of this repo (git pull or git clone to a new directory) and that's it. |
Hi, I add the new lines in the HardwareBLESerial.cpp and I'm just trying to use two moonboard apps at the same time and it works properly, great job guys! |
Good to hear that it's working for you. But that's not the intended way. You can simply clone this repo -- no manual adjustments needed! |
I'm sorry about that, actually I don't know how to do so yesterday I prepared the edit manually. |
Should the hardware solution for multi-user support be removed now that you have added a software solution? Namely, the readme updates from commit 3fd616a. |
No need to apologize. :-) It's just more work to manually change code when you can just git clone / git pull. If you want a simple solution: just download this repo again to another folder and build and flash the firmware again. |
You're absolutely right. I changed the README. |
Just wanted to drop by again and say thanks for this particular update! It works great, and my wife and I are enjoying it. |
Thank you for your kind words! :-) I'm glad it's working for you! |
I did this and I confirm that it work good, great job.. Yesterday we climbed with 4 app simultaneously, amazing! Just to know, there's a maximum connection limit? |
Nice, that's good to know! To be honest: I assume that there is a limit, but I don't know what the limit is. There is a limit for concurrent connections in the underlying libraries. However, the BLE Serial is not really a "connection" in that sense, so I'm not sure whether that internal limit applies. Four parallel connections is already impressive. :-D We'll have to round up as many devices as possible and try it out. ;-) |
I understand, maybe I could try with 5 connection if one day we'll climb together, I'll let you know if this will happen. Anyway I suggest to disable the setting "Light problem on swipe" otherwise is a mess :D I would like to suggest one update: Thanks again for your work! |
TODO: Include changes to library so that multi user support is possible.
See: #19 (comment)
The text was updated successfully, but these errors were encountered: