Page 1 of 1

any API that we can send buffer data to my hosts machine with USB interface?

Posted: Mon Oct 01, 2018 12:50 am
by david711205
Does ESP-IDF has API that we can send buffer data to my hosts machine with USB interface?
For example, on ESP32 side, we would like to use its Wi-Fi connection to get an AP MAC address and use USB interface to send the binary data of the AP MAC address to my PC.

Re: any API that we can send buffer data to my hosts machine with USB interface?

Posted: Wed Oct 03, 2018 5:39 am
by ESP_Sprite
The ESP32 does not have native USB, what you're thinking of as USB most likely is the USB-to-serial converter connected to the ESP32s serial port. So the most likely API for this is the UART api, or just printf if you're feeling lazy.