如果(this.PendingLocalUARTCreditsCount!= 0)返回;
this.PendingLocalUARTCreditsCount = this.MaxLocalUARTCreditsCount - this.LocalUARTCreditsCount;
IntPtr value = (IntPtr)(this.PendingLocalUARTCreditsCount);
NSData valueData = NSData.FromBytes(value,1);this.CbPeripheral.WriteValue(valueData,this.UartRxCreditsCharacteristic,CBCharacteristicWriteType.WithoutResponse);
NSData valueData = NSData.FromBytes(value,1);出现堆栈跟踪错误]]
如果(this.PendingLocalUARTCreditsCount!= 0)返回; this.PendingLocalUARTCreditsCount = this.MaxLocalUARTCreditsCount-this.LocalUARTCreditsCount; IntPtr值=(IntPtr)(this ....