Results 1 to 2 of 2

Thread: HID rfid reader

  1. #1
    Join Date
    Sep 2014
    Location
    Krusevac, Serbia
    Posts
    1
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows Android

    Angry HID rfid reader

    Hello

    I want to make qt widget app to read code from rfid reader but the problem is becouse my app need read in backround. The user will use computer for other job, reader is for background process

    the reader is conected on USB port and detected in windows as HID keyboard device.

    First problem is how to use only in qt app but not use in other app

    Sorry on my bad englisch

  2. #2
    Join Date
    Jan 2008
    Location
    Alameda, CA, USA
    Posts
    4,189
    Thanks
    236
    Thanked 666 Times in 656 Posts
    Qt products
    Qt5
    Platforms
    Windows Android

    Default Re: HID rfid reader

    First problem is how to use only in qt app but not use in other app
    See this article from github discussing libusb. Like the device described in this post, if your RFID reader emulates a keyboard, you will probably have to replace its driver with one that allows exclusive access (winusb) and use libusb to control it. There is probably no Qt-level direct support for USB like there is for serial ports.

    my app need read in background
    You can either write a Windows service or implement a normal program with a hidden interface. You can use Qt's QLocalSocket to connect your client and server apps to transmit RFID information.
    <=== The Great Pumpkin says ===>
    Please use CODE tags when posting source code so it is more readable. Click "Go Advanced" and then the "#" icon to insert the tags. Paste your code between them.

Similar Threads

  1. RSS Reader
    By numbat in forum Qt-based Software
    Replies: 2
    Last Post: 6th April 2011, 11:42
  2. Joystick Reader
    By Arpitgarg in forum Newbie
    Replies: 3
    Last Post: 6th March 2011, 16:43
  3. Help with Binary reader in qt ???
    By rajji_saini in forum Qt Programming
    Replies: 7
    Last Post: 20th September 2010, 06:34
  4. xml reader
    By mickey in forum General Programming
    Replies: 5
    Last Post: 13th January 2008, 19:37
  5. Qt + Barcode Reader
    By sunil.thaha in forum General Discussion
    Replies: 12
    Last Post: 13th November 2007, 13:13

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.