Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

Compiler/CC3220: Domain Name Configuration issue & How to set Encoding Type for HTTP GET Request

$
0
0

Part Number:CC3220

Tool/software: TI C/C++ Compiler

Hi,

We are facing 2 issues in CC3220 configuration:

1. Domain Name configuration : we are able to set domain name with .net zone but unable to set domain name with zone ".local". When we are setting domain name "mynewsimplelink.net" its working with cc3220 but when we are setting domain name "mynewsimplelink.local" its not working for us. Can anyone suggest do we need to do something different for using .local domain name zone? Code snippet is attached below.

unsigned char str1[32] = "mynewsimplelink.zone";
unsigned char len = strlen((const char *)str1);
retVal = sl_NetAppSet(SL_NETAPP_DEVICE_ID, SL_NETAPP_DEVICE_DOMAIN, len, (unsigned char*)str1);

2. How to set Encoding Type for HTTP GET Request: We are unable to find any api to set its content encoding to gzip format. Use case is we have webpages in compressed form & we want browser to extract that when we hit IP address in browser, browser unable to load this webpage however if we include webpages in extracted form from uniflash 4.2 then it is working fine for us. IS there is any way to load webpages in gz or gzip formats?

Or we need to change in HTTPGetRequest - Contnt encoding in gzip?

 


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>