| [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) { |