| @@ -230,7 +230,7 @@ | |||
| [self addLog:name]; | |||
| } | |||
| -(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{ | |||
| @@ -244,7 +244,7 @@ | |||
| } | |||
| -(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{ | |||
| if (type == ELBloodBleSwitchVoiceTypeOff) { | |||