Search found 15 matches

by tanmanh0707
Mon Jun 17, 2024 8:56 am
Forum: ESP32 Arduino
Topic: ESP32 SPP connection dropped after 3 seconds
Replies: 4
Views: 1042

Re: ESP32 SPP connection dropped after 3 seconds

Hi tanmath, yes it can be captured. I followed the instructions in this Stackoverflow answer . I'll copy them here in case the link ever goes bad: To capture Bluetooth traffic using Wireshark you will need the BTP software package, you can get it here . Install the package and find the files (usual...
by tanmanh0707
Sun Jun 16, 2024 5:29 am
Forum: ESP32 Arduino
Topic: ESP 32 Keep rebooting/resetting
Replies: 2
Views: 954

Re: ESP 32 Keep rebooting/resetting

Firstly, try Blink example if it works. After that, minimize your code to check where the problem is. Post your code if possible.
by tanmanh0707
Sun Jun 16, 2024 5:26 am
Forum: ESP32 Arduino
Topic: ESP32 SPP connection dropped after 3 seconds
Replies: 4
Views: 1042

Re: ESP32 SPP connection dropped after 3 seconds

Since you already figured it out, I'm here to ask for your help. Could you show me how to configure Wireshark to capture Bluetooth packages? I'm using Bluetooth classic, can it be captured? Thank you.
by tanmanh0707
Tue May 28, 2024 8:25 am
Forum: ESP32 Arduino
Topic: Dual SPI on ESP32-WROOM-32E
Replies: 2
Views: 710

Re: Dual SPI on ESP32-WROOM-32E

Since CS, MOSI and SCLK are working on your scope, I doubt the issue is from your stepper. I suggest removing SD card out and check only stepper if it works firstly.
by tanmanh0707
Tue May 28, 2024 6:41 am
Forum: ESP32 Arduino
Topic: Bluetooth A2DP Source failed to re-connect to Airpods headset
Replies: 1
Views: 854

Bluetooth A2DP Source failed to re-connect to Airpods headset

Hello, I'm working on a project which involes esp32 works as an Audio source, connects to Bluetooth (bt) headset/speaker. The requirement is that, esp32 first scans and pairs to bt headset then transfers the audio source. After that, it will need to automatically reconnect to headset in either ways:...
by tanmanh0707
Tue Jan 02, 2024 3:41 am
Forum: ESP-IDF
Topic: How to change sample rate A2DP source to headphone
Replies: 2
Views: 1287

Re: How to change sample rate A2DP source to headphone

Hello, does anyone have any idea?
by tanmanh0707
Tue Dec 26, 2023 3:55 am
Forum: ESP-IDF
Topic: How to change sample rate A2DP source to headphone
Replies: 2
Views: 1287

How to change sample rate A2DP source to headphone

Hi, I'm working on a project in which esp32 works as a Bluetooth source, sends audio data from I2S microphone to headphone/earphone and it's working properly with default configuration. As per my understanding, esp32 a2dp works at 44100Hz default sample rate. So I configured I2S microphone to 44100H...
by tanmanh0707
Thu Aug 31, 2023 10:55 am
Forum: ESP32 Arduino
Topic: Guru Meditation Error: Core 1 panic'ed
Replies: 2
Views: 2110

Re: Guru Meditation Error: Core 1 panic'ed

Be careful when working with pointers. Firstly, initiate all pointers to nullptr AudioGeneratorWAV *wav = nullptr; AudioOutputI2S *out = nullptr; AudioFileSourceSD *file = nullptr; Secondly, before accessing to pointer or deleting pointer, make sure it is not null using: if (wav) { // do something d...
by tanmanh0707
Thu Aug 31, 2023 10:34 am
Forum: ESP32 Arduino
Topic: Is it possible to modify the final binary image before uploading to esp32?
Replies: 5
Views: 5239

Re: Is it possible to modify the final binary image before uploading to esp32?

It might be possible to do this if you are replacing with a string the same length, but I don't think you will save a whole lot of time. On a decent machine (8GB RAM), you should be able to cache the whole of the input files. So, if you compile from the command line, you can feed in a define (in a ...
by tanmanh0707
Thu Aug 31, 2023 10:30 am
Forum: ESP32 Arduino
Topic: Is it possible to modify the final binary image before uploading to esp32?
Replies: 5
Views: 5239

Re: Is it possible to modify the final binary image before uploading to esp32?

This should be possible if You also edit CRC properly. First of all, You should locate where this CRC is. For example, complie two programs. One with: unsigned char template_string[] = "This-is-template-string"; The second one with: unsigned char template_string[] = "This-is-modified-string"; And n...