Search found 3 matches
- Fri Jan 29, 2021 7:13 am
- Forum: ESP32 Arduino
- Topic: Bluetooth serial out using arduino for printing images faces an issue of data loss when wifi not connected.
- Replies: 0
- Views: 1399
Bluetooth serial out using arduino for printing images faces an issue of data loss when wifi not connected.
byte receivedBytes; while(SerialBT.available()>0) { receivedBytes = SerialBT.read(); recBuff[Recv_count] = receivedBytes; Recv_count++; bluetooth_rx_complt = 1; if(Recv_count == 8192) { recBuff[Recv_count] ='\0'; Serial.write((const uint8_t*)recBuff,/Recv_count); Serial.flush(); Recv_count = 0; mems...
- Fri Jan 29, 2021 4:22 am
- Forum: General Discussion
- Topic: Bluetooth serial out using arduino for printing images faces an issue of data loss when wifi not connected.
- Replies: 1
- Views: 1601
Re: Bluetooth serial out using arduino for printing images faces an issue of data loss when wifi not connected.
Can it possible to serial out( Serial.write() ) when a large data is coming to the receiver queue of Bluetooth. I actually declared the Bluetooth queue as 27200(in bytes) now. I printed images with some play store applications successfully, but when large images comes it could only print almost 80 o...
- Thu Jan 28, 2021 9:35 am
- Forum: General Discussion
- Topic: Bluetooth serial out using arduino for printing images faces an issue of data loss when wifi not connected.
- Replies: 1
- Views: 1601
Bluetooth serial out using arduino for printing images faces an issue of data loss when wifi not connected.
byte receivedBytes; while(SerialBT.available()>0) { receivedBytes = SerialBT.read(); recBuff[Recv_count] = receivedBytes; Recv_count++; bluetooth_rx_complt = 1; if(Recv_count == 8192) { recBuff[Recv_count] ='\0'; Serial.write((const uint8_t*)recBuff,/Recv_count); Serial.flush(); Recv_count = 0; mems...