esp-idf-software-serial icon indicating copy to clipboard operation
esp-idf-software-serial copied to clipboard

How to send AT commands with this library

Open Aggeloz opened this issue 1 year ago • 1 comments

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?

Aggeloz avatar Oct 04 '23 10:10 Aggeloz

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]);
        }

Aggeloz avatar Oct 04 '23 12:10 Aggeloz