<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Wi-Fi® + Bluetooth® + 802.15.4のトピックRW612 SDK - WPL_Join(), wlan_connect() not const-correct</title>
    <link>https://community.nxp.com/t5/Wi-Fi-Bluetooth-802-15-4/RW612-SDK-WPL-Join-wlan-connect-not-const-correct/m-p/2009646#M3318</link>
    <description>&lt;P&gt;In the RW612 SDK (v2.16.1), some of the function APIs are as follows:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;wpl_ret_t WPL_Join(char *label);
int wlan_connect(char *name);
int wlan_connect_opt(char *name, bool skip_dfs);&lt;/LI-CODE&gt;&lt;P&gt;These functions should not take a "char *" argument, but instead a "const char *" argument; the strings "label" and "name" are not modified by any of these functions.&amp;nbsp; Declaring these as non-const prevents using a const char * label as a parameter to wlan_connect() and by extension WPL_Join(), since the latter calls the former.&amp;nbsp; The above API functions should instead be declared as:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;wpl_ret_t WPL_Join(const char *label);
int wlan_connect(const char *name);
int wlan_connect_opt(const char *name, bool skip_dfs);&lt;/LI-CODE&gt;&lt;P&gt;Please fix this in your next release, thanks.&lt;/P&gt;&lt;P&gt;Dana M.&lt;/P&gt;</description>
    <pubDate>Mon, 09 Dec 2024 03:00:20 GMT</pubDate>
    <dc:creator>dmarks_ls</dc:creator>
    <dc:date>2024-12-09T03:00:20Z</dc:date>
    <item>
      <title>RW612 SDK - WPL_Join(), wlan_connect() not const-correct</title>
      <link>https://community.nxp.com/t5/Wi-Fi-Bluetooth-802-15-4/RW612-SDK-WPL-Join-wlan-connect-not-const-correct/m-p/2009646#M3318</link>
      <description>&lt;P&gt;In the RW612 SDK (v2.16.1), some of the function APIs are as follows:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;wpl_ret_t WPL_Join(char *label);
int wlan_connect(char *name);
int wlan_connect_opt(char *name, bool skip_dfs);&lt;/LI-CODE&gt;&lt;P&gt;These functions should not take a "char *" argument, but instead a "const char *" argument; the strings "label" and "name" are not modified by any of these functions.&amp;nbsp; Declaring these as non-const prevents using a const char * label as a parameter to wlan_connect() and by extension WPL_Join(), since the latter calls the former.&amp;nbsp; The above API functions should instead be declared as:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;wpl_ret_t WPL_Join(const char *label);
int wlan_connect(const char *name);
int wlan_connect_opt(const char *name, bool skip_dfs);&lt;/LI-CODE&gt;&lt;P&gt;Please fix this in your next release, thanks.&lt;/P&gt;&lt;P&gt;Dana M.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Dec 2024 03:00:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wi-Fi-Bluetooth-802-15-4/RW612-SDK-WPL-Join-wlan-connect-not-const-correct/m-p/2009646#M3318</guid>
      <dc:creator>dmarks_ls</dc:creator>
      <dc:date>2024-12-09T03:00:20Z</dc:date>
    </item>
    <item>
      <title>Re: RW612 SDK - WPL_Join(), wlan_connect() not const-correct</title>
      <link>https://community.nxp.com/t5/Wi-Fi-Bluetooth-802-15-4/RW612-SDK-WPL-Join-wlan-connect-not-const-correct/m-p/2010449#M3321</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;Thank you for your comments.&lt;BR /&gt;I'll pass this information to the corresponding team.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Dec 2024 20:19:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wi-Fi-Bluetooth-802-15-4/RW612-SDK-WPL-Join-wlan-connect-not-const-correct/m-p/2010449#M3321</guid>
      <dc:creator>DanielRuvalcaba</dc:creator>
      <dc:date>2024-12-09T20:19:11Z</dc:date>
    </item>
  </channel>
</rss>

