Search found 19 matches

by heyinling
Tue Aug 15, 2017 2:05 pm
Forum: ESP-IDF
Topic: SoftAP problems.
Replies: 1
Views: 4262

Re: SoftAP problems.

Hi,
password need to be at least 8 octets for WPA2
by heyinling
Mon Aug 14, 2017 1:36 am
Forum: General Discussion
Topic: Socket issues
Replies: 34
Views: 52380

Re: Socket issues

@permal could you push your docker image to docker hub and also provide application code so we can reproduce this issue?
by heyinling
Fri Aug 11, 2017 8:01 am
Forum: General Discussion
Topic: Socket issues
Replies: 34
Views: 52380

Re: Socket issues

Hi Permal, I failed to reproduce your issue: 1. create TCP socket on ESP32 2. do connect to TCP server, server do not reply, let ESP32 re-transmit SYN and timeout (connect() return error, it take around 18 seconds, 3s timeout value * 6 re-transmit times) 3. close socket 4. repeat step 1-3 several ti...
by heyinling
Fri Jul 28, 2017 8:37 am
Forum: ESP-IDF
Topic: Fetch WiFi Credentinals from iOS connected via Bluetooth
Replies: 2
Views: 5396

Re: Fetch WiFi Credentinals from iOS connected via Bluetooth

Hi,

You can use Blufi. There's an example in `esp-idf/examples/bluetooth/`.
by heyinling
Fri Jul 21, 2017 6:43 am
Forum: ESP-IDF
Topic: BLE GATT_Server and GATT_Client at the same time possible?
Replies: 9
Views: 25495

Re: BLE GATT_Server and GATT_Client at the same time possible?

Hi Lucas.Hutchinson

I think the limitation should be that we can't use (adv) and (scan connect) at the same time. I first let ESP32 work as GATTS, connected by a GATTC (adv auto switched off now), then connect to a GATTS. it works well on both connections with both role.
by heyinling
Fri Jul 21, 2017 6:31 am
Forum: ESP-IDF
Topic: Changing Supervision timeout on BLE
Replies: 6
Views: 12426

Re: Changing Supervision timeout on BLE

hi frostyowned,

you may try with the latest IDF. There was a bug that slave can't update conn param.

@Lucas.Hutchinson update conn param should be a function available both for master and slave.
by heyinling
Fri Jul 21, 2017 6:23 am
Forum: ESP-IDF
Topic: BLE multi-connection procedure
Replies: 11
Views: 35265

Re: BLE multi-connection procedure

I've tried the following scenarios with GATT service discovery/read/write/notify/indicate: 1. 4 (default max conn allowed in menuconfig) ESP32 (master + GATTC) connected to ESP32 (slave + GATTS) 2. ESP32 (master + GATTC) connect to 4 ESP32 (slave + GATTS) 3. ESP32 (master + GATTC) connect to 2 ESP32...
by heyinling
Sat Jul 08, 2017 9:33 am
Forum: ESP-IDF
Topic: BLE Secure Simple Pairing
Replies: 4
Views: 11762

Re: BLE Secure Simple Pairing

OOB is not ready yet. Only standard pairing methods are supported now. I think OOB pairing is not often used, standard pairing methods are enough for most scenarios. As you mentioned NFC, the most common scenario is that NFC tag just tells the device to perform BT connect to a specific address, not ...
by heyinling
Mon Jun 12, 2017 2:06 pm
Forum: ESP-IDF
Topic: BLE Secure Simple Pairing
Replies: 4
Views: 11762

Re: BLE Secure Simple Pairing

Hi, for BLE, you may refer to esp-idf/examples/bluetooth/gatt_secure_server.
there're APIs to set security property and IOCAP, which will be used to compute which pairing method to use.
You may refer to BT Core Spec 4.2, volume 3 part H 2.3. table 2.6, 2.7, 2.8 explains how pairing method is chosen.
by heyinling
Mon Jun 12, 2017 1:54 pm
Forum: ESP-IDF
Topic: Writing tests for a component
Replies: 1
Views: 5223

Re: Writing tests for a component

Hi, I've wrote some C unit test cases according to the doc http://esp-idf.readthedocs.io/en/latest/api-guides/unit-tests.html. after adding cases, you need to do `make flash TESTS_ALL=1` or `make TEST_COMPONENTS='xxx'` to build unit-test-app and flash to target board. then open the serial console, r...