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

CC3220 Setting device URN name

$
0
0

Hello,

How can I configure custom URN name? I'm using HTTP server and I would like to use my own URN to connect to it instead of mysimplelink.net.

I use the following code:

        unsigned char str[32] = "mydomainname.net";
        unsigned char len = strlen((const char *)str);
        retc = sl_NetAppSet(SL_NETAPP_DEVICE_ID, SL_NETAPP_DEVICE_URN,
                len, (unsigned char*)str);

However, it ends up with error -6147

Do I need to call any other functions prior to sl_NetAppSet()?

Can you please tell me what can be wrong?

Thank you


Viewing all articles
Browse latest Browse all 262198

Trending Articles



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