Search found 13 matches
- Sun Apr 14, 2019 9:43 am
- Forum: ESP-IDF
- Topic: ESP32 SPP send throughput
- Replies: 12
- Views: 31734
Re: ESP32 SPP send throughput
Hi all,
There is one thing that needs attention here. We can't call esp_spp_write() multiple times in succession. We should wait for ESP_SPP_WRITE_EVT, then call esp_spp_write() again.
So, when do you call esp_spp_write()?If you call it multiple times in succession, please change it and test ...
- Sun Jul 01, 2018 12:42 am
- Forum: ESP-IDF
- Topic: What does spi_device_interface_config_t.mode mean
- Replies: 2
- Views: 6611
Re: What does spi_device_interface_config_t.mode mean
Thank you WiFive!
- Sun Jun 03, 2018 9:07 am
- Forum: ESP-IDF
- Topic: What does spi_device_interface_config_t.mode mean
- Replies: 2
- Views: 6611
What does spi_device_interface_config_t.mode mean
Hi,
I am wondering if there are any description about the .mode field in spi_device_interface_config_t structure?
Currently I can only find a simple comment line like "SPI mode (0-3) ", where can one find descriptions about the meaning for each value of "0, 1, 2, 3"?
I am wondering if the mode ...
I am wondering if there are any description about the .mode field in spi_device_interface_config_t structure?
Currently I can only find a simple comment line like "SPI mode (0-3) ", where can one find descriptions about the meaning for each value of "0, 1, 2, 3"?
I am wondering if the mode ...
- Wed May 16, 2018 10:15 am
- Forum: Sample Code
- Topic: Sample for collecting data from SPI device
- Replies: 0
- Views: 4909
Sample for collecting data from SPI device
Does the SPI master driver support to get data from a slave device via SPI?
Assuming that SPI slave device can flag an interrupt line when there is data and then the MCU will be noticed via ISR and then a reader task will start reading the SPI data out using transactions. There are also some ...
Assuming that SPI slave device can flag an interrupt line when there is data and then the MCU will be noticed via ISR and then a reader task will start reading the SPI data out using transactions. There are also some ...
- Mon May 07, 2018 11:08 pm
- Forum: ESP-IDF
- Topic: ESP32 SPP send throughput
- Replies: 12
- Views: 31734
Re: ESP32 SPP send throughput
Thank you Marcus, it is good to know that I am not alone. In my case, there is no peer verification since it is an one-way data collecting usage pattern.
- Sat May 05, 2018 2:24 am
- Forum: ESP-IDF
- Topic: ESP32 SPP send throughput
- Replies: 12
- Views: 31734
ESP32 SPP send throughput
I am trying sending data from ESP32 via esp_spp_write over a SPP handle to an Android device. The ESP32 does esp_spp_write() of 510 bytes packet and then sleep 84ms in a loop. This implies a 1000/84*510=6KB/s.
The puzzle point is that I got quite a few ESP_SPP_CONG_EVT during the process. What ...
The puzzle point is that I got quite a few ESP_SPP_CONG_EVT during the process. What ...
- Tue May 01, 2018 2:43 am
- Forum: ESP-IDF
- Topic: spp handle id
- Replies: 0
- Views: 2876
spp handle id
How SPP handle is managed in SPP acceptor role?
It seems that the handle value got upon ESP_SPP_SRV_OPEN_EVT is not always the same as the handle upon ESP_SPP_CLOSE_EVT.
case ESP_SPP_SRV_OPEN_EVT:
ESP_LOGI(TAG, "srv_open: %d", param->srv_open.handle);
break;
case ESP_SPP_CLOSE_EVT:
ESP_LOGI ...
It seems that the handle value got upon ESP_SPP_SRV_OPEN_EVT is not always the same as the handle upon ESP_SPP_CLOSE_EVT.
case ESP_SPP_SRV_OPEN_EVT:
ESP_LOGI(TAG, "srv_open: %d", param->srv_open.handle);
break;
case ESP_SPP_CLOSE_EVT:
ESP_LOGI ...
- Sat Apr 21, 2018 11:30 am
- Forum: ESP-IDF
- Topic: gatt_security_server demo doesnot work
- Replies: 3
- Views: 5679
Re: gatt_security_server demo doesnot work
I tried multiple devices
- Nexus 7 tablet with Android 6
- MiPad tablet with Android 4.4.4
- Redmi4x phone with Android 7.1.2
- Sun Apr 15, 2018 11:44 am
- Forum: Report Bugs
- Topic: spp_acceptor crash
- Replies: 0
- Views: 4682
spp_acceptor crash
I am playing with the spp_acceptor example. I added echo function for the incoming packets like below:
static void esp_spp_cv(esp_spp_cb_event_t event, esp_spp_cb_param_t *param){
...
case ESP_SPP_DATA_IND_EVT:
#if (SPP_SHOW_MODE == SPP_SHOW_DATA)
ESP_LOGI(TAG, "ESP_SPP_DATA_IND_EVT len=%d ...
static void esp_spp_cv(esp_spp_cb_event_t event, esp_spp_cb_param_t *param){
...
case ESP_SPP_DATA_IND_EVT:
#if (SPP_SHOW_MODE == SPP_SHOW_DATA)
ESP_LOGI(TAG, "ESP_SPP_DATA_IND_EVT len=%d ...
- Sun Apr 15, 2018 2:17 am
- Forum: ESP-IDF
- Topic: gatt_security_server demo doesnot work
- Replies: 3
- Views: 5679
gatt_security_server demo doesnot work
Does anyone able to make gatt_security_server demo work with nRF connect mobile app?
I tried the demo on DevKitC-V2 board with nRF connect mobile on Android phone and found the bond can't work:
I (175287) SEC_GATTS_DEMO: ESP_GATTS_CONNECT_EVT
E (175627) BT: l2cble_start_conn_update, the last ...
I tried the demo on DevKitC-V2 board with nRF connect mobile on Android phone and found the bond can't work:
I (175287) SEC_GATTS_DEMO: ESP_GATTS_CONNECT_EVT
E (175627) BT: l2cble_start_conn_update, the last ...