Thanks for great BoostBLEKit.
I've used it in here https://github.com/lukaszkn/MLTrainController "Machine learning controlled LEGO locomotive shuttle train using Bluetooth"