我正在开发一个用于读取和写入标签 ICODE SLIX SL2S2002 ISO 15693 的移动应用程序。我无法获取“库存读取”的原始库存读取命令。
componentDidMount() {
NfcManager.start();
}
// attached to a button
readData = async () => {
try {
let tech = NfcTech.NfcV;
let resp = await NfcManager.requestTechnology(tech, {
alertMessage: "Ready for magic",
});
let cmd = NfcManager.transceive;
resp = cmd(rawCommand)
.then( response => {
console.log(response)
})
.catch( error => {
console.log('error cmd', error);
}
另一个问题可能与时间有关。我没有得到 TAG 的任何响应,既没有数据响应,也没有错误字节数组的响应。我得到:[错误:收发失败]我会很感激任何帮助,谢谢!