ESP32 full 2 ways communication between the DEVKIT and PC / MOBILE via USB cable - without using the fprint command

798 views
Skip to first unread message

Eldad Wasserman

unread,
Oct 31, 2017, 6:09:54 AM10/31/17
to btstack-dev
Hi,

I will be happy if someone can help me with some basic help. 

I need that:
1. The MCU will not send anything via the USB serial port while it's booting - nothing...
2. To communicate without any "external logic" between the PC / mobile USB cable and the ESP32 directly byte after byte. without using the fprint function...

I developed a solution with Arduino-ESP and everything is working perfect. read from IO - output to IO full serial communication with the USB serial etc... now I am trying already 3 days to migrate this ARDUINO-EPS solution to ESP-IDF  - amazing how it's difficult and not easy to do.

If someone here can help me -

Thanks

Eldad



Matthias Ringwald

unread,
Nov 2, 2017, 4:43:57 AM11/2/17
to btsta...@googlegroups.com
Hi Eldad

You can configure which UART is used for console via 'make menuconfig'. It's in Component Config->ESP32-specific->UART...

If you switch the console to another UART you cant then send your data over UART0 (see esp-idf examples).

In general, not many people use ESP32 here. For non-BTstack related ESP32 questions, you're probably better of with their forum or the IRC channel.

Best
 Matthias

--
You received this message because you are subscribed to the Google Groups "btstack-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to btstack-dev...@googlegroups.com.
To post to this group, send email to btsta...@googlegroups.com.
Visit this group at https://groups.google.com/group/btstack-dev.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages