File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -612,7 +612,7 @@ void bluetoothStart(bool skipOnlineCheck)
612612 // Uncomment the next line to force deletion of all paired (bonded) devices
613613 // (This should only be necessary if you have changed the SSP pairing type)
614614 // settings.clearBtPairings = true;
615-
615+
616616 // Enable secure pairing without PIN :
617617 // iPhone displays Connection Unsuccessful - but then connects anyway...
618618 bluetoothSerialSpp->enableSSP (false , false );
@@ -650,6 +650,7 @@ void bluetoothStart(bool skipOnlineCheck)
650650 recordSystemSettings ();
651651 }
652652
653+ #ifdef COMPILE_AUTHENTICATION
653654 esp_sdp_init ();
654655
655656 esp_bluetooth_sdp_hdr_overlay_t record = {(esp_bluetooth_sdp_types_t )0 };
@@ -663,6 +664,7 @@ void bluetoothStart(bool skipOnlineCheck)
663664 record.service_name = (char *)deviceName;
664665 // record.rfcomm_channel_number = 1; // Doesn't seem to help the failed connects
665666 esp_sdp_create_record ((esp_bluetooth_sdp_record_t *)&record);
667+ #endif // COMPILE_AUTHENTICATION
666668 }
667669 }
668670
Original file line number Diff line number Diff line change @@ -13,6 +13,11 @@ set -e
1313git reset --hard --quiet HEAD
1414make
1515
16+ # MFi authentication
17+ sed -i ' s|#define COMPILE_AUTHENTICATION|//#define COMPILE_AUTHENTICATION|' RTK_Everywhere.ino
18+ make
19+ git reset --hard --quiet HEAD
20+
1621# Bluetooth
1722sed -i ' s|#define COMPILE_BT|//#define COMPILE_BT|' RTK_Everywhere.ino
1823make
You can’t perform that action at this time.
0 commit comments