MCPcopy Create free account
hub / github.com/bitcraze/crazyflie-lib-python / open_bootloader_uri

Method open_bootloader_uri

cflib/bootloader/cloader.py:223–229  ·  view source on GitHub ↗
(self, uri=None)

Source from the content-addressed store, hash-verified

221 time.sleep(0.1)
222
223 def open_bootloader_uri(self, uri=None):
224 if self.link:
225 self.link.close()
226 if uri:
227 self.link = cflib.crtp.get_link_driver(uri)
228 else:
229 self.link = cflib.crtp.get_link_driver(self.clink_address)
230
231 def check_link_and_get_info(self, target_id=0xFF):
232 """Try to get a connection with the bootloader by requesting info

Callers 1

start_bootloaderMethod · 0.80

Calls 1

closeMethod · 0.45

Tested by

no test coverage detected