VTO2Lib 1.9.4

VTO2Lib 1.9.4

yangweichao 维护。



VTO2Lib 1.9.4

  • yangweichao

VTO2Lib

  1. 设置 VTO2Communicateperipheral 属性。如果 serviceDeployed: 返回 YES,那么这是必要的!

  2. 在任何您想要获取回调的地方为 VTO2Communicate 设置 delegate。在这个步骤,您就能够进行通信。通过 VTO2Parser 类来解析响应

  • 通知外围设备的 RSSI。

    发送:readRSSI

    响应:updatePeripheralRSSI:

  • 获取信息,包括文件列表。

    发送:beginGetInfo

    响应:getInfoWithResultData:

    解析:parseO2InfoWithData:

  • 获取 BabyO2 S2 站台信息。

    发送:beginGetStationInfo

    响应:getStationInfoWithData:

    解析:parseStationInfoWithData:

  • 获取实时数据。

    发送:beginGetRealData

    响应:realDataCallBackWithData:realDataCallBackWithData:originalData:

    解析:parseO2RealObjectWithData:

  • 恢复出厂设置。

    发送:beginFactory

    响应:commonResponse: 和Result:

  • 获取实时波形。

    发送:beginGetRealWave

    响应:realWaveCallBackWithData:realWaveCallBackWithData:originalData:

    解析:parseO2RealWaveWithData:

  • 获取实时 PPG。

    发送:beginGetRealPPG

    响应:realPPGCallBackWithData:

    解析:parseO2RealPPGWithData:

  • 同步参数。你可以通过协议文档了解您的设备支持哪些参数类型。

    发送:beginToParamType:content:

    响应:commonResponse: 和Result:

  • 读取文件。

    发送:beginReadFileWithFileName:

    响应:进度 - postCurrentReadProgress: 和结果 - readCompleteWithData:

    解析:parseO2ObjectWithData: