Skip to content
Snippets Groups Projects
Commit 868a04f2 authored by schneider's avatar schneider
Browse files

feat(mp-ble): Drop connection when starting adv

parent a6f4e196
Branches
Tags
1 merge request!446Initial MicroPython BLE support (GATTS)
......@@ -277,7 +277,10 @@ int mp_bluetooth_gap_advertise_start(
const uint8_t *sr_data,
size_t sr_data_len
) {
raise();
// Temporarily going to scanner drops the connection
// TODO: modify the advertising data
epic_ble_set_mode(false, true);
epic_ble_set_mode(false, false);
return 0;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment