|
|
@@ -219,12 +219,6 @@ void RPCServer::update_client(ClientId id)
|
|
|
{
|
|
|
if (result.received_bytes > 0)
|
|
|
{
|
|
|
- for (uint32_t i = 0; i < result.received_bytes; i++)
|
|
|
- {
|
|
|
- printf("%c", buf[i]);
|
|
|
- }
|
|
|
- printf("\n");
|
|
|
-
|
|
|
m_receive_buffer.push(buf, result.received_bytes);
|
|
|
total_read += result.received_bytes;
|
|
|
continue;
|
|
|
@@ -249,7 +243,6 @@ void RPCServer::update_client(ClientId id)
|
|
|
if (total_read > 0)
|
|
|
{
|
|
|
JSONParser parser(&m_receive_buffer[message_index]);
|
|
|
- Log::d("%s", &m_receive_buffer[message_index]);
|
|
|
JSONElement root = parser.root();
|
|
|
JSONElement type = root.key_or_nil("type");
|
|
|
|