Search found 23 matches

by kluverp
Tue Nov 19, 2019 6:03 am
Forum: ESP32 IDF
Topic: Bluetooth Classic pairing on/off
Replies: 4
Views: 644

Re: Bluetooth Classic pairing on/off

https://docs.espressif.com/projects/esp-idf/en/stable/api-reference/bluetooth/esp_gap_bt.html#_CPPv418esp_bt_gap_set_pin17esp_bt_pin_type_t7uint8_t17esp_bt_pin_code_t https://github.com/espressif/esp-idf/blob/6517c5033aab27afe491e433d6beeba93dfb1aa7/examples/bluetooth/bluedroid/classic_bt/bt_spp_ac...
by kluverp
Tue Nov 19, 2019 5:40 am
Forum: General Discussion
Topic: ESP32 Bluetooth SPP with bidirectional communication (send and receive)
Replies: 21
Views: 18897

Re: ESP32 Bluetooth SPP with bidirectional communication (send and receive)

If you are flashing this code, i am guessing it is just echoing received data: case ESP_SPP_DATA_IND_EVT: #if (SPP_SHOW_MODE == SPP_SHOW_DATA) ESP_LOGI(SPP_TAG, "ESP_SPP_DATA_IND_EVT len=%d handle=%d", param->data_ind.len, param->data_ind.handle); if (param->data_ind.len < 1023) { snprintf(buf, (si...
by kluverp
Mon Nov 18, 2019 12:19 pm
Forum: ESP32 IDF
Topic: Bluetooth Classic pairing on/off
Replies: 4
Views: 644

Re: Bluetooth Classic pairing on/off

https://docs.espressif.com/projects/esp-idf/en/stable/api-reference/bluetooth/esp_gap_bt.html#_CPPv418esp_bt_gap_set_pin17esp_bt_pin_type_t7uint8_t17esp_bt_pin_code_t https://github.com/espressif/esp-idf/blob/6517c5033aab27afe491e433d6beeba93dfb1aa7/examples/bluetooth/bluedroid/classic_bt/bt_spp_ac...
by kluverp
Mon Nov 18, 2019 10:00 am
Forum: General Discussion
Topic: ESP32 Bluetooth SPP with bidirectional communication (send and receive)
Replies: 21
Views: 18897

Re: ESP32 Bluetooth SPP with bidirectional communication (send and receive)

You just have to combine receiving and sending, like in this simple example based on example_spp_acceptor_demo.c /* This example code is in the Public Domain (or CC0 licensed, at your option.) Unless required by applicable law or agreed to in writing, this software is distributed on an "AS IS" BASI...
by kluverp
Mon Nov 18, 2019 6:10 am
Forum: ESP32 IDF
Topic: Bluetooth Classic pairing on/off
Replies: 4
Views: 644

Bluetooth Classic pairing on/off

Hi all, I'am working on a esp32 project that uses Bluetooth. Now I'am looking into the Bluetooth classic example using SPP (the "bt_spp_acceptor" as a starting point). This is exactly what I need, so I can use the Bluetooth connection as a serial port. Now the real question: I can connect with any d...
by kluverp
Thu Jan 24, 2019 2:31 pm
Forum: ESP32 IDF
Topic: OTA simple example without certificate check
Replies: 2
Views: 1550

OTA simple example without certificate check

Hi All, I'm running the OTA "simple example" which is based on the esp_http_client library. Now, the documentation says, that if you do not want to verify the host, you can omit the "config.cert_pem" entry. However, when I leave this out like so: esp_http_client_config_t config; config.url = C_ota_u...
by kluverp
Tue Jan 22, 2019 11:24 am
Forum: Hardware
Topic: LAN8720 manual reset
Replies: 4
Views: 2030

Re: LAN8720 manual reset

I found the issue! The address of the LAN8720 is set to 0 after pulling the reset wire low. However my system works on address 1. This works the first time initially. But when the LAN8720 gets a reset, it changes to 0. THe ESP32 however has hardcoded address 1 in it's source-code. Therefore the rest...
by kluverp
Tue Jan 22, 2019 6:59 am
Forum: Hardware
Topic: LAN8720 manual reset
Replies: 4
Views: 2030

Re: LAN8720 manual reset

I have noticed something else. When I reset the LAN8720 by pulling the nRST line low, the 100mbit led goes off. Then it does not seem to respond anymore. After that the SMI registers read 0xffff. When in a running situation I reset the LAN8720 with the control register 0, bit 15, it works. So what i...
by kluverp
Tue Jan 22, 2019 6:31 am
Forum: Hardware
Topic: LAN8720 manual reset
Replies: 4
Views: 2030

Re: LAN8720 manual reset

https://github.com/espressif/esp-idf/issues/2564 ? I'm sorry, but this seems no effect. I have compiled my project with both 3.1 and 3.3 IDF framework version, but the issue remains. Only difference is that in 3.1 it's get stuck in the "Timed out waiting for PHY..." loop. In 3.2 and 3.3 this is not...
by kluverp
Mon Jan 21, 2019 1:37 pm
Forum: Hardware
Topic: LAN8720 manual reset
Replies: 4
Views: 2030

LAN8720 manual reset

Hi all, I have a ESP32 connected to a LAN8720 chip on a custom PCB. This all works fine. And we use it to send in sensor data to the Internet. However we noticed that sometimes in the field the LAN8720 stops responding. This could be after a week, sometimes after 20 min. So it's random. What happens...

Go to advanced search