Skip to content

Commit e869349

Browse files
committed
Elevate Bluetooth SPP buffer full error.
1 parent eebc1e2 commit e869349

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Firmware/RTK_Surveyor/src/BluetoothSerial/BluetoothSerial.cpp

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

0 commit comments

Comments
 (0)