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 String
True to limit the returned measurements to only those which are newer than your last measurement received through this function.static final String
False to limit downloading to existing files and automatically close the request when finished downloading.static final String
True to update the device time to the current UTC time.static final int
Cancels an open requestDownloadMeasurements in monitorForNewMeasurements mode made by this application.static final int
Requests the ANT-FS manufacturer ID of the device.static final int
Used to generate blood pressure data key definitionsstatic final int
Requests downloading measurements from the blood pressure device.static final int
Requests the measurement history file to be cleared and optionally updates the device time to the current time.static final String
TheAntFsCommon.AntFsRequestStatusCode
indicating the result of the request.static final String
If statusCode == FINISHED this isAntFsCommon.AntFsRequestStatusCode
indicating the final result of the request.static final String
TheAntPlusBloodPressurePcc.DownloadMeasurementsStatusCode
indicating the status of the request.static final String
The measurement downloaded.static final String
TheAntFsCommon.AntFsRequestStatusCode
indicating the result of the request.static final int
Receives the result of a command.static final int
static final int
Receives measurements as they are downloaded by aAntPlusBloodPressurePcc.requestDownloadMeasurements(boolean, boolean, IDownloadMeasurementsStatusReceiver, IMeasurementDownloadedReceiver, IAntFsProgressUpdateReceiver)
request.static final int
Receives the result of aAntPlusBloodPressurePcc.requestResetDataAndSetTime(boolean, IResetDataAndSetTimeFinishedReceiver, IAntFsProgressUpdateReceiver)
command.static final String
The plugin package path.static final String
The 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.AntFsRequestStatusCode
indicating the result of the request. Sent in theMSG_EVENT_BLOODPRESSURE_whatDOWNLOADALLHISTORYFINISHED
event.- 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.DownloadMeasurementsStatusCode
indicating the status of the request. Sent in theMSG_EVENT_BLOODPRESSURE_whatDOWNLOADMEASUREMENTSSTATUS
event.- See Also:
-
MSG_EVENT_BLOODPRESSURE_DOWNLOADMEASUREMENTSSTATUS_PARAM_intFINISHEDCODE
If statusCode == FINISHED this isAntFsCommon.AntFsRequestStatusCode
indicating the final result of the request. Sent in theMSG_EVENT_BLOODPRESSURE_whatDOWNLOADMEASUREMENTSSTATUS
event.- 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_whatMEASUREMENTDOWNLOADED
event.- 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.AntFsRequestStatusCode
indicating the result of the request. Sent in theMSG_EVENT_BLOODPRESSURE_whatRESETDATAANDSETTIMEFINISHED
event.- 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_whatREQUESTDOWNLOADMEASUREMENTS
command.- 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_whatREQUESTDOWNLOADMEASUREMENTS
command.- 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_whatREQUESTRESETDATAANDSETTIME
command.- See Also:
-
-
Constructor Details
-
IpcDefines
public IpcDefines()
-