diff --git a/pycardium/modules/modbluetooth_card10.c b/pycardium/modules/modbluetooth_card10.c index b86bcf4c97a4517bef6eeca6e59b8c8a5702b6f1..c2dc063e046914422b8c2bd2a4e163b06372d238 100644 --- a/pycardium/modules/modbluetooth_card10.c +++ b/pycardium/modules/modbluetooth_card10.c @@ -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; }