I'm writing an embedded-hal driver for interfacing with Espressif ESP-AT firmware over UART. ESP-AT in some circumstances will cease responding to commands, so I need a timeout in my driver to know when something has gone wrong. But ESP-AT deals with wifi and HTTP, so some commands can take over one second to send any response. The timers in this HAL only support 1Hz at the slowest. Is this a HAL or hardware limitation?
I'm writing an embedded-hal driver for interfacing with Espressif ESP-AT firmware over UART. ESP-AT in some circumstances will cease responding to commands, so I need a timeout in my driver to know when something has gone wrong. But ESP-AT deals with wifi and HTTP, so some commands can take over one second to send any response. The timers in this HAL only support 1Hz at the slowest. Is this a HAL or hardware limitation?