Search found 12 matches

by Sports5115
Sat Jun 15, 2024 2:18 pm
Forum: ESP-IDF
Topic: I2S Rx in Slave mode
Replies: 4
Views: 6870

Re: I2S Rx in Slave mode

I tried using I2S in slave mode, i2s_channel_read simply times out every time,

input correctly shows up in signal generator,
same pins work correctly in master mode as output,
tried different pins too, no effect.
sample rate is only 44.1K

You get what you pay for.
by Sports5115
Fri Jun 07, 2024 11:50 pm
Forum: ESP-IDF
Topic: Can't compile BLE
Replies: 6
Views: 2207

Re: Can't compile BLE

I had to manually add

Code: Select all

add_compile_definitions(BLE_42_FEATURE_SUPPORT)
into cmake file.
What a shitty system :(
by Sports5115
Fri Jun 07, 2024 11:34 pm
Forum: General Discussion
Topic: on BLE scan error
Replies: 1
Views: 4834

Re: on BLE scan error

Same issue for me too with head on WROOM32

[1B][0;32mI (543) BTDM_INIT: BT controller compile version [8a84778][1B][0m
[1B][0;32mI (553) phy_init: phy_version 4791,2c4672b,Dec 20 2023,16:06:06[1B][0m
[1B][0;32mI (953) BLE: ble_init finished.[1B][0m
[1B][0;31mE (953) BT_BTM: BTM_BleScan scan ...
by Sports5115
Fri Jun 07, 2024 10:12 pm
Forum: ESP-IDF
Topic: Can't compile BLE
Replies: 6
Views: 2207

Re: Can't compile BLE

it finds the header, includes it, but the header doesn't contain the expected type?

idf_component_register(
INCLUDE_DIRS
"."

SRCS
"user_main.c"
"dio.c"
"ble_wrp.c"

REQUIRES
driver
esp_common
esp_driver_i2s
freertos
hal
log
bt
nvs_flash
)

also attaching the generated sdkconfig
by Sports5115
Thu Jun 06, 2024 8:44 pm
Forum: ESP-IDF
Topic: Can't compile BLE
Replies: 6
Views: 2207

Re: Can't compile BLE

in sdkconfig I have
CONFIG_BT_BLE_42_FEATURES_SUPPORTED=y

esp_ble_scan_params_t;
is implemented in
components/bt/host/bluedroid/api/include/api/esp_gap_ble_api.h

and i have this in my C file:
#include "esp_gap_ble_api.h"

same way as instructed in doc
https://docs.espressif.com/projects ...
by Sports5115
Tue May 28, 2024 10:32 pm
Forum: ESP-IDF
Topic: Can't compile BLE
Replies: 6
Views: 2207

Can't compile BLE

ESP32 WROOM32D
latest IDF docker image
in menuconfig I enabled

Bluetooth/host bluedroid/
Bluetooth/controller
Bluetooth/bluedroidoptions/ Enable BLE 4.2 features

CMake txt:
idf_component_register(SRCS “ble_wrp.c”
REQUIRES driver
PRIV_REQUIRES nvs_flash bt
INCLUDE_DIRS “include”)

rm -R build
idf ...
by Sports5115
Tue May 28, 2024 9:14 pm
Forum: ESP-IDF
Topic: BT component include error
Replies: 3
Views: 2411

Re: BT component include error

It didn't do anything from docker
sudo docker run --rm -v $PWD:/project -w /project -u $UID -e HOME=/tmp espressif/idf idf.py menuconfig

A fatal error occurred: setupterm: could not find terminal
Loaded configuration '/project/sdkconfig'

tput config /project/sdkconfig
ninja: build stopped ...
by Sports5115
Sat May 18, 2024 8:35 pm
Forum: ESP-IDF
Topic: BT component include error
Replies: 3
Views: 2411

BT component include error

I'm trying to include the BLE header into my ESP32 project, added line

REQUIRES bt esp_common driver hal freertos log
to CMakeLists.txt as instructed by documentation
https://docs.espressif.com/projects/esp-idf/en/stable/esp32/api-reference/bluetooth/esp_gap_ble.html

compiled with latest docker ...
by Sports5115
Sat Mar 02, 2024 4:02 pm
Forum: General Discussion
Topic: ES32P-AT change between BLE server/client mode without reboot
Replies: 0
Views: 6888

ES32P-AT change between BLE server/client mode without reboot

Rebooting takes seconds, so how do I switch between server/client mode in BLE without rebooting?
So I can scan and broadcast fast after each other.
by Sports5115
Thu Jul 27, 2023 1:34 pm
Forum: ESP-AT
Topic: AT+BLEADDR not working
Replies: 0
Views: 8154

AT+BLEADDR not working

I try to set a custom BLE address, but it still uses the default one. (AT+BLEADDR?)


AT+RST
OK
ready

AT+GMR
AT version:2.4.0.0(4c6eb5e - ESP32 - May 20 2022 03:11:58)
SDK version:qa-test-v4.3.3-20220423
compile time(5641e0a):May 20 2022 11:12:05
Bin version:2.4.0(WROOM-32)
OK

AT+BLEINIT=2 ...

Go to advanced search