Search found 5 matches

by billiam
Fri Oct 09, 2020 10:01 pm
Forum: General Discussion
Topic: HWCrypto VS MbedTLS
Replies: 19
Views: 36117

Re: HWCrypto VS MbedTLS

FWIW 2 years too late, the iv is modified in place when the crypto runs. To decrypt it, you need to reset it to its original value.
by billiam
Wed Mar 11, 2020 8:31 pm
Forum: General Discussion
Topic: OTA Security / Contract Manufacture
Replies: 0
Views: 3934

OTA Security / Contract Manufacture

We will be manufacturing our product offshore. The plan is to provide the manufacturer with a basic app binary that will enable secure boot and flash encryption then reboot and run some diagnostics, and then pull down our application binary from a secure server in the cloud using https. My issue/que...
by billiam
Fri Jun 28, 2019 7:08 pm
Forum: ESP-IDF
Topic: HTTPS OTA with Basic Authorization
Replies: 12
Views: 17945

Re: HTTPS OTA with Basic Authorization

Basic auth works just fine in esp-idf 3.2+ as long as you encode your username/password in the url as follows :

https://user:password@myotaserver.com/m ... rmware.bin

Instructions to set up apache for basic auth :
https://cwiki.apache.org/confluence/dis ... dBasicAuth
by billiam
Mon Jul 30, 2018 4:41 pm
Forum: ESP-IDF
Topic: esp_ble_tx_power_set has no effect
Replies: 3
Views: 10798

Re: esp_ble_tx_power_set has no effect

My code looks just like yours. I am seeing a 20dbm difference in advertising RSSI using a ble monitor app between LVL_P7 and LVL_N14. I have not tested transmit power when connected. I am disappointed that N14 is as low as it can go. It is still, at N14, a stronger signal (rssi=-70) at 4 feet than a...
by billiam
Tue Jul 24, 2018 8:54 pm
Forum: General Discussion
Topic: BLE low power status
Replies: 8
Views: 15776

Re: BLE low power status

I am in the same boat. Our application sends up to 1K/second of data via BLE indications when it is active. I am evaluating ESP32 for our next gen platform and have noticed the RSSI/Range/Current consumption indicate the TX power level is quite high. We would sure like a way to turn it down and save...