📄 protocol_8h.html
字号:
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">#define KISS_BIND_RSP_TIMEOUT 100 </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
</td>
<td>
<p>
A 16 bit timeout counter used in case a bind response is never received. (15 usec units) Only used for the blocking read, WirelessUSBLS_bReadData()). See WirelessUSBLS user module datasheet for more details. </td>
</tr>
</table>
<a class="anchor" name="a5" doxytag="protocol.h::KISS_BIND_PA"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">#define KISS_BIND_PA 0 </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
</td>
<td>
<p>
The power level used when a kiss bind is in progress.
<p>
</td>
</tr>
</table>
<a class="anchor" name="a6" doxytag="protocol.h::KISS_BIND_RSSI"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">#define KISS_BIND_RSSI 0x0A </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
</td>
<td>
<p>
The RSSI expected from a kiss bind.
<p>
</td>
</tr>
</table>
<a class="anchor" name="a7" doxytag="protocol.h::PING_DATA"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">#define PING_DATA 0x31; </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
</td>
<td>
<p>
Data byte for ping packet.
<p>
</td>
</tr>
</table>
<a class="anchor" name="a8" doxytag="protocol.h::PING_REASON_NORMAL"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">#define PING_REASON_NORMAL 0x00 </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
</td>
<td>
<p>
When pinging for normal reasons.
<p>
</td>
</tr>
</table>
<a class="anchor" name="a9" doxytag="protocol.h::PING_REASON_RSSI"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">#define PING_REASON_RSSI 0x01 </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
</td>
<td>
<p>
When pinging for RSSI reasons.
<p>
</td>
</tr>
</table>
<a class="anchor" name="a10" doxytag="protocol.h::PING_REASON_CORRUPT"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">#define PING_REASON_CORRUPT 0x02 </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
</td>
<td>
<p>
When pinging for corrupt packet reasons.
<p>
</td>
</tr>
</table>
<a class="anchor" name="a11" doxytag="protocol.h::RSSI_NOISE_THRESHOLD"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">#define RSSI_NOISE_THRESHOLD 0x08 </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
</td>
<td>
<p>
Noise threshold for the receive signal strength indicator.
<p>
</td>
</tr>
</table>
<a class="anchor" name="a12" doxytag="protocol.h::PING_NUM_RSSI"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">#define PING_NUM_RSSI 20 </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
</td>
<td>
<p>
The max in the main control loop in <a class="el" href="protocol_8c.html#a18">master_ping_mode()</a>.
<p>
</td>
</tr>
</table>
<a class="anchor" name="a13" doxytag="protocol.h::CHANNELS_PER_RSSI_INCREMENT"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">#define CHANNELS_PER_RSSI_INCREMENT 0x02 </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
</td>
<td>
<p>
There are 2 channels per RSSI increment.
<p>
</td>
</tr>
</table>
<a class="anchor" name="a14" doxytag="protocol.h::QUICK_RSSI_TIMEOUT"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">#define QUICK_RSSI_TIMEOUT 0x02 </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
</td>
<td>
<p>
Timeout (msec) when checking RSSI.
<p>
</td>
</tr>
</table>
<a class="anchor" name="a15" doxytag="protocol.h::NUM_HIGH_RSSI_READINGS"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">#define NUM_HIGH_RSSI_READINGS 0x05 </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
</td>
<td>
<p>
Number of high RSSI readings to limit the RSSI counter.
<p>
</td>
</tr>
</table>
<a class="anchor" name="a16" doxytag="protocol.h::RSSI_TOGGLE_TIMEOUT"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">#define RSSI_TOGGLE_TIMEOUT 48 </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
</td>
<td>
<p>
RSSI toggle timeout (msec) to make sure radio is ready to setup in data mode.
<p>
</td>
</tr>
</table>
<a class="anchor" name="a17" doxytag="protocol.h::MASTER_DATA_STATE"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">#define MASTER_DATA_STATE 0x10 </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
</td>
<td>
<p>
To set the bind state for the master device.
<p>
</td>
</tr>
</table>
<a class="anchor" name="a18" doxytag="protocol.h::KISS_BIND_STATE"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">#define KISS_BIND_STATE 0x20 </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -