File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Server_secure_authorization
Server_secure_static_passkey Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ void setup() {
3131 pAdvertising->addServiceUUID (SERVICE_UUID);
3232 pAdvertising->setScanResponse (true );
3333 pAdvertising->setMinPreferred (0x06 ); // functions that help with iPhone connections issue
34- pAdvertising->setMinPreferred (0x12 );
34+ pAdvertising->setMaxPreferred (0x12 );
3535 BLEDevice::startAdvertising ();
3636 Serial.println (" Characteristic defined! Now you can read it in your phone!" );
3737}
Original file line number Diff line number Diff line change @@ -140,7 +140,7 @@ void setup() {
140140 pAdvertising->addServiceUUID (SERVICE_UUID);
141141 pAdvertising->setScanResponse (true );
142142 pAdvertising->setMinPreferred (0x06 ); // helps with iPhone connections
143- pAdvertising->setMinPreferred (0x12 );
143+ pAdvertising->setMaxPreferred (0x12 );
144144
145145 BLEDevice::startAdvertising ();
146146
Original file line number Diff line number Diff line change @@ -185,7 +185,7 @@ void setup() {
185185 pAdvertising->addServiceUUID (SERVICE_UUID);
186186 pAdvertising->setScanResponse (true );
187187 pAdvertising->setMinPreferred (0x06 ); // functions that help with iPhone connections issue
188- pAdvertising->setMinPreferred (0x12 );
188+ pAdvertising->setMaxPreferred (0x12 );
189189 BLEDevice::startAdvertising ();
190190 Serial.println (" Characteristic defined! Now you can read it in your phone!" );
191191}
You can’t perform that action at this time.
0 commit comments