On Wed, 2 Dec 2020, Hannes Reinecke wrote: > Just pass in the host byte to esp_cmd_is_done(), and set the > status or message bytes before calling this function. > There are 3 such callsites but in 2 you've not done so. Are you relying on the mid-layer to initialize the unset bytes to zero? Wouldn't it be more readable to explicitly set the status and message bytes, as per the existing code?