Search found 300 matches

by jcsbanks
Tue Dec 17, 2019 1:47 pm
Forum: General Discussion
Topic: power save in esp32 with running can bus
Replies: 11
Views: 1372

Re: power save in esp32 with running can bus

AFAIK you cannot power save whilst being able to receive on CAN without losing data, unless the ESP32 is the only device on the bus doing the ACK, then there should be retransmits. You can wake the ESP32 on CAN bus activity due to change in level on the Rx pin.
by jcsbanks
Wed Nov 27, 2019 9:21 am
Forum: ESP32 IDF
Topic: Store Certificates in encrypted partition , how ?
Replies: 5
Views: 775

Re: Store Certificates in encrypted partition , how ?

NVS as blob to avoid string limit. There is an Espressif tool to make NVS partition data.
by jcsbanks
Tue Nov 26, 2019 8:45 am
Forum: ESP32 IDF
Topic: Experiement to load/execute compiled C code into RAM
Replies: 8
Views: 2093

Re: Experiement to load/execute compiled C code into RAM

It worked, but I did not continue using it. Doing an OTA update of all the code and data together was easier to use and support for our application. Run time scripts were small and fast by parsing them with std::string so did not have to bulk it with and learn Lua etc.
by jcsbanks
Tue Nov 19, 2019 9:41 am
Forum: General Discussion
Topic: OTA of factory image
Replies: 4
Views: 835

Re: OTA of factory image

Dev boards from various sources might have firmware, but modules we had from Espressif directly do not and this is the standard AFAIK.
by jcsbanks
Fri Nov 15, 2019 9:52 am
Forum: General Discussion
Topic: Is it recommended/practical to use C++ instead of plain C ?
Replies: 12
Views: 1748

Re: Is it recommended/practical to use C++ instead of plain C ?

I use std::map, std::string, std::vector, find and iterators. The error messages are not nice and some things need just as much care for memory management as malloc/free because you can easily run out of PSRAM, it comes down to design and algorithm, and appropriate use and I would not criticise C++ ...
by jcsbanks
Wed Nov 13, 2019 9:12 pm
Forum: ESP32 IDF
Topic: RMT - simplest receive example working, but idle_threshold problem
Replies: 13
Views: 3870

Re: RMT - simplest receive example working, but idle_threshold problem

Is that loop ever going to be blocked/yield or just burn up CPU cycles?
by jcsbanks
Mon Nov 11, 2019 12:24 pm
Forum: ESP32 IDF
Topic: BT classic within IDF: AVRCP CT - send track/artist metadata without audio
Replies: 3
Views: 601

BT classic within IDF: AVRCP CT - send track/artist metadata without audio

I've been reading the documentation and include files on Bluetooth classic and looking at examples, but am new to Bluetooth and struggling. My desired use case is to get an ESP32 to become a Bluetooth source to be able to send track/artist strings/metadata to a bluetooth sink device that is a media ...
by jcsbanks
Mon Oct 21, 2019 7:38 am
Forum: ESP32 IDF
Topic: FatFs does not work on encrypted partition
Replies: 11
Views: 2906

Re: FatFs does not work on encrypted partition

I got into the habit of only adding the encryption tags in the partition table only when flash encryption was enabled. It was not mentioned in docs, but it solved a few problems if I recall switching between flash encryption on or off.

Go to advanced search