public void Dispose() { _currentState = States.Disposed; _comms.FrameReady -= _comms_FrameReady; _comms = null; }
public XBeeDevice(IZigBeeComms comms) { CreateXBeeProvision(); _comms = comms; _comms.FrameReady += _comms_FrameReady; }
public void Dispose() { _currentState = States.Disposed; _comms.FrameReady -= _comms_FrameReady; _comms = null; }
public XBeeDevice(IZigBeeComms comms) { CreateXBeeProvision(); _comms = comms; _comms.FrameReady += _comms_FrameReady; }