def _radio_setup(self): """ it initialises the radio driver, it loads the callback for the RX :return: """ # initialize the radio driver and the spi interface self.radio_driver = radio.At86rf215(self._cb_rx_frame, self.modem_base_band_state) self.radio_driver.spi_init()
def _radio_setup(self): # initialize the radio driver self.radio_driver = radio.At86rf215(None, None) self.radio_driver.spi_init()