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.

[参考译文] MSP432E401Y:如何通过网页进行通信

Guru**** 2553360 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/915078/msp432e401y-how-to-communicate-from-web-page

器件型号:MSP432E401Y

尊敬的 TI 成员:

我正在研究 SDK 示例"https://MSP_EXP432E401Y_tirtos_ccs"。 在我的应用程序中、我想控制一些参数、如波特率、html 网页上的串行通信类型(232/422)。

我开发了一个示例网页"index.html"、 为此我使用"makefsfile.exe"生成了"index.h"文件

我正在使用  URLHandler_get 方法和调用"URLSimule_process"中的"index.html"网页  

httpserver_sendSimpleResponse (ssssock、returnCode、contentType、index_size、index)函数。

下载代码后、我使用 ip_address/index.html 打开了相应的 html 页面。它已成功打开网页。

现在、我想操作(保存和检索)上面提到的一些参数。 我想知道我需要在 html 页面和  URLSimule_Process 函数中进行哪些更改。

谢谢、此致

Kalyan。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好、kalyan、

    您需要 通过其他工具开发 index.html 文件。

    makefsfile.exe 只需将  index.html 转换为 index.h 文件、MSP432就会通过互联网将这些数据发送到 Web。

    此致

    Johnson