FAQ

Setup BLE master to auto-connect to slave device

userHead Tonny12138 2024-07-11 23:00:50 40 Views0 Replies
How would I set up one BLE device to be MASTER and automatically create a connection to another BLE device in slave mode?
2025-07-24 15:10:05

There are two methods to accomplish your idea as you could find some hints in AT command list above: How to Configure the BLE through AT command?

1. As you mentioned, as long as two modules are set to Master and Slave, they will build connection automatically. But since the BLE can only support one-one connection, not mesh network, so you could use method2 to avoid the problem while multiple BLE devices working at the same place.

2. Another way is to bind their Mac address. e.g. Use AT+MAC=? to check BLE A's address ---> Send AT+BIND=0x00********1 to BLE B to bind BLE A. And then in the same way, bind A to B. (A and B should be set to master and slave separately.)

userHeadPic Tonny12138