Zhairgling

Results 18 comments of Zhairgling

I saw here (https://github.com/techniq/node-pn532/blob/emulate-tag/src/pn532.js) that there was a function intended to make emulation of code but when I test I am a little lost. I want to clarify that I...

First of all thank you @techniq for the answer. I do not want to communicate with an android device. I refer to this system of operation only as an example....

Thank you for the advices you gave me. I'm a little lost though. I think I'll come back to you if I have any questions. But I confess that I...

Hello, I bent over it tonight. I prepared two PI and two pn532. They work well both. I even was able to test the emulation function of tag in the...

I am currently working on it but I do not see very well the interest of the emulateSetData () function. Since there is one of the two configured as target...

Can you explain me the switch in the emulateGetData() function ? ``` emulateGetData() { logger.info('Emulate get data...'); return this.sendCommand([c.COMMAND_TG_GET_DATA]) .then((frame) => { var body = frame.getDataBody(); logger.debug('Frame data from emulate...

I have worked on the emulateTag() function. here is my work : ``` emulateTag() { logger.info('Emulating tag...'); var commAsTarget= 0x8C; var mode = 0x05; // PICC only, Passive Only var...

I'm simply calling it like that in my index.js file : ``` var pn532 = require('pn532'); var SerialPort = require('serialport').SerialPort; //ndef = require('ndef'); var serialPort = new SerialPort('/dev/ttyAMA0', { baudrate:...

Thanks.. I have concat my buffer command and it seems ok : here the result of the emulate() function : ``` emulateTag() { logger.info('Emulating tag...'); var commAsTarget= 0x8C; var mode...

Hi , I'm now working on the emulateGetData() fonction: ``` emulateGetData() { logger.info('Emulate get data...'); return this.sendCommand([c.COMMAND_TG_GET_DATA])//0x86 .then((frame) => { var body = frame.getDataBody(); logger.debug('Frame data from emulate get data...