public void set_data_rate(DATA_RATE datarate) { if (datarate != this.current_datarate) { ControlTransferOut(CrazyradioRequest.SET_DATA_RATE, (short)datarate, 0, 0, null); this.current_datarate = datarate; } }
public void close() { MyUsbDevice.Close(); this.current_channel = 0; this.current_address = 0xE7E7E7E7E7; this.current_datarate = DATA_RATE.DR_250KPS; }