Skip to content

Commit 7048455

Browse files
committed
use ArduinoBLE WriteValue
1 parent 183797d commit 7048455

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

Diff for: .github/workflows/compile-examples.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,8 @@ jobs:
3030
- source-path: ./
3131
- name: Arduino_DebugUtils
3232
- source-url: https://github.com/fabik111/Arduino_ConnectionHandler.git
33-
version: e8539870f2f8b7936f3126070b45055c38856bb1
34-
- source-url: https://github.com/fabik111/ArduinoBLE.git
35-
version: 82e2a28f871e97b313846cee6d9efed8943dca53
33+
version: 0314cf54593029aea05bb8c179e40a26128f7d67
34+
- source-url: https://github.com/arduino-libraries/ArduinoBLE.git
3635
- source-url: https://github.com/arduino-libraries/Arduino_CloudUtils.git
3736
- source-url: https://github.com/arduino-libraries/Arduino_KVStore.git
3837
SKETCH_PATHS: |

Diff for: src/ConfiguratorAgents/agents/BLE/BLEAgent.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ inline uint8_t BLEAgentClass::read() {
246246
}
247247

248248
inline int BLEAgentClass::write(const uint8_t *data, size_t len) {
249-
return _outputStreamCharacteristic.write(data, len);
249+
return _outputStreamCharacteristic.writeValue(data, len);
250250
}
251251

252252
inline void BLEAgentClass::handleDisconnectRequest() {

0 commit comments

Comments
 (0)