Search found 3 matches
- Sat Oct 12, 2024 6:38 pm
- Forum: ESP-AT
- Topic: Call AT command from self-defined AT Command
- Replies: 4
- Views: 3804
Re: Call AT command from self-defined AT Command
I have find way to solve it. #include <inttypes.h> #include "nvs_flash.h" #include "nvs.h" void write_to_EEPROM(char *p,char *value, uint32_t size) { char *saveId; uint32_t sizeSave = (size); saveId = malloc(sizeSave); strcpy(saveId,value); nvs_handle_t my_handle; nvs_open("storage", NVS_READWRITE, ...
- Sat Oct 12, 2024 8:51 am
- Forum: ESP-AT
- Topic: Call AT command from self-defined AT Command
- Replies: 4
- Views: 3804
Re: Call AT command from self-defined AT Command
Thanks allot for your answer. Can you help save string data into flash in custom AT command? I couldn't find command for this operation.
- Thu Aug 15, 2024 10:56 am
- Forum: ESP-AT
- Topic: Call AT command from self-defined AT Command
- Replies: 4
- Views: 3804
Call AT command from self-defined AT Command
Hi! How can I call other AT command from self-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 ...