Windows > Software Development for Windows Client Forums > Development with the Windows Sensor and Location Platform > How do i get back the barcode vlaue from the SENSOR_TYPE_BARCODE_SCANNER ?
Ask a questionAsk a question
 

AnswerHow do i get back the barcode vlaue from the SENSOR_TYPE_BARCODE_SCANNER ?

  • Wednesday, August 26, 2009 9:27 PMsaeidX Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    In the SENSOR_CATEGORY_SCANNER we have two type of sensors
    SENSOR_TYPE_BARCODE_SCANNER
    SENSOR_TYPE_RFID_SCANNER

    but i only see one data field name PropertyKey
    SENSOR_DATA_TYPE_RFID_TAG_40_BIT   40-bit radio frequency ID tag value. That provides me with the value that is read by the RFID device. But i do not see any data field or propertykey that can provide me the barcode value that is read by the sensor type barcode

Answers

  • Thursday, August 27, 2009 3:51 AMKurt Geisel - MSFT Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

    Many of the IDs in the header file were intended to establish IDs for common device types and for illustrative purposes. For some device types, there has not been a usage yet that would fill out the scenario and establish a complete set of data field definitions.

    Are you in the process of developing a barcode scanner driver?

    • Marked As Answer bysaeidX Thursday, August 27, 2009 2:15 PM
    •  

All Replies

  • Thursday, August 27, 2009 3:51 AMKurt Geisel - MSFT Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

    Many of the IDs in the header file were intended to establish IDs for common device types and for illustrative purposes. For some device types, there has not been a usage yet that would fill out the scenario and establish a complete set of data field definitions.

    Are you in the process of developing a barcode scanner driver?

    • Marked As Answer bysaeidX Thursday, August 27, 2009 2:15 PM
    •  
  • Thursday, August 27, 2009 2:15 PMsaeidX Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
     We are not developing a driver. We are very interested in porting our application to windows 7 and our application uses both barcode and rfid. It was interesting that MSFT does provide scanner but does not provide a way to get the result of scanning. Is there a new version of sensors.h ?
  • Friday, September 04, 2009 8:55 PMKurt Geisel - MSFT Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    In porting your application to Windows 7, as far as the barcode and RFID reader hardware is concerned, you don't have to port this to the sensor platform unless you find a hardware manufacturer that supports it. If one becomes available, they will be able to provide you with the sensor and field IDs that you need. If you do it before hardware is available, you will be forced to speculate on what will be supported before you can test it.