Search found 22 matches

by xzwang
Fri Jan 20, 2017 2:42 am
Forum: General Discussion
Topic: ESP32 SmartConfig issue
Replies: 2
Views: 3575

Re: ESP32 SmartConfig issue

I find the SC version in ESP32 is V2.6.3 and I used ESP-TOUCH Android APK v0.3.4.3 on http://espressif.com/zh-hans/support/do ... d%5B%5D=20m . Is that the apk is too old? I also tried Airkiss, it worked fine.
by xzwang
Thu Jan 19, 2017 9:09 am
Forum: General Discussion
Topic: ESP32 SmartConfig issue
Replies: 2
Views: 3575

ESP32 SmartConfig issue

Does anyone have used esp32 SmargConfig? I tried to connect WiFi by Smartconfig, the smartconfig type is SC_TYPE_ESPTOUCH. However esp32 can't connect to WiFi. In smartconfig_done callback, only print the log "SC_STATUS_FIND_CHANNEL", no any other callback status. I think it should get "SC_STATUS_GE...
by xzwang
Thu Jan 12, 2017 3:07 am
Forum: General Discussion
Topic: How to connect more than one BLE devices?
Replies: 1
Views: 1684

Re: How to connect more than one BLE devices?

I find the BTA_GATTC_CL_MAX in bta_gattc_int.h, it has been defined 3. And buledroid will take up one gatt client after initialized. So it only can connect two slavers at most.

Is the BTA_GATTC_CL_MAX decided by the CPU capability of ESP32 ?
by xzwang
Wed Jan 11, 2017 3:08 am
Forum: General Discussion
Topic: How to connect more than one BLE devices?
Replies: 1
Views: 1684

How to connect more than one BLE devices?

Now I use the ESP32 as Master, and want to connect More than one BLE devices? I find two profiles in gattc_client example. Is that means that ESP32 can connect two ble slavers ? And one profile corresponding one ble slaver ? I also find an issue that ESP32 can only call esp_ble_gattc_app_register tw...
by xzwang
Tue Jan 10, 2017 6:43 am
Forum: General Discussion
Topic: BLE and WIFI can't coexist when ESP32 as BLE master?
Replies: 5
Views: 4356

Re: BLE and WIFI can't coexist when ESP32 as BLE master?

I find that the sdkconfig on master branch disabled [Run FreeRTOS only on first core]. So I enable the [Run FreeRTOS only on first core] in menuconfig, the crash disappeared.

Anyone can explain this result? Thanks!
by xzwang
Tue Jan 10, 2017 6:14 am
Forum: General Discussion
Topic: BLE and WIFI can't coexist when ESP32 as BLE master?
Replies: 5
Views: 4356

BLE and WIFI can't coexist when ESP32 as BLE master?

I update my IDF by git pull on master branch. I find that some APIs has changed in esp_gattc_api.h . I want to make BLE and WIFI coexistence and swap data, So the example 15 and example 03 are what I really want. Then I modify the example 15 (gattc_demo), and add WIFI function into this demo. Howeve...
by xzwang
Wed Jan 04, 2017 12:41 am
Forum: General Discussion
Topic: Simultaneous WiFI and BLE
Replies: 12
Views: 18687

Re: Simultaneous WiFI and BLE

I have read the example 15, and also found some GATTC APIs. The followed codes is the key code to get services, characteristics,descriptions... But it may exist some issues, sometimes the ESP32 will restart with an exception. I confused how to use the start_xxx_id in these two apis. esp_err_t esp_bl...
by xzwang
Tue Jan 03, 2017 9:20 am
Forum: General Discussion
Topic: Simultaneous WiFI and BLE
Replies: 12
Views: 18687

Re: Simultaneous WiFI and BLE

I am also doing this, using esp32 as BLE-Internet gateway. I have established BLE and WIFI connection at the same time. I have some problems here: 1, How to get all services, characteristics, descriptions? 2, How to connect more than one ble devices? Could you share your experience here? Or if I can...
by xzwang
Fri Dec 30, 2016 9:15 am
Forum: ESP-IDF
Topic: how to get all services supported by slaver?
Replies: 1
Views: 1702

how to get all services supported by slaver?

I have read the exmaple15, esp32 as the GATT Client. It can connect the indicated device now, but there is no code to get all services,charasteristics,descriptions. I have found the API: esp_ble_gattc_get_characteristic(uint16_t conn_id,esp_gatt_srvc_id_t *srvc_id, esp_gatt_id_t *start_char_id); esp...
by xzwang
Fri Dec 30, 2016 8:39 am
Forum: ESP-IDF
Topic: How to receive ble data when esp32 used as master?
Replies: 2
Views: 2385

Re: How to receive ble data when esp32 used as master?

I have fixed this issue, the event ESP_GATTC_NOTIFY_EVT will come when received a notify. I didn't call esp_ble_gattc_register_for_notify when recvived characteristic that its property was 0x10. It is the key reason.

Anyway, Thanks.

Go to advanced search