How can I execute other AT command from User-defined AT Command?
For example
at_custom_cmd.c:
static uint8_t at_test_cmd_test(uint8_t *cmd_name)
{
uint8_t buffer[64] = {0};
snprintf((char *)buffer, 64, "test command: <AT%s=?> is executed\r\n", cmd_name);
esp_at_port_write_data(buffer, strlen((char *)buffer));
EXEC("AT+HTTPCGET="http://www.my.com"); // <-- How can I do it?
return ESP_AT_RESULT_CODE_OK;
}
I tried to search exec command in offical site, but didn’t find.
You need to sign in to view this answers
Leave feedback about this