is copy-less read operations possible for nvs blobs?

RMandR
Posts: 75
Joined: Mon Oct 29, 2018 3:13 pm

is copy-less read operations possible for nvs blobs?

Postby RMandR » Fri Nov 01, 2019 5:07 pm

for aws mqtt connection, the API seems to accept only pointer memory location or fat fs paths.

What's the best way of doing this if the aws cert is not embedded in the binary and stored in NVS?

It seems like a waste memory to have to copy the certs and keys from NVS into memory before passing onto the MQTT/TLS interface.

Someone mentioned passing a pointer from the nvs blob. Is that possible?

TIA

-a


RMandR
Posts: 75
Joined: Mon Oct 29, 2018 3:13 pm

Re: is copy-less read operations possible for nvs blobs?

Postby RMandR » Sat Nov 02, 2019 3:29 pm

@WiFive. Thanks for the pointer.

Who is online

Users browsing this forum: Baidu [Spider], CseaTec and 121 guests