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

david711205
Posts: 9
Joined: Fri Sep 28, 2018 9:22 am

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

Postby david711205 » Mon Oct 01, 2018 12:50 am

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.

ESP_Sprite
Posts: 9724
Joined: Thu Nov 26, 2015 4:08 am

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

Postby ESP_Sprite » Wed Oct 03, 2018 5:39 am

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.

Who is online

Users browsing this forum: No registered users and 86 guests