Skip to content

Commit ece54eb

Browse files
committed
Elevate SPP buffer full error
1 parent cc6ad92 commit ece54eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Firmware/RTK_Everywhere/src/BluetoothSerial/BluetoothSerial.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ static void esp_spp_cb(esp_spp_cb_event_t event, esp_spp_cb_param_t *param)
341341
} else if (_spp_rx_queue != NULL){
342342
for (int i = 0; i < param->data_ind.len; i++){
343343
if(xQueueSend(_spp_rx_queue, param->data_ind.data + i, (TickType_t)0) != pdTRUE){
344-
log_e("RX Full! Discarding %u bytes", param->data_ind.len - i);
344+
Serial.printf("Bluetooth RX buffer full! Discarding %u bytes. Consider increasing SPP RX buffer size.\r\n", param->data_ind.len - i);
345345
break;
346346
}
347347
}

0 commit comments

Comments
 (0)