<?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>ColdFire/68K Microcontrollers and ProcessorsのトピックRe: URL Form request  serial function</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/URL-Form-request-serial-function/m-p/199563#M9085</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you may be right.&amp;nbsp; The GET method assumes it is dealing with a filename field so it does&amp;nbsp;that windows thing of replacing spaces with %20.&amp;nbsp; I thought there may be a way to turn off the parsing but not found it so far.&amp;nbsp; I got round it by using a modified "form_serial_ function" with a few lines of code&amp;nbsp;before the&amp;nbsp;printf&amp;nbsp;setting the %20's&amp;nbsp;back to&amp;nbsp;spaces,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Apr 2011 16:05:36 GMT</pubDate>
    <dc:creator>seagate</dc:creator>
    <dc:date>2011-04-21T16:05:36Z</dc:date>
    <item>
      <title>URL Form request  serial function</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/URL-Form-request-serial-function/m-p/199561#M9083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Trying to send string "!S 00 01" to serial through http_request.open&amp;nbsp;sends %20 instead of &amp;lt;space&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 2;"&gt;Webpage extract&lt;/SPAN&gt;&lt;SPAN style="font-size: 1;"&gt;"width:100"&lt;/SPAN&gt;&lt;SPAN style=": ; color: #0000C0; font-size: 1;"&gt;type=&lt;/SPAN&gt;&lt;SPAN style="font-size: 1;"&gt;"button"&lt;/SPAN&gt;&lt;SPAN style=": ; color: #0000C0; font-size: 1;"&gt;value=&lt;/SPAN&gt;&lt;SPAN style="font-size: 1;"&gt;"ON/OFF"&lt;/SPAN&gt;&lt;SPAN style=": ; color: #0000C0; font-size: 1;"&gt;id=&lt;/SPAN&gt;&lt;SPAN style="font-size: 1;"&gt;"00"&lt;/SPAN&gt;&lt;SPAN style=": ; color: #0000C0; font-size: 1;"&gt;onClick=&lt;/SPAN&gt;&lt;SPAN style="font-size: 1;"&gt;"sendIR(id)"/&lt;/SPAN&gt;&lt;SPAN style=": ; color: #0000C0; font-size: 1;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 1;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;tr&amp;gt;&amp;lt;input style=&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 2;"&gt;New Function in main.js&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;/////////////////////////////&lt;BR /&gt;//&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;//&amp;nbsp;send ir command&amp;nbsp;&lt;BR /&gt;//&amp;nbsp;&lt;BR /&gt;/////////////////////////////&lt;/P&gt;&lt;P&gt;function sendIR(id){&lt;BR /&gt;var http_request = open_ActiveXobject();&lt;BR /&gt;if(!http_request) return 0;&lt;/P&gt;&lt;P&gt;my_command = "serial="+"!S "+id+" 01";&lt;BR /&gt;//alert(my_command)&lt;/P&gt;&lt;P&gt;http_request.onreadystatechange = function() {;};&lt;BR /&gt;http_request.open('GET', 'tvcontrol.htm?'+my_command, true );&lt;BR /&gt;http_request.send(null);&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Output&lt;/P&gt;&lt;P&gt;!S%2000%2001&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any&amp;nbsp;ideas how to get&amp;nbsp;round this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Apr 2011 18:40:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/URL-Form-request-serial-function/m-p/199561#M9083</guid>
      <dc:creator>seagate</dc:creator>
      <dc:date>2011-04-19T18:40:26Z</dc:date>
    </item>
    <item>
      <title>Re: URL Form request  serial function</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/URL-Form-request-serial-function/m-p/199562#M9084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah. Javascript...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"%20" is HTML's escape-character equivalent for representing a blank character. I am not sure that this feature can be disabled.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;---Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Apr 2011 19:50:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/URL-Form-request-serial-function/m-p/199562#M9084</guid>
      <dc:creator>J2MEJediMaster</dc:creator>
      <dc:date>2011-04-19T19:50:17Z</dc:date>
    </item>
    <item>
      <title>Re: URL Form request  serial function</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/URL-Form-request-serial-function/m-p/199563#M9085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you may be right.&amp;nbsp; The GET method assumes it is dealing with a filename field so it does&amp;nbsp;that windows thing of replacing spaces with %20.&amp;nbsp; I thought there may be a way to turn off the parsing but not found it so far.&amp;nbsp; I got round it by using a modified "form_serial_ function" with a few lines of code&amp;nbsp;before the&amp;nbsp;printf&amp;nbsp;setting the %20's&amp;nbsp;back to&amp;nbsp;spaces,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Apr 2011 16:05:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/URL-Form-request-serial-function/m-p/199563#M9085</guid>
      <dc:creator>seagate</dc:creator>
      <dc:date>2011-04-21T16:05:36Z</dc:date>
    </item>
  </channel>
</rss>

