i have two device connected by UART. The Baud rate is 112500 bps.
I read data by a smartphone from HC 05 but sometimes seem I lose some data. There aren't a precise time but is random. 112500 as baud rata signify 8 ums for bit.
Does anyone have any idea?
The BL receives data continuously on UART from other device. I don't know HW, I't is a sensor. All works fine but sometime I lose the data and I see on app an error. It's like It loses some bit during the communication.
This sounds like there is no Arduino involved. Can you provide a link to the sensor? Is there any option for some baud rate other than 115200 between the sensor and the HC05?
No wireless transmission is going to be perfect. It should be the job of the smartphone app you are using to verify the check sum on the NMEA sentence and not process bad data.
I would think that a GPS library running on an MCU and receiving the nmea sentences from the module over a wired connection would be more reliable and have validation built in. Passing the data from the MCU back to a phone over BT might be easier to check and verify than just passing the raw data from the module like you are doing now.