I have used ANT+ Android libraries as shown in
https://github.com/ant-wireless/ANT-Android-SDKs.
It worked for about 2 months. Then I could not receive any measurement data from the blood pressure monitor any more. I am using smartLAB profi+.
More specifically, the device is detected when searching for devices, it authenticates and sends data after the measurement. Everything seems normal. However, the following callback from ANT+ Android API is not called:
new IMeasurementDownloadedReceiver() {
@Override
public void onMeasurementDownloaded(final BloodPressureMeasurement measurement) {
runOnUiThread(new Runnable() {
@Override
public void run() {
Log.i(TAG, "onMeasurementDownloaded: " + JsonUtil.toJson(bloodPressure));
}
});
}
}
Hence, I don't receive any blood pressure measurement data. I tested the blood pressure monitor with the PluginSampler demo app, it is working fine. Then I changed the package name of my app, it starts to receive measurement data again. But it stops working after I change to my original package name. This is so frustrating. Can you help with what is going on here? Thanks!