Skip to content

WIP: New app: "Scan Bluetooth"#58

Merged
ThomasFarstrike merged 1 commit intoMicroPythonOS:mainfrom
jedie:ScanBluetooth
Feb 21, 2026
Merged

WIP: New app: "Scan Bluetooth"#58
ThomasFarstrike merged 1 commit intoMicroPythonOS:mainfrom
jedie:ScanBluetooth

Conversation

@jedie
Copy link
Copy Markdown
Contributor

@jedie jedie commented Feb 19, 2026

Just display a table and list all nearby Bluetooth devices

Just display a table and list all nearby Bluetooth devices
time.sleep_ms(SCAN_DURATION + 100) # Wait ?
print(f"Scan complete: {len(self.mac2column)} unique devices")

self.refresh_timer = lv.timer_create(update, SCAN_DURATION + 1000, None)
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know if the timing here and all SCAN_DURATION parts is a good idea. It worked and the GUI is responsible, but it feels not really correct to me.

self.ble.active(False)


def set_dynamic_column_widths(table, font=None, padding=8):
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's better than nothing: But styling of a lvgl is really hard...

@ThomasFarstrike
Copy link
Copy Markdown
Contributor

Very cool, I can't wait to try this out!

@ThomasFarstrike ThomasFarstrike merged commit 4826063 into MicroPythonOS:main Feb 21, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants