title: sscanf not parsing int with STM32
body: <p>Why does the following code works on the PC but not on a STM32?</p>
  <p>the code:</p>
  <pre><code>n = sscanf(args[0].s, &quot;%*3[ATD]%*1[*]%*d%*3[*]%d%*1[#]%1[\r]&quot;, &amp;cid, &amp;cr);
  </code></pre>
  <p>The string to be parsed:</p>
  <pre><code>ATD*99***9#\r\n
  </code></pre>
  <p>On the PC the code correctly returns n=2, cid=9 and cr=\r. On STM32 I get n=2, <strong>cid=0</strong> and cr=\r.
  Does anyone have any clue?</p>