espressif / esp-homekit-sdk

562 stars 104 forks source link

Is it possible to remove nvs? #128

Closed butaikis closed 1 month ago

butaikis commented 6 months ago

Hello. Is it possible to exclude the use of nvs storage in the SDK? There is no way to use nvs..

shahpiyushv commented 6 months ago

There is no way to use nvs..

Not sure what you mean here. Why is there no way to use nvs?

esp_hap_core internally uses APIs from hap_platform_keystore and not NVS directly. You can create your own abstraction here to skip nvs.

butaikis commented 6 months ago

@shahpiyushv Thanks for the answer, I get it. Is it possible to find out what data HAP stores in nvs? Data limits and so on to calculate the correct size of the nvs partition.