I am writing an app that connects to a power meter via the BluetoothLowEnegrgy module (I am not yet sure of which specific power meter I will be purchasing and hence I am unsure of its UUID) and some clarification on the basic process steps would be very helpful. So far this is what I understand about BLE:
From my research thus far I will need to create a ProfileManager that describes the UUID and characteristics of the power meter. I assume the UUID is the actual UUID of the power meter and the characteristics would be some descriptor like POWER_MEASURE_SERVICE? I will also need to create a delegate which states what the program should do onSearch, onConnection etc, and finally, a DeviceManager which initializes the previous services as well as start the scan for Bluetooth Devices. I am still rather unsure about how I would get the power meter information from the profile, some further clarification on this would be very helpful.