Package com.dsi.ant.plugins.antplus.pcc
Class AntPlusBloodPressurePcc.IpcDefines
java.lang.Object
com.dsi.ant.plugins.antplus.pcc.AntPlusBloodPressurePcc.IpcDefines
- Enclosing class:
- AntPlusBloodPressurePcc
Defines the keys and values used to communicate between the PCC and plugin.
User code should never have to reference these defines.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringTrue to limit the returned measurements to only those which are newer than your last measurement received through this function.static final StringFalse to limit downloading to existing files and automatically close the request when finished downloading.static final StringTrue to update the device time to the current UTC time.static final intCancels an open requestDownloadMeasurements in monitorForNewMeasurements mode made by this application.static final intRequests the ANT-FS manufacturer ID of the device.static final intUsed to generate blood pressure data key definitionsstatic final intRequests downloading measurements from the blood pressure device.static final intRequests the measurement history file to be cleared and optionally updates the device time to the current time.static final StringTheAntFsCommon.AntFsRequestStatusCodeindicating the result of the request.static final StringIf statusCode == FINISHED this isAntFsCommon.AntFsRequestStatusCodeindicating the final result of the request.static final StringTheAntPlusBloodPressurePcc.DownloadMeasurementsStatusCodeindicating the status of the request.static final StringThe measurement downloaded.static final StringTheAntFsCommon.AntFsRequestStatusCodeindicating the result of the request.static final intReceives the result of a command.static final intstatic final intReceives measurements as they are downloaded by aAntPlusBloodPressurePcc.requestDownloadMeasurements(boolean, boolean, IDownloadMeasurementsStatusReceiver, IMeasurementDownloadedReceiver, IAntFsProgressUpdateReceiver)request.static final intReceives the result of aAntPlusBloodPressurePcc.requestResetDataAndSetTime(boolean, IResetDataAndSetTimeFinishedReceiver, IAntFsProgressUpdateReceiver)command.static final StringThe plugin package path.static final StringThe plugin service path. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
PATH_ANTPLUS_BLOODPRESSUREPLUGIN_PKG
The plugin package path.- See Also:
-
PATH_ANTPLUS_BLOODPRESSUREPLUGIN_SERVICE
The plugin service path.- See Also:
-
MSG_EVENT_BLOODPRESSURE_whatDOWNLOADALLHISTORYFINISHED
public static final int MSG_EVENT_BLOODPRESSURE_whatDOWNLOADALLHISTORYFINISHEDReceives the result of a command.- See Also:
-
MSG_EVENT_BLOODPRESSURE_DOWNLOADALLHISTORYFINISHED_PARAM_intSTATUSCODE
TheAntFsCommon.AntFsRequestStatusCodeindicating the result of the request. Sent in theMSG_EVENT_BLOODPRESSURE_whatDOWNLOADALLHISTORYFINISHEDevent.- See Also:
-
MSG_EVENT_BLOODPRESSURE_whatDOWNLOADMEASUREMENTSSTATUS
public static final int MSG_EVENT_BLOODPRESSURE_whatDOWNLOADMEASUREMENTSSTATUSReceives the status of aAntPlusBloodPressurePcc.requestDownloadMeasurements(boolean, boolean, IDownloadMeasurementsStatusReceiver, IMeasurementDownloadedReceiver, IAntFsProgressUpdateReceiver)request.- See Also:
-
MSG_EVENT_BLOODPRESSURE_DOWNLOADMEASUREMENTSSTATUS_PARAM_intSTATUSCODE
TheAntPlusBloodPressurePcc.DownloadMeasurementsStatusCodeindicating the status of the request. Sent in theMSG_EVENT_BLOODPRESSURE_whatDOWNLOADMEASUREMENTSSTATUSevent.- See Also:
-
MSG_EVENT_BLOODPRESSURE_DOWNLOADMEASUREMENTSSTATUS_PARAM_intFINISHEDCODE
If statusCode == FINISHED this isAntFsCommon.AntFsRequestStatusCodeindicating the final result of the request. Sent in theMSG_EVENT_BLOODPRESSURE_whatDOWNLOADMEASUREMENTSSTATUSevent.- See Also:
-
MSG_EVENT_BLOODPRESSURE_whatMEASUREMENTDOWNLOADED
public static final int MSG_EVENT_BLOODPRESSURE_whatMEASUREMENTDOWNLOADEDReceives measurements as they are downloaded by aAntPlusBloodPressurePcc.requestDownloadMeasurements(boolean, boolean, IDownloadMeasurementsStatusReceiver, IMeasurementDownloadedReceiver, IAntFsProgressUpdateReceiver)request.- See Also:
-
MSG_EVENT_BLOODPRESSURE_MEASUREMENTDOWNLOADED_PARAM_parcelableMEASUREMENT
public static final String MSG_EVENT_BLOODPRESSURE_MEASUREMENTDOWNLOADED_PARAM_parcelableMEASUREMENTThe measurement downloaded. Sent in theMSG_EVENT_BLOODPRESSURE_whatMEASUREMENTDOWNLOADEDevent.- See Also:
-
MSG_EVENT_BLOODPRESSURE_whatRESETDATAANDSETTIMEFINISHED
public static final int MSG_EVENT_BLOODPRESSURE_whatRESETDATAANDSETTIMEFINISHEDReceives the result of aAntPlusBloodPressurePcc.requestResetDataAndSetTime(boolean, IResetDataAndSetTimeFinishedReceiver, IAntFsProgressUpdateReceiver)command.- See Also:
-
MSG_EVENT_BLOODPRESSURE_RESETDATAANDSETTIMEFINISHED_PARAM_intSTATUSCODE
TheAntFsCommon.AntFsRequestStatusCodeindicating the result of the request. Sent in theMSG_EVENT_BLOODPRESSURE_whatRESETDATAANDSETTIMEFINISHEDevent.- See Also:
-
MSG_CMD_BLOODPRESSURE_whatREQUESTDOWNLOADALLHISTORY
public static final int MSG_CMD_BLOODPRESSURE_whatREQUESTDOWNLOADALLHISTORYUsed to generate blood pressure data key definitions- See Also:
-
MSG_CMD_BLOODPRESSURE_whatREQUESTANTFSMFGID
public static final int MSG_CMD_BLOODPRESSURE_whatREQUESTANTFSMFGIDRequests the ANT-FS manufacturer ID of the device.- See Also:
-
MSG_CMD_BLOODPRESSURE_whatREQUESTDOWNLOADMEASUREMENTS
public static final int MSG_CMD_BLOODPRESSURE_whatREQUESTDOWNLOADMEASUREMENTSRequests downloading measurements from the blood pressure device. The downloadNewOnly parameter controls downloading only the measurements newer than your app's last succesful measurement downloaded through this function. The monitorForNewMeasurements parameter enables this function to continuously monitor for new measurements recorded and return them as they are detected until this request is cancelled.- See Also:
-
MSG_CMD_BLOODPRESSURE_REQUESTDOWNLOADMEASUREMENTS_PARAM_boolDOWNLOADNEWONLY
public static final String MSG_CMD_BLOODPRESSURE_REQUESTDOWNLOADMEASUREMENTS_PARAM_boolDOWNLOADNEWONLYTrue to limit the returned measurements to only those which are newer than your last measurement received through this function. False to download all measurements regardless of the time they were created. Sent in theMSG_CMD_BLOODPRESSURE_whatREQUESTDOWNLOADMEASUREMENTScommand.- See Also:
-
MSG_CMD_BLOODPRESSURE_REQUESTDOWNLOADMEASUREMENTS_PARAM_boolMONITORFORNEWMEASUREMENTS
public static final String MSG_CMD_BLOODPRESSURE_REQUESTDOWNLOADMEASUREMENTS_PARAM_boolMONITORFORNEWMEASUREMENTSFalse to limit downloading to existing files and automatically close the request when finished downloading. True to continue to monitor the device for new measurements and return them until this request is cancelled. When downloading existing files finishes and monitoring begins, the IDownloadMeasurementsStatusReceiver will receive a PROGRESS_MONITORING code. The monitoring will continue indefinitely until cancelDownloadMeasurementsMonitor is called. Sent in theMSG_CMD_BLOODPRESSURE_whatREQUESTDOWNLOADMEASUREMENTScommand.- See Also:
-
MSG_CMD_BLOODPRESSURE_whatCANCELDOWNLOADMEASUREMENTSMONITOR
public static final int MSG_CMD_BLOODPRESSURE_whatCANCELDOWNLOADMEASUREMENTSMONITORCancels an open requestDownloadMeasurements in monitorForNewMeasurements mode made by this application. When using the requestDownloadNewMeasurements in monitorForNewMeasurements mode, this command is the only way to cancel that request and stop monitoring.- See Also:
-
MSG_CMD_BLOODPRESSURE_whatREQUESTRESETDATAANDSETTIME
public static final int MSG_CMD_BLOODPRESSURE_whatREQUESTRESETDATAANDSETTIMERequests the measurement history file to be cleared and optionally updates the device time to the current time.- See Also:
-
MSG_CMD_BLOODPRESSURE_REQUESTRESETDATAANDSETTIME_PARAM_boolDOSETTIME
True to update the device time to the current UTC time. False to leave the device time untouched. Sent in theMSG_CMD_BLOODPRESSURE_whatREQUESTRESETDATAANDSETTIMEcommand.- See Also:
-
-
Constructor Details
-
IpcDefines
public IpcDefines()
-