Update(mp libs): 并入micropython下libraries到default

This commit is contained in:
王立帮
2024-12-04 10:43:57 +08:00
parent abdd0dc7a6
commit f54fdc4270
6 changed files with 6 additions and 6 deletions

View File

@@ -183,7 +183,7 @@ class BLESimpleCentral:
self._addr_type=self._info[1][index]
self._addr=self._info[2][index]
else:
raise ValueError("Bluetooth was not found")
raise ValueError("The '{}' Bluetooth was not found, Please check device is working".format(mac if name is None else name))
self._conn_callback = callback
self._ble.gap_connect(self._addr_type, self._addr)
return True

View File

@@ -69,7 +69,7 @@
"ble_advertising"
],
"__file__": true,
"__size__": 7312,
"__size__": 7391,
"__name__": "ble_central.py"
},
"ble_handle": {