Help bluetooth for xiaomi scooter


So I want to build a app to see how fast I ride and to get the battery level and all that stuff.
I know how to connect the scooter to it but I don’t know how to receive the data and how can I find out what data I can receive and all that ?