From: chris c. <cl...@gm...> - 2015-11-16 22:28:32
|
On Mon, Nov 16, 2015 at 9:42 AM, Heilan Percio O M Cardoso < hei...@ho...> wrote: > I have a ACS 122 U NFC reader connect in my computer and I need to read > this device. > The problem is : My application is running on a cloud. So I need to read > USB ports remotely. > > Is it possible to read a USB port remotely ? How can I do this? > Simple answer is no, this is an application issue and not related to pyUSB. I'd recommend asking on a general Python mailing list. That being said, the two options that I can think of off the top of my head are: 1) remote access to NFC reader from cloud (i.e. pull) 2) NFC reader machine contacts cloud application (i.e. push) For #1 you would design a proxy server in your application OR use an off the shelf generic option like RPyC https://pypi.python.org/pypi/rpyc. I've used RPyC as a simple proxy solution for other libraries and it does what it says it does. Either way you will want to ensure the communication line is secured somehow! |