rroemhild / ubeacon

MicroPython library for encode and decode BLE beacons
MIT License
15 stars 3 forks source link

no module named ubeacon.lintech #1

Open sriram-rs opened 6 months ago

sriram-rs commented 6 months ago

After using mpremote to install ubeacon on my esp32, I am trying to run the scan_async.py example on the board. When the module is imported, I am getting this peculiar error.

I can check the filesystem contents (/lib/ubeacon/') directory contents with uos.listdir('/lib/ubeacon') command and can see the source files.

Installation was also successful.

Any help would be greatly appreciated

rroemhild commented 6 months ago

Hi @sriram-rs, I can not reproduce your issue. Have you installed aioble as well as ubeacon?

mpremote install aioble

You can of course simply remove the code for the lintech beacons from scan_async.py. Just remove the lines 7, 16 and 46-47. But I think there is a general import/filesystem issue and then there will be an import error for the ibeacon module.