Search found 30 matches

by MarkIngle
Tue Sep 12, 2023 2:56 pm
Forum: General Discussion
Topic: Classic BT - Pairing ESP32 with another Classic BT device
Replies: 2
Views: 4076

Re: Classic BT - Pairing ESP32 with another Classic BT device

I was able to get this working with a Classic BT device. The core issue was that the device really needed SSP to be enabled and set to "just works"....by chance I discovered that the function esp_spp_init allows for pairing without exchanging a PIN code....there is more info in the code on this in a...
by MarkIngle
Mon Sep 04, 2023 7:20 pm
Forum: General Discussion
Topic: Classic BT - Pairing ESP32 with another Classic BT device
Replies: 2
Views: 4076

Re: Classic BT - Pairing ESP32 with another Classic BT device

BUMP...just bringing this back to the top. The lack of responses seem to confirm that sending a pair request FROM the ESP32 is not possible.
by MarkIngle
Thu Aug 31, 2023 5:04 pm
Forum: General Discussion
Topic: Classic BT - Pairing ESP32 with another Classic BT device
Replies: 2
Views: 4076

Classic BT - Pairing ESP32 with another Classic BT device

I am having trouble identifying the function to make a pairing request from the ESP32 to another device. I have been working to understand the Initiator and Acceptor code with good progress. There are the esp_bt_gap_set_pin and esp_bt_gap_pin_reply functions but those seem to be used for pairing in ...
by MarkIngle
Thu Jul 20, 2023 12:59 am
Forum: ESP-IDF
Topic: ESP32S2 VCP Example
Replies: 7
Views: 1137

Re: ESP32S2 VCP Example

Success!!! I need to initialize the arrary to uint8_t ....1 byte instead of 4 bytes! Much easier... //THIS WILL COMPILE YAY!!!!... // 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 uint8_t this_int[] = {0xFE,0x21,0x00,0xFF,0x00,0x4C,...
by MarkIngle
Wed Jul 19, 2023 11:00 pm
Forum: ESP-IDF
Topic: ESP32S2 VCP Example
Replies: 7
Views: 1137

Re: ESP32S2 VCP Example

Thanks ESP_Sprite! That got me going with using integers....I am fighting the additional 3 bytes when using an array of integers but I will try to solve that myself...helps with learning techniques. Once I get this working I will post the solution here for others who might need it. int this_int[] = ...
by MarkIngle
Wed Jul 19, 2023 2:17 am
Forum: ESP-IDF
Topic: ESP32S2 VCP Example
Replies: 7
Views: 1137

Re: ESP32S2 VCP Example

Hi ESP_Sprite! Yes thank you for confirming that tx_blocking sends a chuck of data. The problem with using an integer is that my code will not compile...see screenshot at the link below https://drive.google.com/file/d/1OinDvZBxtAdjIAJfAiavh0LjpjmSVOCs/view?usp=sharing This code works...I have been a...
by MarkIngle
Tue Jul 18, 2023 10:02 pm
Forum: ESP-IDF
Topic: ESP32S2 VCP Example
Replies: 7
Views: 1137

Re: ESP32S2 VCP Example

Thanks! I am using the cdc_acm_vcp_example_main.cpp from the examples directory that comes with the esp-idf 5.1 install. The function is at this link.. https://github.com/espressif/esp-idf/blob/4fc2e5cb95abb1e7339f11929bc9e916a9c3d15a/examples/peripherals/usb/host/cdc/cdc_acm_vcp/main/cdc_acm_vcp_ex...
by MarkIngle
Tue Jul 18, 2023 12:58 am
Forum: ESP-IDF
Topic: ESP32S2 VCP Example
Replies: 7
Views: 1137

ESP32S2 VCP Example

I am working to understand the new ESP32S2 serial architecture. It is a great design! I have been able to successfully connect to a device with a FTDI USB to Serial chip and transmit a string of text. This is done with the tx_blocking function. Now I am interested in sending integers but I cannot ge...
by MarkIngle
Tue Apr 26, 2022 1:05 am
Forum: Hardware
Topic: ESP32-U4WDH Single or Dual Core
Replies: 1
Views: 1410

ESP32-U4WDH Single or Dual Core

Could someone please confirm how many cores the U4WDH has? I there is conflicting information at various sites on the internet. See screenshots from two different datasheets....
by MarkIngle
Sat Sep 26, 2020 12:32 am
Forum: General Discussion
Topic: Issue with MCPWM Prescaler
Replies: 6
Views: 8510

Re: Issue with MCPWM Prescaler

Hello! I am really interested in trying to use MCPWM with a stepper motor...does anyone have a schematic for connecting a NEMA stepper motor and the ESP32 Dev kit board?