ViplexCore

ViplexCore SDK


获取CPU温度

<p><strong>简要描述:</strong> </p> <ul> <li>获取CPU温度的接口</li> </ul> <p><strong>请求URL:</strong> </p> <ul> <li><code>void nvGetCPUTempAsyncAsync(const char *data, ExportViplexCallback callBack);</code></li> </ul> <p><strong>请求方式:</strong></p> <ul> <li> <p><strong>请求参数示例</strong></p> </li> </ul> <pre><code>{ "sn":"BZSA07194A0049999716" }</code></pre> <p><strong>参数:</strong> </p> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">是否必选</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">sn</td> <td style="text-align: left;">必选</td> <td style="text-align: left;">string</td> <td>产品唯一序列号</td> </tr> </tbody> </table> <p><strong>返回示例</strong></p> <pre><code>{ "value":38.8 }</code></pre> <p><strong>返回参数说明</strong> </p> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">value</td> <td style="text-align: left;">float</td> <td>CPU使用率</td> </tr> <tr> <td style="text-align: left;">code</td> <td style="text-align: left;">int</td> <td>错误码:<code>0</code>获取成功<code>65535</code>请求超时</td> </tr> </tbody> </table> <p><strong>备注</strong> </p> <ul> <li> </li> </ul>

页面列表

ITEM_HTML