| 66 | } |
| 67 | |
| 68 | String BLESerialService::readStringUntil(char terminator) { |
| 69 | Serial.println("readStringUntil"); |
| 70 | String result = ""; |
| 71 | std::string value = serial_char->getValue(); |
| 72 | for (char c : value) { |
| 73 | result += c; |
| 74 | if (c == terminator) break; |
| 75 | } |
| 76 | return result; |
| 77 | } |
| 78 | |
| 79 | size_t BLESerialService::println(const uint32_t n) { |
| 80 | String s = String(n); |
no test coverage detected