📄 protocol_8h.html
字号:
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">#define PING_RESP 0x01 </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
</td>
<td>
<p>
Ping Response Packet.
<p>
</td>
</tr>
</table>
<a class="anchor" name="a48" doxytag="protocol.h::ACK_RESP"></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 ACK_RESP 0x01 </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
</td>
<td>
<p>
Flag used in a connect response packet.
<p>
</td>
</tr>
</table>
<a class="anchor" name="a49" doxytag="protocol.h::DATA_IDLE"></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 DATA_IDLE 0x00 </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
</td>
<td>
<p>
Bitmask of idle data for master_data_mode.
<p>
</td>
</tr>
</table>
<a class="anchor" name="a50" doxytag="protocol.h::DATA_RECEIVED"></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 DATA_RECEIVED 0x02 </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
</td>
<td>
<p>
Bitmask of received data for master_data_mode.
<p>
</td>
</tr>
</table>
<a class="anchor" name="a51" doxytag="protocol.h::ACK_RECEIVED"></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 ACK_RECEIVED 0x04 </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
</td>
<td>
<p>
Bitmask of a received acknowledge for master_data_mode.
<p>
</td>
</tr>
</table>
<a class="anchor" name="a52" doxytag="protocol.h::BIND_SEED"></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 BIND_SEED 0x00 </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
</td>
<td>
<p>
Checksum seed for bind mode and verifying bind response packets.
<p>
</td>
</tr>
</table>
<a class="anchor" name="a53" doxytag="protocol.h::BIND_PN_CODE"></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 BIND_PN_CODE 0x00 </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
</td>
<td>
<p>
PN code for bind mode.
<p>
</td>
</tr>
</table>
<a class="anchor" name="a54" doxytag="protocol.h::BIND_BASE_CHANNEL"></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 BIND_BASE_CHANNEL 0x00 </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
</td>
<td>
<p>
Base channel for bind mode.
<p>
</td>
</tr>
</table>
<a class="anchor" name="a55" doxytag="protocol.h::BIND_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 BIND_TIMEOUT 300 </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
</td>
<td>
<p>
Bind timeout (msec) when trying to receive a bind packet in bind mode.
<p>
</td>
</tr>
</table>
<a class="anchor" name="a56" doxytag="protocol.h::DISCONNECTED_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 DISCONNECTED_STATE 0x01 </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
</td>
<td>
<p>
Flag for no device being bound.
<p>
</td>
</tr>
</table>
<a class="anchor" name="a57" doxytag="protocol.h::CONNECTED_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 CONNECTED_STATE 0x02 </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
</td>
<td>
<p>
Flag for a device that is bound.
<p>
</td>
</tr>
</table>
<a class="anchor" name="a58" doxytag="protocol.h::BIND_MAX_TRANSMITS"></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 BIND_MAX_TRANSMITS 0x04 </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
</td>
<td>
<p>
Number of times to wait for bind ack.
<p>
</td>
</tr>
</table>
<a class="anchor" name="a59" doxytag="protocol.h::BIND_ACK_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 BIND_ACK_TIMEOUT 80 </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
</td>
<td>
<p>
Timeout for receiving an ack after sending a bind request. (15 usec units) Only used for the blocking read, WirelessUSBLS_bReadData()). See WirelessUSBLS user module datasheet for more details.
<p>
</td>
</tr>
</table>
<a class="anchor" name="a60" doxytag="protocol.h::CONNECT_ACK_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 CONNECT_ACK_TIMEOUT 80 </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
</td>
<td>
<p>
Timeout for connecting. (15 usec units) Only used for the blocking read, WirelessUSBLS_bReadData()). See WirelessUSBLS user module datasheet for more details.
<p>
</td>
</tr>
</table>
<a class="anchor" name="a61" doxytag="protocol.h::SLAVE_BIND_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 SLAVE_BIND_TIMEOUT NUM_CHANNELS_PER_SUBSET *
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -