ST25RU3993 通讯协议的协议命令ID(protocol command ID)列表

2018-07-04 16:10:26 281

ST25RU3993 通讯协议的协议命令id列表,如下列例子,对应指令的第四位“protocol”中对应的索引ID。

Example for the config TX RX command, handled by callConfigTxRx():

Request from host (Reader Suite):

Byte012..345..67..89..12
ContentTIDStatuspayloadprotocoltxprotrxprotdata
Parameter0x200x000x00 090x040x00 040x00 040x00 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:

Byte012..34567..89..12
ContentTIDStatuspayloadprotocolreservedprot statustxprotdata
Parameter0x010x000x00 090x040x000x000x00 040x00 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 }, /* 24 */
{ 0, 0, callWrongCommand }, /* 25 */
{ 0, 0, callWrongCommand }, /* 26 */
{ 0, 0, callWrongCommand }, /* 27 */
{ 0, 0, callWrongCommand }, /* 28 */
{ 0, 0, callWrongCommand }, /* 29 */
{ 0, 0, callWrongCommand }, /* 30 */

{ 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 (#更换为@)