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.

[参考译文] 如何将字符串数据从 dataBuffer 复制到 readResponse 函数中的 char 或 int 变量

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

https://e2e.ti.com/support/wireless-connectivity/wi-fi-group/wifi/f/wi-fi-forum/566545/how-to-copy-string-data-from-databuffer-to-char-or-int-variable-in-readresponse-function

Thread 中讨论的其他器件:CC3200

Geek、您好!

我是一名初学者、目前我正在从事基于网络的物联网项目、我一直在从服务器到 cc3200的数据接收过程中、

我从 http_client 程序的 readResponse 函数中成功获得了数据"dataBuffer"

bytesRead = HTTPCli_readResponseBody (httpClient、(char *) dataBuffer、len、.moreFlags); 

但我无法将 dataBuffer 值复制到其他变量、请指导我执行此操作。

谢谢。

x 出现错误。请重试或与管理员联系。