<?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>topic sscanf Inconsistencies in MQX Software Solutions</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/sscanf-Inconsistencies/m-p/171833#M1999</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to use the MQX sscanf implementation however I'm coming up with some issues.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the following function call...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;char * key = (char *)calloc(32, sizeof(char));char * value = (char *)calloc(32, sizeof(char));int_32 matches = sscanf("Enabled = Y", "%[^=]=%s", key, value);// matches = 0// key = nothing// value = nothing&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;An identical function call from Visual C returns 2 and both key and value contain "Enabled" and "Y" respectively.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Am I missing something?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Oct 2020 09:20:32 GMT</pubDate>
    <dc:creator>weblar</dc:creator>
    <dc:date>2020-10-29T09:20:32Z</dc:date>
    <item>
      <title>sscanf Inconsistencies</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/sscanf-Inconsistencies/m-p/171833#M1999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to use the MQX sscanf implementation however I'm coming up with some issues.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the following function call...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;char * key = (char *)calloc(32, sizeof(char));char * value = (char *)calloc(32, sizeof(char));int_32 matches = sscanf("Enabled = Y", "%[^=]=%s", key, value);// matches = 0// key = nothing// value = nothing&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;An identical function call from Visual C returns 2 and both key and value contain "Enabled" and "Y" respectively.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Am I missing something?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2020 09:20:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/sscanf-Inconsistencies/m-p/171833#M1999</guid>
      <dc:creator>weblar</dc:creator>
      <dc:date>2020-10-29T09:20:32Z</dc:date>
    </item>
    <item>
      <title>Re: sscanf Inconsistencies</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/sscanf-Inconsistencies/m-p/171834#M2000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi kwebster83,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;unfortunately, the feature you tested ( %[ ] array of characters) is not implemented in MQXs' sscanf. This format might be implemented in the future MQX release. Thank you for your input!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;MartinK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2012 17:40:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/sscanf-Inconsistencies/m-p/171834#M2000</guid>
      <dc:creator>c0170</dc:creator>
      <dc:date>2012-06-13T17:40:11Z</dc:date>
    </item>
  </channel>
</rss>

