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.

[参考译文] CC3220MOD:DNS 名称长度的限制

Guru**** 2551110 points


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

https://e2e.ti.com/support/wireless-connectivity/wi-fi-group/wifi/f/wi-fi-forum/772111/cc3220mod-the-limitation-for-dns-name-length

器件型号:CC3220MOD

您好!

对于 simplelink_cc32xx_sdk_2_10_00_04、DNS 名称长度的最大值是多少(=以下 API 的"NameLen")。

_i16 sl_NetAppDnsGetHostByName (_i8 * pHostName、
const _U16 NameLen、
_u32 * OutIpAddr、
const _u8系列
)

问题的背景是,DNA 名称通常应低于255 个字符。

我想知道是否实现了通知用户何时放置超过255个字符的软件。

此致、

哈塔。

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

    否、器件在内部支持超过255个字符的长度。 如果用户指定名称 Len 超过该值、则不一定会生成错误。

    此致、
    本·M