MCPcopy Create free account
hub / github.com/BruceDevices/firmware / write

Method write

src/modules/ble_api/services/BLESerialService.cpp:96–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94size_t BLESerialService::println() { return println(""); }
95
96size_t BLESerialService::write(uint8_t *str, size_t size) {
97 serial_char->notify(str, size);
98 vTaskDelay(pdMS_TO_TICKS(10));
99 return size;
100}
101
102int BLESerialService::read() {
103 if (!available()) return -1;

Callers 5

ducky_setupFunction · 0.45
native_storageWriteFunction · 0.45
native_nrf24SendFunction · 0.45
native_i2c_writeFunction · 0.45
native_i2c_write_readFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected