Search found 10 matches

by dldtechnology
Tue Apr 28, 2020 10:28 am
Forum: ESP-IDF
Topic: BLE - ESP_GAP_BLE_PASSKEY_NOTIF_EVT not seen with certain Android phones
Replies: 8
Views: 8636

Re: BLE - ESP_GAP_BLE_PASSKEY_NOTIF_EVT not seen with certain Android phones

Thanks for the traces - I'm trying to get my head around all the stuff in there! :roll: One thing I noticed is that there's a lot of failures looking for certain characteristics - I'm not sure if this is just being blocked because the authentication hasn't occurred, or if the phone was expecting the...
by dldtechnology
Sun Apr 26, 2020 8:49 am
Forum: ESP-IDF
Topic: BLE - ESP_GAP_BLE_PASSKEY_NOTIF_EVT not seen with certain Android phones
Replies: 8
Views: 8636

Re: BLE - ESP_GAP_BLE_PASSKEY_NOTIF_EVT not seen with certain Android phones

I can confirm the same. I will try to hookup bluetooth sniffer and see what is going on.
That would be awesome!

We've also tested a (new) Nokia and that works OK. Beginning to suspect its a bug on the Huawei..
by dldtechnology
Fri Apr 24, 2020 2:32 pm
Forum: ESP-IDF
Topic: BLE - ESP_GAP_BLE_PASSKEY_NOTIF_EVT not seen with certain Android phones
Replies: 8
Views: 8636

Re: BLE - ESP_GAP_BLE_PASSKEY_NOTIF_EVT not seen with certain Android phones

Also seeing same behavior on Arduino using ESP-WROVER-KIT and:

https://raw.githubusercontent.com/choic ... ng_Key.ino

Works on Samsung, not on Huawei


Bottle of very nice whisky / vodka / rum etc to be posted to anyone with the answer!
by dldtechnology
Thu Apr 23, 2020 3:59 pm
Forum: ESP-IDF
Topic: BLE - ESP_GAP_BLE_PASSKEY_NOTIF_EVT not seen with certain Android phones
Replies: 8
Views: 8636

BLE - ESP_GAP_BLE_PASSKEY_NOTIF_EVT not seen with certain Android phones

We have an IDF 3.3 application that creates a BLE server which is based off a few of the existing demo sources available. We use passkey protection, so ESP32 shows a 6 digit key on LCD screen, mobile user enters that key on phone. Everything works fine when using my Samsung phone, but we've found th...
by dldtechnology
Wed Mar 18, 2020 7:32 am
Forum: ESP-IDF
Topic: How to avoid accidental re-flash when secure boot enabled?
Replies: 5
Views: 7448

Re: How to avoid accidental re-flash when secure boot enabled?

Thanks all for the info :D - we will do a manual fuse check first.
by dldtechnology
Mon Mar 09, 2020 2:48 pm
Forum: ESP-IDF
Topic: How to avoid accidental re-flash when secure boot enabled?
Replies: 5
Views: 7448

How to avoid accidental re-flash when secure boot enabled?

We have an application that uses the full secure boot procedure as documented in the manual - this all works great, and we rely on OTA updates after initial flash. Our flashing software calls esptool.py in the background with the following: esptool.py --port {0} -b 460800 --before default_reset --af...
by dldtechnology
Tue Feb 04, 2020 5:44 pm
Forum: Hardware
Topic: Uart RX losing data when recieving data at high baud rates
Replies: 7
Views: 11127

Re: Uart RX losing data when recieving data at high baud rates

I see this problem even on small packets when at 460800 baud. Using the ROM based uart_rx_one_char() seems reliable at that speed (although misses bytes when sending larger packets due to RTOS etc). 345600 works for smaller packets, but not reliable on YMODEM 230400 seems about the highest I can go ...
by dldtechnology
Mon Dec 12, 2016 9:51 pm
Forum: ESP32 Arduino
Topic: Unable to read from BME280
Replies: 25
Views: 44805

Re: Unable to read from BME280

I now have my version of the driver working with various I2C devices at 100K, but it took some doing. Still not working at 400K but that could be electrical as I had quite a lot of stuff on the bus. I ended up writing some dedicated getByte / getWord functions to combine the write and receive parts ...
by dldtechnology
Thu Dec 08, 2016 9:26 pm
Forum: ESP32 Arduino
Topic: Unable to read from BME280
Replies: 25
Views: 44805

Re: Unable to read from BME280

I got my version of the driver working now, and am using it with an I2C OLED no problem. Issue seems to be that when the driver populates the tx FIFO, the FIFO doesn't always catch the data byte, so the value stored in the I2C_CMD_WRITE command is more than the actual values in the TX FIFO, causing ...
by dldtechnology
Tue Dec 06, 2016 8:53 pm
Forum: ESP32 Arduino
Topic: Unable to read from BME280
Replies: 25
Views: 44805

Re: Unable to read from BME280

If it helps, I've ported the Arduino i2c driver to a IDF FreeRTOS C project, and get similar results. I'm trying to write 2 bytes to a small OLED using i2cWrite(), and only see the address and first byte on the logic analyzer. Looking at the i2c registers, all the status bits look as expected, but t...

Go to advanced search