NFC功能怎么验证扇区密码,以及相关指令如何使用?
// 000165421356 // var arr = [0X30,0X00,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF]; var arr = [0x00, 0x01, 0x41, 0x2A, 0x0D, 0x38, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF]; let arrNew = this.stringToArrayBuffer('000165421356'); console.log(arrNew) // var arr = [0x30, 0x04,0x01]; var arrayBuffer = new Uint8Array(arr).buffer // console.log("解密指令为:", arrayBuffer); mifareClassic.transceive({ data: arrayBuffer, success: function (res) { console.log('发送数据并解密成功, 接收数据如下:', res); }, fail: function (err) { console.log('发送数据失败A', err); } }) 无论怎么弄就是不成功,希望大佬们给解惑一下如何验证扇区密码