Esp.h wrapper functions
Posted: Sat Apr 11, 2020 9:33 am
Hi,
Just wanted to get some clarification on the Esp.h library. I can see that some of the functions add some value to the esp-idf functions they wrap - for example: getChipRevision() extracts the revision from the chip_info struct. Some, like flashWrite() don't really add any value, which is fine, but then there are other esp-idf functions like partitionWrite() that aren't included in the library.
So, I'm trying to understand what makes a function a candidate to be included. Is it possibly that any esp-idf functions used by the core or libraries that ship with it get wrapped?
thanks, ...rob
Just wanted to get some clarification on the Esp.h library. I can see that some of the functions add some value to the esp-idf functions they wrap - for example: getChipRevision() extracts the revision from the chip_info struct. Some, like flashWrite() don't really add any value, which is fine, but then there are other esp-idf functions like partitionWrite() that aren't included in the library.
So, I'm trying to understand what makes a function a candidate to be included. Is it possibly that any esp-idf functions used by the core or libraries that ship with it get wrapped?
thanks, ...rob