Search found 7 matches

by Vincent zhang
Tue Jun 27, 2023 6:15 am
Forum: ESP-IDF
Topic: An invalid SSL record was received
Replies: 0
Views: 2365

An invalid SSL record was received

I used ssl/tls to connect the mqtt server, which almost worked well, but when i started to downloading firmware about 2 MB in size, I received SSL error -0x7200(MBEDTLS_ERR_SSL_INVALID_RECORD). I investigated many similar issues,and most of them said that MBEDTLS_ SSL_ MAX_ CONTENT_ LEN should be se...
by Vincent zhang
Tue Apr 04, 2023 8:17 am
Forum: ESP-IDF
Topic: How can i know the ble is disconnected while use the Wi-Fi Provisioning
Replies: 1
Views: 934

Re: How can i know the ble is disconnected while use the Wi-Fi Provisioning

Whenever the connection is disconnected, I receive this log "GAP procedure initiated: advertise; disc_mode=2 adv_channel_map=0 own_addr_type=0 adv_filter_policy=0 adv_itvl_min=256 adv_itvl_max=256", but I don't know where it was printed
by Vincent zhang
Tue Apr 04, 2023 7:20 am
Forum: ESP-IDF
Topic: How can i know the ble is disconnected while use the Wi-Fi Provisioning
Replies: 1
Views: 934

How can i know the ble is disconnected while use the Wi-Fi Provisioning

i use IDF 4.2 and Wi-Fi Provisioning over BLE transport to receive wifi credentials,it works well. But now i have a request, when the ble is disconnected with phone App,i need to konw. How can i know the connection is disconnected? Is there any callback API can inform me?
by Vincent zhang
Wed Dec 14, 2022 6:21 am
Forum: ESP-IDF
Topic: Is there an area in esp32 where data is not lost until the device is powered off?
Replies: 1
Views: 1009

Is there an area in esp32 where data is not lost until the device is powered off?

I have some important data that is periodically updated and I want to store it, but I don't want to store them directly on the flash, because this will affect the service life of the flash. Therefore, I would like to know if esp32 has such a storage area, when the program restarts or crashes, the da...
by Vincent zhang
Tue Nov 15, 2022 6:47 am
Forum: ESP-IDF
Topic: when i use the flash encrypt,how can i change the development mode to release mode?
Replies: 5
Views: 3300

Re: when i use the flash encrypt,how can i change the development mode to release mode?

Thanks for everyone's suggestions. These are very useful for me to learn flash encryption.
by Vincent zhang
Wed Nov 09, 2022 1:47 am
Forum: ESP-IDF
Topic: when i use the flash encrypt,how can i change the development mode to release mode?
Replies: 5
Views: 3300

when i use the flash encrypt,how can i change the development mode to release mode?

Hi everyone, i am learning the esp32 flash encrypt by the example "esp-idf\examples\security\flash_encryption". when i follow the official document https://docs.espressif.com/projects/esp-idf/en/latest/esp32/security/flash-encryption.html to test the flash encrypt in develpoment mode,it works OK,and...
by Vincent zhang
Wed Oct 19, 2022 4:46 am
Forum: ESP-IDF 中文讨论版
Topic: FLASH_CRYPT_CNT写保护如何解除
Replies: 0
Views: 1248

FLASH_CRYPT_CNT写保护如何解除

验证flash加密功能时不小心将FLASH_CRYPT_CNT字段设置成写保护了,导致现在无法关闭flash加密。请问有什么方法取消写保护吗