Bläddra i källkod

血压计打印问题

tags/v1.4.5_20211215
elinkthings 4 år sedan
förälder
incheckning
5c504768e5
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. 2
    2
      AILinkBleSDKDemo/BloodPressure/BloodConnectViewController.m

+ 2
- 2
AILinkBleSDKDemo/BloodPressure/BloodConnectViewController.m Visa fil

[self addLog:name]; [self addLog:name];
} }
-(void)bluetoothManagerReceiveDID:(struct ELDIDStruct)did{ -(void)bluetoothManagerReceiveDID:(struct ELDIDStruct)did{
[self addLog:[NSString stringWithFormat:@"CID = %d,VID = %d,PID = %d",did.deviceType,did.vendorID,did.productID]];
[self addLog:[NSString stringWithFormat:@"CID = %lu,VID = %d,PID = %d",(unsigned long)did.deviceType,did.vendorID,did.productID]];
} }


-(void)bluetoothManagerReceiveBMVersion:(NSString *)bmVersion{ -(void)bluetoothManagerReceiveBMVersion:(NSString *)bmVersion{
} }


-(void)bloodBleManagerReceiceTestData:(ELBloodBleDataModel *)model type:(ELBloodBleDataModelType)type{ -(void)bloodBleManagerReceiceTestData:(ELBloodBleDataModel *)model type:(ELBloodBleDataModelType)type{
[self addLog:[NSString stringWithFormat:@"dia = %@--sys=%@ unit = %ld point = %ld",model.dia,model.sys,AiLinkBloodUnitDic[@(model.unit)],model.point]];
[self addLog:[NSString stringWithFormat:@"dia = %@--sys=%@ unit = %zd point = %d",model.dia,model.sys,model.unit,model.point]];
} }
-(void)bloodBleManagerReceiveSetSwitchVoiceOperationType:(ELBloodBleSwitchVoiceType)type result:(ELSetBluetoothResponseType)result{ -(void)bloodBleManagerReceiveSetSwitchVoiceOperationType:(ELBloodBleSwitchVoiceType)type result:(ELSetBluetoothResponseType)result{
if (type == ELBloodBleSwitchVoiceTypeOff) { if (type == ELBloodBleSwitchVoiceTypeOff) {

Laddar…
Avbryt
Spara