<?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 Re: How to open the webpage? in MQX Software Solutions</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/How-to-open-the-webpage/m-p/179077#M2558</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Now I know where the mqx.html locate. But I still don't know how the program indicate where the folder is without spelling out the directory.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could anyone answer my question?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Jan 2011 05:42:17 GMT</pubDate>
    <dc:creator>winmaxi</dc:creator>
    <dc:date>2011-01-26T05:42:17Z</dc:date>
    <item>
      <title>How to open the webpage?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/How-to-open-the-webpage/m-p/179076#M2557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I'm currently reading the code of LAB 4.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How does the code link to the webpage it opens?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the code there is &amp;lt;server = httpd_server_init((HTTPD_ROOT_DIR_STRUCT*)root_dir, "&lt;A rel="nofollow" target="_blank"&gt;\\mqx.html&lt;/A&gt;");&amp;gt;&amp;nbsp;&amp;nbsp; I can't locate mqx.html.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, could you please tell me how does it go to the root directory of the webpage without spelling out the webpage's address?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jan 2011 05:39:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/How-to-open-the-webpage/m-p/179076#M2557</guid>
      <dc:creator>winmaxi</dc:creator>
      <dc:date>2011-01-26T05:39:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to open the webpage?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/How-to-open-the-webpage/m-p/179077#M2558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Now I know where the mqx.html locate. But I still don't know how the program indicate where the folder is without spelling out the directory.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could anyone answer my question?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jan 2011 05:42:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/How-to-open-the-webpage/m-p/179077#M2558</guid>
      <dc:creator>winmaxi</dc:creator>
      <dc:date>2011-01-26T05:42:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to open the webpage?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/How-to-open-the-webpage/m-p/179078#M2559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are you installed the tfs?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You need convert your web pages to tfs with mktfs.exe (it is located in somewhere at mqx folder, I don't remember now). This application converts your web pages into a c file (tfs_data.c) then you need to declare a HTTP_ROOT_DIR_STRUCT&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;const HTTP_ROOT_DIR_STRUCT root_dir[] = {&lt;/P&gt;&lt;P&gt;&lt;SPAN style="white-space: pre;"&gt;&amp;nbsp;&lt;/SPAN&gt;{ "", "tfs:"},&lt;/P&gt;&lt;P&gt;&lt;SPAN style="white-space: pre;"&gt;&amp;nbsp;&lt;/SPAN&gt;{ 0, 0}&lt;/P&gt;&lt;P&gt;};&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;then before to install your server, install the tfs where the server will find your web pages (and images if you web page has ones).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;io_tfs_anstall("tfs", tfs_data);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please, take a sight to MQX RTCS user guide you will find some examples about how initialize a web server.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jan 2011 20:29:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/How-to-open-the-webpage/m-p/179078#M2559</guid>
      <dc:creator>M_ttferrari</dc:creator>
      <dc:date>2011-01-26T20:29:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to open the webpage?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/How-to-open-the-webpage/m-p/179079#M2560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have question about using mktfs.exe.&lt;/P&gt;&lt;P&gt;When I double click it directly, it will close in about 2 seconds.&lt;/P&gt;&lt;P&gt;When I run it using windows command prompt, what the format is like?&lt;/P&gt;&lt;P&gt;In using MQXlibraries document,&amp;nbsp;&lt;/P&gt;&lt;P&gt;it asks us to input like the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="TimesNewRomanPSMT"&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P align="left"&gt;mktfs.exe &amp;lt;Folder to be converted&amp;gt; &amp;lt;Output source file name&amp;gt;&lt;/P&gt;&lt;P align="left"&gt;for example:&lt;/P&gt;&lt;P&gt;C:\mktfs.exe web_pages tfs_data_file.c&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I put mktfs.exe C:.../webpages(the directory of the webpage folder) tfs_data_file.c&lt;/P&gt;&lt;P&gt;it asks me to input [-s &amp;lt;separate file&amp;gt;] &amp;lt;input_directory&amp;gt;&lt;/P&gt;&lt;P&gt;I don't know what it means, so I input as the folliowing:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;mktfs.exe C:.../webpages(the directory of the webpage folder) C:..../tfs_data_file.c(where I want to save the translated C document)&lt;/P&gt;&lt;P&gt;it shows the same message.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What exactly the format should be like? Could anyone help me?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 Feb 2011 02:14:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/How-to-open-the-webpage/m-p/179079#M2560</guid>
      <dc:creator>winmaxi</dc:creator>
      <dc:date>2011-02-05T02:14:28Z</dc:date>
    </item>
  </channel>
</rss>

