esp-at icon indicating copy to clipboard operation
esp-at copied to clipboard

Non-blocking AT-CIPSTART

Open Polyteres opened this issue 1 year ago • 1 comments

Is your feature request related to a problem?

No response

Describe the solution you'd like.

I would like to know if there is any option to make this command non-blocking. Are there any limitations with the API or the TCP/IP stack? Could I add a new command that, once the call was made, would return OK or ERROR, releasing the UART and periodically consulting the result? While this function is being executed, could it, for example, send/receive data through a socket?

Describe alternatives you've considered.

No response

Additional context.

No response

Polyteres avatar Nov 13 '23 09:11 Polyteres

@Polyteres There is no such a option to make this command non-blocking. If you would like to make it, you can refer to https://docs.espressif.com/projects/esp-at/en/latest/esp32/Compile_and_Develop/How_to_add_user-defined_AT_commands.html, based on non-blocking socket examples, add your self-defined AT commands.

ustccw avatar Nov 14 '23 02:11 ustccw