Improve write() cache-miss warning to indicate discovery dependency

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
torlando-techandClaude Opus 4.6 committed 2026-03-05 12:28:35 -05:00
1 parent 74def922a7
commit 602d8f7083
1 file changed
+2 -1
@@ -1743,7 +1743,8 @@ bool NimBLEPlatform::write(uint16_t conn_handle, const Bytes& data, bool respons
}
if (!rxChar) {
WARNING("NimBLEPlatform::write: RX char not found for handle " + std::to_string(conn_handle));
WARNING("NimBLEPlatform::write: RX char not cached for handle " + std::to_string(conn_handle) +
" (discoverServices() not yet called or failed?)");
return false;
}