base64_decode and base64_encode
Re: base64_decode and base64_encode
Postby vowstar » Sat Oct 25, 2014 1:07 pm
I've test it with(guess
but nothing happened.
Code: Select all
char str[100]={'\0'};
char outstr[100]={'\0'};
os_printf("# TEST BEGIN\n");
os_sprintf(str,"Hello world!");
os_sprintf(outstr,"World Hello!");
base64_encode(str,outstr,11,100);
os_printf("%s,->%s\n",str,outstr);
os_printf("# TEST END\n");
but nothing happened.

Re: base64_decode and base64_encode
Postby ESP_Faye » Mon Oct 27, 2014 11:36 am
Sorry, base64_encode and base64_decode in ROM can not be used in our sdk.
You can porting them from other platform to esp_iot_sdk.
We will delete these apis in next version of sdk.
You can porting them from other platform to esp_iot_sdk.
We will delete these apis in next version of sdk.
Re: base64_decode and base64_encode
Postby tinhead » Mon Oct 27, 2014 3:40 pm
Espressif_Faye wrote:Sorry, base64_encode and base64_decode in ROM can not be used in our sdk.
You can porting them from other platform to esp_iot_sdk.
We will delete these apis in next version of sdk.
well, they not docummented in SDK, but they already there, one could saved resources if there would be a way to have access to all the encryption functions in ROM.
Re: base64_decode and base64_encode
Postby rudi » Fri Nov 14, 2014 6:05 pm
-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪
Re: base64_decode and base64_encode
Postby vowstar » Mon Nov 17, 2014 12:59 pm
tinhead wrote:Espressif_Faye wrote:Sorry, base64_encode and base64_decode in ROM can not be used in our sdk.
You can porting them from other platform to esp_iot_sdk.
We will delete these apis in next version of sdk.
well, they not docummented in SDK, but they already there, one could saved resources if there would be a way to have access to all the encryption functions in ROM.
Hope SDK open more interface, so that we can do more.

Who is online
Users browsing this forum: No registered users and 91 guests
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.