camme / node-nfc

A first try at binding libnfc to node. This project is right now not good enough to use.
68 stars 39 forks source link

Please add emulate tag function #13

Closed 95gabor closed 8 years ago

95gabor commented 9 years ago

Please add emulate tag function!

jeroenvollenbrock commented 8 years ago

Could you elaborate a bit more on the requested emulate tag function? What are you trying to achieve?

llacroix commented 8 years ago

If that's what I think. A way to emulate a device and tag reading. It could be useful when you don't have a connected device.

jeroenvollenbrock commented 8 years ago

I'm not sure if that's something you'd want to embed inside the NFC library itself. If we were to incorporate such a function, i'd have to completely bypass almost all of the code inside it. You could always swap the device object for a regular eventEmitter to emulate everything, or just use the emit function of a device object (it extends the NodeJS EventEmitter) and emulate those tags by yourself if you want this kind of functionality.

jeroenvollenbrock commented 8 years ago

Closing due to inactivity