8.获取信号强度
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://10.27.204.40/doudou/getSignal</code></li>
</ul>
<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;">macno</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>设备号</td>
</tr>
<tr>
<td style="text-align: left;">url</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>结果上报超时 回调地址</td>
</tr>
<tr>
<td style="text-align: left;">sign</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>签名 md5('doudou')</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>{
&quot;code&quot;: &quot;1&quot;,
&quot;msg&quot;: &quot;发送成功&quot;,
&quot;data&quot;:{
&quot;macno&quot; : &quot;&quot;, // 设备号
&quot;intensity&quot; : &quot;&quot;, //包括2G 和WIFI 0-100
&quot;bit_error&quot; : &quot;&quot;, //误码率 预留字段 无结果返回
}
}</code></pre>
<p><strong>结果上报</strong></p>
<pre><code>{
&quot;code&quot;: &quot;1&quot;,
&quot;msg&quot;: &quot;发送成功&quot;,
&quot;data&quot;:{
&quot;macno&quot; : &quot;&quot;, // 设备号
&quot;intensity&quot; : &quot;&quot;, //包括2G 和WIFI 0-100
&quot;bit_error&quot; : &quot;&quot;, //误码率 预留字段 无结果返回
}
}</code></pre>