crazyradio

USB driver for the Crazyradio USB dongle.


Classes

Crazyradio

Crazyradio(device=None, devid=0, serial=None)

Used for communication with the Crazyradio USB dongle

Create object and scan for USB dongle if no device is supplied


Class variables

DR_1MPS

DR_250KPS

DR_2MPS

P_0DBM

P_M12DBM

P_M18DBM

P_M6DBM

Methods

def close(self)

def scan_channels(self, start, stop, packet)

def scan_selected(self, selected, packet)

def send_packet(self, dataOut)

Send a packet and receive the ack from the radio dongle The ack contains information about the packet transmission and a data payload if the ack packet contained any


def set_ack_enable(self, enable)

def set_address(self, address)

Set the radio address to be used


def set_arc(self, arc)

Set the ACK retry count for radio communication


def set_ard_bytes(self, nbytes)

def set_ard_time(self, us)

Set the ACK retry delay for radio communication


def set_channel(self, channel)

Set the radio channel to be used


def set_cont_carrier(self, active)

def set_data_rate(self, datarate)

Set the radio datarate to be used


def set_power(self, power)

Set the radio power to be used