(self, uri=None)
| 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 |