Why can I discover a BLE beacon but not connect to it?
Use this page with AI
Explore with your favorite AI
Gemini & other AI
Copy this page’s context into your AI to explore how it works and what you can build.
Copy the prompt, then paste it into Gemini’s message box.
View prompt
On this page
If you are running STM32 Simple BLE Beacon, operating without a connection is intentional. Discovering a device does not necessarily mean it accepts connections.
This sample uses LE_GAP_SCANNABLE_NON_CONNECTABLE. The receiver reads Advertising data by scanning; the published code sends the device name Leaf_A and the text HELLO BEACON.
To receive sensor values after connecting or send commands to Leafony, start with a connection-based sample such as STM32 Web Bluetooth.
Other beacon samples and custom programs may use different connection settings and data formats. First check the name of the program running on the device.
