Search found 6 matches

by Edgar1
Sun Nov 01, 2020 9:58 am
Forum: Sample Code
Topic: ESP32 with ESP-IDF Classic Bluetooth - Mobile Phone - Serial Communication
Replies: 8
Views: 31903

Re: ESP32 with ESP-IDF Classic Bluetooth - Mobile Phone - Serial Communication

I didn't do anything with this for a long time. At some stage I changed to BLE. It works differently and in my opinion it's easier to use once you understand it. I bought two of these for testing. https://www.nordicsemi.com/Software-and-tools/Development-Kits/nRF52840-Dongle That was a good, and not...
by Edgar1
Wed Dec 25, 2019 2:55 am
Forum: Sample Code
Topic: ESP32 with ESP-IDF Classic Bluetooth - Mobile Phone - Serial Communication
Replies: 8
Views: 31903

Re: ESP32 with ESP-IDF Classic Bluetooth - Mobile Phone - Serial Communication

Sorry for the long delay. Below is "my" code. I used initially the ESP-IDF sample code example_spp_acceptor_demo.c and modified it. This is not clean code, I didn't have time to clean it up yet. But it works. I pair my phone with the ESP_SPP_ACCEPTOR (ESP32 running with this code). And then I use on...
by Edgar1
Wed Dec 11, 2019 8:11 am
Forum: ESP-IDF
Topic: UART receiving and processing text lines - not bytes
Replies: 0
Views: 1706

UART receiving and processing text lines - not bytes

I connected an Arduino with an ESP32 with the UARTs. I looked at the ESP-IDF API and examples and I see how bytes can be send and received. I am sure I could use this also to send and receive text - with some extra work. But maybe there is an easier way to do this and this is what I am asking here. ...
by Edgar1
Wed Dec 11, 2019 7:19 am
Forum: ESP-IDF
Topic: ES32, ESP-IDF and UART
Replies: 1
Views: 3712

Re: ES32, ESP-IDF and UART

I read only part of your post and maybe what I will write has nothing to do with what you want. But maybe … I used an OBD adapter on my KTM motorcycle. The data was sent per Bluetooth from the OBD adapter to my mobile phone. On the phone I used Torque App to see the data. And then I wanted to see mo...
by Edgar1
Fri Nov 08, 2019 1:48 am
Forum: Sample Code
Topic: ESP32 with ESP-IDF Classic Bluetooth - Mobile Phone - Serial Communication
Replies: 8
Views: 31903

Re: ESP32 with ESP-IDF Classic Bluetooth - Mobile Phone - Serial Communication

Ok, I will do that. But currently I am a little sick so maybe next week.
by Edgar1
Fri Oct 11, 2019 8:20 am
Forum: Sample Code
Topic: ESP32 with ESP-IDF Classic Bluetooth - Mobile Phone - Serial Communication
Replies: 8
Views: 31903

ESP32 with ESP-IDF Classic Bluetooth - Mobile Phone - Serial Communication

I was looking for sample code to create a simple application for serial communication between the ESP32 and a mobile phone. It took a long time before I figured out how things work. Here is some information - for a start without code. I looked at the ESP-IDF BT-SPP-ACCEPTOR demo https://github.com/e...