rewrite the way you listen to the response. Don't use delay. just listen and keep a rolling buffer of 2 bytes and compare with "OK" (until a given timeout)
rewrite the way you listen to the response. Don't use delay. just listen and keep a rolling buffer of 2 bytes and compare with "OK" (until a given timeout)