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.
Statistics: Posted by vowstar — Mon Nov 17, 2014 12:59 pm
Statistics: Posted by rudi — Fri Nov 14, 2014 6:05 pm
Statistics: Posted by tinhead — Mon Oct 27, 2014 3:40 pm
Statistics: Posted by ESP_Faye — Mon Oct 27, 2014 11:36 am
Code:
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");
Statistics: Posted by vowstar — Sat Oct 25, 2014 1:07 pm