ST25RU3993 通讯协议的协议命令ID(protocol command ID)列表
ST25RU3993 通讯协议的协议命令id列表,如下列例子,对应指令的第四位“protocol”中对应的索引ID。
Example for the config TX RX command, handled by callConfigTxRx():
Request from host (Reader Suite):
Byte | 0 | 1 | 2..3 | 4 | 5..6 | 7..8 | 9..12 |
---|---|---|---|---|---|---|---|
Content | TID | Status | payload | protocol | txprot | rxprot | data |
Parameter | 0x20 | 0x00 | 0x00 09 | 0x04 | 0x00 04 | 0x00 04 | 0x00 00 01 01 |
where:
0x04: command ID for callConfigTxRx(), is also used as index in call_fkt_() table.
0x00 00 01 01 : parameter for callConfigTxRx() (set_sensitivity = false and sensitivity = 0; set_antenna = true and antenna id = 1)
The reader answer with this report:
Byte | 0 | 1 | 2..3 | 4 | 5 | 6 | 7..8 | 9..12 |
---|---|---|---|---|---|---|---|---|
Content | TID | Status | payload | protocol | reserved | prot status | txprot | data |
Parameter | 0x01 | 0x00 | 0x00 09 | 0x04 | 0x00 | 0x00 | 0x00 04 | 0x00 0B 00 01 |
0x00 0B 00 01: reserved bytes are 0x00, sensitivity is 0x0B and antenna id is 0x01
struct callFunction call_fkt_[CALL_FKT_SIZE] =
{
{ CMD_READER_CONFIG_MIN_REPLY_SIZE, CMD_READER_CONFIG_RX_SIZE, callReaderConfig },
/* CMD_READER_CONFIG——> 索引号:0,协议ID:0x00*/
{ CMD_ANTENNA_POWER_REPLY_SIZE, CMD_ANTENNA_POWER_RX_SIZE, callAntennaPower },
/* CMD_ANTENNA_POWER_ID——> 索引号:1,协议ID:0x01*/
{ CMD_CHANGE_FREQ_REPLY_SIZE, CMD_CHANGE_FREQ_RX_SIZE, callChangeFreq },
/* CMD_CHANGE_FREQ_ID——> 索引号:2,协议ID:0x02*/
{ CMD_GEN2_SETTINGS_REPLY_SIZE, CMD_GEN2_SETTINGS_RX_SIZE, callConfigGen2 },
/* CMD_GEN2_SETTINGS_ID——> 索引号:3,协议ID:0x03*/
{ CMD_CONFIG_TX_RX_REPLY_SIZE, CMD_CONFIG_TX_RX_RX_SIZE, callConfigTxRx },
/* CMD_CONFIG_TX_RX_ID ——> 索引号:4,协议ID:0x04*/
{ CMD_INVENTORY_GEN2_REPLY_SIZE, CMD_INVENTORY_GEN2_RX_SIZE, callInventoryGen2},
/* CMD_INVENTORY_GEN2_ID ——> 索引号:5,协议ID:0x05*/
{ CMD_SELECT_REPLY_SIZE, CMD_SELECT_RX_SIZE, callSelectTag},
/* CMD_SELECT_TAG_ID ——> 索引号:6,协议ID:0x06*/
{ CMD_WRITE_TO_TAG_REPLY_SIZE, CMD_WRITE_TO_TAG_RX_SIZE, callWriteToTag },
/* CMD_WRITE_TO_TAG_ID ——> 索引号:7,协议ID:0x07*/
{ CMD_READ_FROM_TAG_REPLY_SIZE, CMD_READ_FROM_TAG_RX_SIZE, callReadFromTag},
/* CMD_READ_FROM_TAG_ID——> 索引号:8,协议ID:0x08*/
{ CMD_LOCK_REPLY_SIZE, CMD_LOCK_RX_SIZE, callLockUnlockTag },
/* CMD_LOCK_UNLOCK_ID——> 索引号:9,协议ID:0x09*/
{ CMD_KILL_TAG_REPLY_SIZE, CMD_KILL_TAG_RX_SIZE, callKillTag},
/* CMD_KILL_TAG_ID ——> 索引号:10,协议ID:0x0A*/
{ 0, 0, callWrongCommand },
/* 11——> 索引号:11,协议ID:0x0B*/
{ 0, CMD_START_STOP_RX_SIZE, callStartStop},
/* CMD_START_STOP_ID ——> 索引号:12,协议ID:0x0C*/
{ CMD_TUNER_TABLE_REPLY_SIZE, CMD_TUNER_TABLE_RX_SIZE, callTunerTable },
/* CMD_TUNER_TABLE ——> 索引号:13,协议ID:0x0D*/
{ CMD_AUTO_TUNER_REPLY_SIZE, CMD_AUTO_TUNER_RX_SIZE, callAutoTuner},
/* CMD_AUTO_TUNER——> 索引号:14,协议ID:0x0E*/
{ CMD_ANTENNA_TUNER_REPLY_SIZE, CMD_ANTENNA_TUNER_RX_SIZE, callAntennaTuner },
/* CMD_ANTENNA_TUNER ——> 索引号:15,协议ID:0x0F*/
{ 0, 0, callWrongCommand },
/* 16: was second gen2 inventory command, not used anymore ——> 索引号:16,协议ID:0x10*/
{ CMD_INVENTORY_6B_REPLY_SIZE, CMD_INVENTORY_6B_RX_SIZE, callInventory6B},
/* CMD_INVENTORY_6B_ID ——> 索引号:17,协议ID:0x11*/
{ CMD_READ_FROM_TAG_6B_REPLY_SIZE, CMD_READ_FROM_TAG_6B_RX_SIZE, callReadFromTag6B},
/* CMD_READ_FROM_TAG_6B_ID ——> 索引号:18,协议ID:0x12*/
{ CMD_WRITE_TO_TAG_6B_REPLY_SIZE, CMD_WRITE_TO_TAG_6B_RX_SIZE, callWriteToTag6B },
/* CMD_WRITE_TO_TAG_6B_ID——> 索引号:19,协议ID:0x13*/
{ CMD_GENERIC_CMD_REPLY_SIZE, CMD_GENERIC_CMD_RX_SIZE, callGenericCommand },
/* CMD_GENERIC_CMD_ID——> 索引号:20,协议ID:0x14*/
{ CMD_RSSI_MEAS_CMD_REPLY_SIZE, CMD_RSSI_MEAS_CMD_RX_SIZE, callRSSIMeasureCMD },
/* CMD_RSSI_MEAS_CMD_ID——> 索引号:21,协议ID:0x15*/
{ CMD_CONFIG_PA_REPLY_SIZE, CMD_CONFIG_PA_RX_SIZE, callConfigPA },
/* CMD_CALL_PA_ID ——> 索引号:22,协议ID:0x16*/
{ CMD_INV_PARAMS_REPLY_SIZE, CMD_INV_PARAMS_RX_SIZE, callInventoryParams },
/* CMD_INV_PARAMS ——> 索引号:23,协议ID:0x17*/
{ 0, 0, callWrongCommand }, /* 31 */
ST25RU3993 超高频UHF RFID读写模组通讯协议
http://iot.eleckits.com/tech/shownews.php?lang=cn&id=100
矽控电子®分别获“科技型中小企业”、“江苏省民营科技企业”、“创新型中小企业”认定,核心团队拥有十余年的硬件正向研发,生产制程,测试手法,品质控制经验。尤其擅长嵌入式ARM平台的人工智能与工控物联网产品,以及瑞芯微(Rockchip)、海思、NXP、新唐等平台的机器视觉类AIoT模组开发,为您的产品从创意到落地、批量市场化助力。
公司可提供从硬件设计(原理开发及PCB Layout),Linux驱动开发,PCB制板,SMT及接插件焊接,产品测试,产品老化全流程外包服务,收费合理,品质可靠。
定制开发找矽控,品质可靠省费用
垂询电话:0510-83488567-1 业务邮箱:wxdianzi#foxmail.com (#更换为@)
-
SL900A Frequently Asked Questions - SL900A温度传感标签 FAQ[2018-09-24]
-
NUC972 NUC980 的linux和QT环境搭建[2019-07-26]
-
产品测试–HR系列mesh自组网电台100km空空视距测试[2020-12-21]
-
从项目开发到云端架构 10[2017-11-27]
-
矽控推出ST ST25RU3993RAIN (UHF) RFID读卡器解决方案[2020-12-22]
-
超高频UHF RFID收发芯片 ST25RU3992 ( AS3992 ) 与 ST25RU3993 ( AS3993 )技术参数对比 [2018-09-12]
-
公告!AS3992现在的名称为ST25RU3992,AS3993现在的名称为ST25RU3993[2019-04-03]