I use the demo : ble_app_proximity
to connect with android app
In android use this :
mBluetoothGatt = device.connectGatt(mContext, true, mGattCallback);
to set the reconnect true .
but ,
when the ble_app_proximity connect with the app ,I take away the ble_app_proximity battery .
and Power on again(the ble_app_proximity just adverting ,but It can't connect automatic with app.
How to make them connect automatic ?