Hongmu Notes

Bluetooth HTTPS and environmental requirements

Not HTTPS, the browser doesn't give Bluetooth permission at all.
100% Browser local processing 0 Data upload

📶 Device read

Under detection…Support status
Not selectedDevice name
Waiting for device selectionStatus
0Number of services

💡 Instructions for use

  • Only Bluetooth Low Energy (BLE) devices will be displayed, classic Bluetooth (such as old-fashioned headphones) are not in the list.
  • The device name is broadcast by the device and may be the manufacturer's abbreviation, which may not necessarily match the trade name.
  • After connecting, read the GATT main service and you can see the range of capabilities provided by the device.
  • Requires HTTPS or a local address and must be triggered by a click; not supported in Firefox and Safari.

Not HTTPS, the browser doesn't give Bluetooth permission at all.

Why HTTPS is necessary

Bluetooth is a high-privilege capability, and the browser can only open it in a security context.

This prevents clear text pages from stealing information from nearby devices.

local debugging

localhost and 127.0.0.1 are considered security contexts and can be debugged directly.

Access via LAN IP does not count as a security context and the interface will be unavailable.

Online deployment

A valid certificate needs to be configured. Self-signed certificates will be rejected by most browsers.

Certificate expiration will also cause interface failure.

Check order

First check whether the protocol is HTTPS, then check whether the browser supports it, and finally whether the user has completed authorization.

If any of the three are not met, the button will become unresponsive.

Privacy statement

Environment detection is completed locally in the browser and no data is uploaded.

Security context is a browser-enforced protection mechanism that cannot be bypassed.

Localhost and 127.0.0.1 count as security contexts and can be debugged; the interface is unavailable for LAN IP access.

📖 Glossary

BLE
Bluetooth low energy is suitable for small data volume and low power consumption scenarios.
GATT
Bluetooth general attribute protocol, organizes data with services and characteristic values.
Service UUID
The unique identifier of the service. Standard services use a four-digit short UUID.
Eigenvalue
Specific data points under the service, which can be read, written, or notified.

🔗 All keywords and tutorials

Keywords page of the tool12a

Return to tool home page

❓ FAQ

Can I connect a Bluetooth headset??
No, only BLE devices are supported.
Why can't it be scanned??
The device is not broadcasting, is too far away, or is occupied.
Can I read and write data??
This tool only reads the service list.
Does Firefox work??
No.
Can mobile phone be used??
Available on Android Chrome, not supported on iOS.
Will the information be uploaded??
No, read locally.