Search found 121 matches
- Tue Jun 27, 2017 4:51 pm
- Forum: General Discussion
- Topic: Duration of BLE scan
- Replies: 7
- Views: 20274
Duration of BLE scan
Hi, I want to increase scan window of BLE scan . I found structure where described this parameters: uint16_t scan_interval; /*!< Scan interval. This is defined as the time interval from when the Controller started its last LE scan until it begins the subsequent LE scan. Range: 0x0004 to 0x4000 Defau...
- Tue Jun 27, 2017 3:24 pm
- Forum: General Discussion
- Topic: ESP32 debug Eclipse+OpenOCD+JLink issue
- Replies: 3
- Views: 6420
Re: ESP32 debug Eclipse+OpenOCD+JLink issue
I have one more issue - my Jlinks is not found. I'm working on windows 7. Here is output from msys32: admin@workpc MSYS ~/openocd-esp32 $ openocd -f esp32.cfg Open On-Chip Debugger 0.10.0-dev-gebfc3bad (2017-06-27-15:50) Licensed under GNU GPL v2 For bug reports, read http://openocd.org/doc/doxygen/...
- Mon Jun 26, 2017 4:09 pm
- Forum: General Discussion
- Topic: BLE scanner
- Replies: 5
- Views: 10548
Re: BLE scanner
Few сenturies later I found that all neccessary info about scan located in ble_scan_result_evt_param structure, advertisement data is at ble_adv part .
Need to add in esp_gap_cb function.
Need to add
Code: Select all
ESP_LOGI(GATTC_TAG,"BLE_ADV:%s", scan_result->scan_rst.ble_adv);
- Mon Jun 26, 2017 4:05 pm
- Forum: General Discussion
- Topic: Existing Advertising modes in esp32
- Replies: 3
- Views: 9215
Re: Existing Advertising modes in esp32
Thanks for explanations!
One more question I got, there are 4 types described, why ADV_DIRECT_IND have 2 parts ADV_TYPE_DIRECT_IND_HIGH and ADV_TYPE_DIRECT_IND_LOW?
One more question I got, there are 4 types described, why ADV_DIRECT_IND have 2 parts ADV_TYPE_DIRECT_IND_HIGH and ADV_TYPE_DIRECT_IND_LOW?
- Mon Jun 26, 2017 12:38 pm
- Forum: General Discussion
- Topic: Existing Advertising modes in esp32
- Replies: 3
- Views: 9215
Existing Advertising modes in esp32
Hi, Is there more information about available advertising modes? I'm talking about this: /// Advertising mode typedef enum { ADV_TYPE_IND = 0x00, ADV_TYPE_DIRECT_IND_HIGH = 0x01, ADV_TYPE_SCAN_IND = 0x02, ADV_TYPE_NONCONN_IND = 0x03, ADV_TYPE_DIRECT_IND_LOW = 0x04, } esp_ble_adv_type_t; In esp-idf/c...
- Thu Jun 22, 2017 12:15 pm
- Forum: General Discussion
- Topic: Communicate ESP32 to ESP32 over BLE
- Replies: 2
- Views: 4540
Re: Communicate ESP32 to ESP32 over BLE
I would like to see same example too.
- Thu Jun 22, 2017 11:49 am
- Forum: General Discussion
- Topic: ESP32 debug Eclipse+OpenOCD+JLink issue
- Replies: 3
- Views: 6420
ESP32 debug Eclipse+OpenOCD+JLink issue
Hi, I have issue with hardware debugging of ESP32 module (I have CoreBoard V2). I want to debug esp32 through J-Link My Eclipse is configured properly (I can compile&flash throung serial from eclipse). When I'm trying to run debug, I got next error: Open On-Chip Debugger 0.10.0-dev-g90071eb (2017-02...
- Wed Jun 21, 2017 3:57 pm
- Forum: General Discussion
- Topic: BLE scanner
- Replies: 5
- Views: 10548
Re: BLE scanner
The pattern you describe is known as the Observer/Broadcaster pattern. The broadcaster broadcasts a message each period of time and it is received by all observers. The payload is maxed at 31 bytes (practically 27 or less) however an extra 31 bytes can be added through a procedure known as a scan r...
- Wed Jun 21, 2017 9:24 am
- Forum: General Discussion
- Topic: BLE scanner
- Replies: 5
- Views: 10548
Re: BLE scanner
Hi Kolban, thanks for explanations. I see that this way is a bit complex. My main goal is to get data, its not necessary to pair modules. Let me explain my task more detailed. Let say first module ("slave") is some sensor and it sending data. Second module ("master") is device that gets this data. I...
- Tue Jun 20, 2017 3:19 pm
- Forum: General Discussion
- Topic: BLE scanner
- Replies: 5
- Views: 10548
BLE scanner
Hi, I have two esp32 modules. My goal is to send and read data via BLE from one esp32 module to another esp32 module. I'm trying to use GATT_SERVER and GATT_CLIENT from idf examples: https://github.com/espressif/esp-idf/tree/master/examples/bluetooth/gatt_server https://github.com/espressif/esp-idf/...