diff options
author | Jonas Smedegaard <dr@jones.dk> | 2025-02-25 21:30:08 +0100 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2025-02-25 21:30:08 +0100 |
commit | 96a5c10a8b01e3402cc7df78c76463f1e8d883de (patch) | |
tree | 2c12b8766093c26316e7192eb69fa4036240f1eb /mussel2 | |
parent | 0f0e64e344a8777c9300a7f4b4ce7812c756253c (diff) |
wrap long lines
Diffstat (limited to 'mussel2')
-rw-r--r-- | mussel2/mussel2.ino | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/mussel2/mussel2.ino b/mussel2/mussel2.ino index 2867777..ea89311 100644 --- a/mussel2/mussel2.ino +++ b/mussel2/mussel2.ino @@ -1,6 +1,9 @@ /* - Based on 31337Ghost's reference code from https://github.com/nkolban/esp32-snippets/issues/385#issuecomment-362535434 - which is based on pcbreflux's Arduino ESP32 port of Neil Kolban's example for IDF: https://github.com/nkolban/esp32-snippets/blob/master/cpp_utils/tests/BLE%20Tests/SampleScan.cpp + Based on 31337Ghost's reference code from +<https://github.com/nkolban/esp32-snippets/issues/385#issuecomment-362535434> + which is based on pcbreflux's Arduino ESP32 port + of Neil Kolban's example for IDF: +<https://github.com/nkolban/esp32-snippets/blob/master/cpp_utils/tests/BLE%20Tests/SampleScan.cpp> */ /* @@ -73,7 +76,10 @@ void init_service() { // Create a BLE Characteristic pCharacteristic = pService->createCharacteristic( - CHARACTERISTIC_UUID, BLECharacteristic::PROPERTY_READ | BLECharacteristic::PROPERTY_WRITE | BLECharacteristic::PROPERTY_NOTIFY + CHARACTERISTIC_UUID, + BLECharacteristic::PROPERTY_READ + | BLECharacteristic::PROPERTY_WRITE + | BLECharacteristic::PROPERTY_NOTIFY ); pCharacteristic->setCallbacks(new MyCallbacks()); pCharacteristic->addDescriptor(new BLE2902()); |