This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] CC3220设置器件 URN 名称

Guru**** 2551110 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/wireless-connectivity/wi-fi-group/wifi/f/wi-fi-forum/803240/cc3220-setting-device-urn-name

您好!

如何配置自定义 URN 名称? 我使用的是 HTTP 服务器、我想使用自己的 URN 来连接它、而不是 mysimplelink.net。

我使用以下代码:

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; 

但是、最终会出现错误-6147

是否需要在 sl_NetAppSet()之前调用任何其他函数?

您能不能告诉我可能出了什么问题?

谢谢你

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    您好!

    是否要在 AP 模式下更改 HTTP 服务器的 DNS 名称? 这应通过 API 来完成:

    SL_NetAppSet (SL_NetApp_DEVICE_ID、SL_NetApp_DEVICE_DOMAIN...

    1月
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    Daniel、您好!

    您可以在第10.7节中找到更多信息:

    www.ti.com/.../swru368b.pdf

    Jesu
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好!

    设置 sl_NetAppSet (sl_NetApp_DEVICE_ID、sl_NetApp_DEVICE_domain、strlen (domain_name)、domain_name); 工作正常。

    谢谢你