Search found 40 matches

by dhs2017
Fri Sep 29, 2017 5:48 am
Forum: General Discussion
Topic: Simultaneous WiFI and BLE
Replies: 12
Views: 30327

Re: Simultaneous WiFI and BLE

Just turn on wifi and gatt client, it can run simultaneously .
I have a application to collect ble data every 15 mins and then publish to the cloud, it works well.
by dhs2017
Tue Aug 15, 2017 1:57 am
Forum: General Discussion
Topic: system clock set alaram
Replies: 0
Views: 2323

system clock set alaram

Hi, is there a way to set an alarm based on system clock? let's say I want to set a alarm at 9:30 am everyday.
by dhs2017
Wed Jul 19, 2017 8:48 am
Forum: General Discussion
Topic: bluetooth client error message
Replies: 2
Views: 5494

bluetooth client error message

Hi all, when i run the example gatt client, it always show this error log, anyone know how to solve this? E (1162) BT: l2cble_start_conn_update, the last connection update command still pending. E (1162) BT: l2cble_start_conn_update, the last connection update command still pending. E (1562) BT: l2c...
by dhs2017
Mon Jul 10, 2017 7:01 am
Forum: General Discussion
Topic: Bluetooth scan issue
Replies: 4
Views: 7743

Re: Bluetooth scan issue

I found that it's bcoz the poor performance of the ESP32 module on the development board.

I changed to another brand development broad, the problem gone.
by dhs2017
Fri Jul 07, 2017 4:48 pm
Forum: General Discussion
Topic: Bluetooth scan issue
Replies: 4
Views: 7743

Re: Bluetooth scan issue

your understanding is correct. I found that the poor bluetooth scan performance is because I also turn on the wifi. When I turn on the wifi, the ESP32 only has less than 1/10 chance can scan the BLE SoC device name, but the situation improved after I turn off the wifi. Does it mean that the ESP32 ca...
by dhs2017
Wed Jul 05, 2017 3:56 pm
Forum: General Discussion
Topic: Bluetooth scan issue
Replies: 4
Views: 7743

Bluetooth scan issue

Hi, I used the gatt client example in the esp-idf and have the following issue: I have two device, one is android smartphone and another one is BLE SoC. The ESP32 can scan the android smartphone device name, but it CANNOT scan the BLE Soc device name, no result at all. The smartphone can scan the BL...
by dhs2017
Thu Apr 20, 2017 6:10 am
Forum: General Discussion
Topic: gatt server service table example
Replies: 6
Views: 9968

Re: gatt server service table example

Below is the only code I added on top of the service table example code, it shows the error when I read the sensor location. E (104789) BT: GATTS_SendRsp conn_id: 4 waiting for op_code = 00 E (104789) BT: Sending response failed case ESP_GATTS_READ_EVT: memset(&rsp, 0, sizeof(esp_gatt_rsp_t)); rsp.a...
by dhs2017
Wed Apr 19, 2017 3:56 pm
Forum: General Discussion
Topic: gatt server service table example
Replies: 6
Views: 9968

gatt server service table example

Anyone know what is the difference betweengatt server service table example and another "gatt server" example? My problem is I can send use "esp_ble_gatts_send_response" & "esp_ble_gatts_send_indication" in the gatt server example, but I can't use esp_ble_gatts_send_response in the service table exa...
by dhs2017
Tue Apr 04, 2017 3:25 pm
Forum: General Discussion
Topic: [solved] problem with WIFI_INIT_CONFIG_DEFAULT()
Replies: 2
Views: 7473

Re: problem with WIFI_INIT_CONFIG_DEFAULT()

Thanks!! the problem disappeared after I included the workspace and rebuild the index!!
by dhs2017
Thu Mar 30, 2017 9:07 am
Forum: General Discussion
Topic: [solved] problem with WIFI_INIT_CONFIG_DEFAULT()
Replies: 2
Views: 7473

[solved] problem with WIFI_INIT_CONFIG_DEFAULT()

Hi all, I am new on esp chips and I am trying the examples in esp-idf. when i build the wifi sample code in eclipse , wifi_init_config_t wifi_init_config = WIFI_INIT_CONFIG_DEFAULT(); ESP_ERROR_CHECK(esp_wifi_init(&wifi_init_config)); If shows the error Symbol 'wifi_init_config' could not be resolve...