This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
工具/软件:TI-RTOS
我想 提交数据以发布 cgi、但这是错误的
spru524j.pdf E4.1第242页
您似乎正在使用以下链接中的 HTTP 服务器示例、对吧?
http://processors.wiki.ti.com/index.php/TI-RTOS_HTTP_Example
编译器包含路径由您选择的 RTSC 产品生成。 请确保在项目设置中选择了正确的产品。
Project > Properties
General > RTSC (选项卡)
Products and Repositories > TI-RTOS for TivaC 2.16.00.08 >选择
您还可以检查项目编译器包含路径。 请验证它是否与您的物理安装相匹配。
Project > Properties
Build > ARM Compiler > Include Options
谢谢、
~Ramsey
感谢您的帮助,但我想进行一个后 cgi 示例,但您的示例不成功。 错误的是"divuler"、"tablefmt"未定义。因此、我认为您的"spru524j.pdf"是错误的。http://processors.wiki.ti.com/index.php/TI-RTOS_HTTP_Example 没有一个后 cgi 示例。
http://processors.wiki.ti.com/index.php/TI-RTOS_HTTP_Example
我想知道如何为 ti-RTOS 的 HTTP 添加一个 httpd,如果是,我可以通过 SSI 发送数据,如 LWIP
user3511888、
附录中的示例代码是旧示例的一部分、该示例不再随产品一起提供。 它是供参考的、但不能复制到程序中、因为它引用了其他文件中的符号。 但是、如果您将以下内容添加到程序中、该函数应该会生成。
#include #include #include #define html (str) httpSendClientStr (htmlSock、(char *) str ) static const char * tablefmt =" %s %s \r\n"; 静态常量字符*分频器="
\r\n";
我还附上了旧示例 :e2e.ti.com/.../3480.example_5F00_cgi.zip
我希望这能帮助您完成您的计划。
~Ramsey