esp-idf-software-serial
esp-idf-software-serial copied to clipboard
How to send AT commands with this library
I want to use this library in order to send AT commands to a LoRa board. How can i send an array of text instead of just bytes?
I have this code but it doesnt work, what am i doing wrong?
char* test = ("at+version\r\n");
ESP_LOGI(TAG, "Sending: at+version");
for (i = 0; i < 13; i++)
{
sw_write(port1, test[i]);
}