Please read the Help file when first running this app! It will help a lot with Bluetooth and PHDs.
This application collects health observations from 11073 20601 compliant sensors over HDP Bluetooth and PHDC USB transports and Bluetooth Low Energy sensors following the Blood Pressure, Continuous Glucose Monitor (in beta state), Glucose, Heart Rate, Thermometer, and Weight Scale Health Profiles. It also supports certain proprietary devices over Bluetooth Low Energy and SPP. The data is translated to IHE V2 PCD-01 messages and or FHIR resources and sent to Continua compliant receivers for the respective data models. SOAP (web services) and hData uploads are supported for PCD-01. RESTFul FHIR is supported for FHIR uploads.
The primary difference between this application and it's predecessor LniPlugfestPHG is the underlying Bluetooth support. The application cycles classic discovery and Bluetooth Low Energy scans continuously in the background in order to improve the robustness of device discovery and device re-connection with minimal user actions. In the default mode discovered supported devices pop up a dialog to the user asking the user if he/she wants to connect to the device. Upon acceptance, a connection is initiated and any pairing is done as needed. The pairing pops up dialogs for confirmation and/or passkey entries if needed.
In addition to the default discovery option, there is an automatic connection and a standard 'select from a list of discovered devices' option. In all cases, only supported devices are involved.
There are several issues with the behavior of Bluetooth across different Android platforms. The issues are most prevalent with Bluetooth Low Energy. Some issues are the fault of the devices, and some are the fault of Android. Work-a-rounds have been done for platforms that are known to have problems that could be solved. The Moto E4 has issues with HDP disconnects, the BluetoothGatt.connect(), and devices that issue security requests. We have Moto E4 work-a-rounds for those cases we have been able to solve. A certain class of A&D Bluetooth Low Energy devices will not work on Android 6+. This bug has been fixed by A&D in later releases. A work-a-round for the Philips Bluetooth Low energy time setting issue is built in such that the uploaded time stamps are correct (the displayed time stamps are those of the device and they are not correct).