Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fd3514ab authored by Sarveshwar Bajaj's avatar Sarveshwar Bajaj
Browse files

Bluetooth HAL: Add missing retry logic to the H4Protocol::Send()

H4Protocol::Send function occasionally encountered errors such as "Error in
writing to UART (Try again),"indicating incomplete writes.

To address this, retry logic was added to handle scenarios where the write()
call couldn't transfer all the bytes in a single system call, ensuring
remaining bytes are sent successfully. This change introduces the necessary
retry mechanism to the function.

Bug: 380704157
Test: Bluetooth profile test : OPP, PAN

Change-Id: I481b88b1c1eeca5e89b884424ebcb7fde7232ded
parent 4991fddc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment