8000 Update arduino examples · trcio/esp32-snippets@6005e31 · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 6005e31

Browse files
committed
Update arduino examples
1 parent 3de1717 commit 6005e31

File tree

7 files changed

+56
-479
lines changed

7 files changed

+56
-479
lines changed

cpp_utils/tests/BLETests/Arduino/BLE_client/BLE_client.ino

Lines changed: 2 additions & 2 deletions
11
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
//#include "BLEScan.h"
77

88
// The remote service we wish to connect to.
9-
static BLEUUID serviceUUID("91bad492-b950-4226-aa2b-4ede9fa42f59");
9+
static BLEUUID serviceUUID("4fafc201-1fb5-459e-8fcc-c5c9c331914b");
1010
// The characteristic of the remote service we are interested in.
11-
static BLEUUID charUUID("0d563a58-196a-48ce-ace2-dfec78acc814");
+
static BLEUUID charUUID("beb5483e-36e1-4688-b7f5-ea07361b26a8");
1212

1313
static BLEAddress *pServerAddress;
1414
static boolean doConnect = false;

cpp_utils/tests/BLETests/Arduino/BLE_server/BLE_server.ino

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,12 @@ void setup() {
2929
pCharacteristic->setValue("Hello World says Neil");
3030
pService->start();
3131
BLEAdvertising *pAdvertising = pServer->getAdvertising();
32+
pAdvertising->addServiceUUID(SERVICE_UUID);
3233
pAdvertising->start();
3334
Serial.println("Characteristic defined! Now you can read it in your phone!");
3435
}
3536

3637
void loop() {
3738
// put your main code here, to run repeatedly:
3839
delay(2000);
39-
}
40+
}

cpp_utils/tests/BLETests/Arduino/security/BLE_client/BLE_client_encrypted.ino

Lines changed: 0 additions & 138 deletions
This file was deleted.

cpp_utils/tests/BLETests/Arduino/security/BLE_client/BLE_client_numeric_confirmation.ino

Lines changed: 0 additions & 169 deletions
This file was deleted.

0 commit comments

Comments
 (0)
0