Infrared communication between Tablet PC and infrared devices

Hello.
I know that a lot of topics that approached this technology before, but they are very old and none could really solve my problem.
I'm developing a game that will use infrared to read objects of the real world. Each object will transmit it's own ID by infrared.
What I need to do is to read those bytes and to proccess it.
So, I need to be able to receive any kind of bytes entering the IR ports of the computers.
I'm using IrCOMM2k to emulate a virtual serial port (at COM7) and the Java library to serial communication.
But it seems that Windows is dealing and handling all IR signals that come on the port. My application is not being able to read any bytes. When I put a cellphone or another Tablet PC pointing to my Tablet, windows detect it automatically. I think it shouldn't do that..
I wanna know if there's any protocol that I have to use before being able to send data bytes.
What can I do? Please, help me.
By the way, I tried using JRed, but the documentation is sooo poor. Even the creator of it gave up the project so....

Hi.
I am glad to hear that in your system "Windows is dealing and handling all IR signals that come on the port."
because it is just I want.
I have designed a embed system ( AT89S51 )..And now , I want to send some data from the 51 to PC (IBM thinkpad). in my opinion, LED (controlled by 51 ) could send infrared pulse for bit "0". the pulse width and the intervals between the bits comply to IRDA1.0 . And add "0" to the beginning of a byte as starting code and "1" to the end of the byte as end bit. then, the PC will recognize the byte just like the com1 .
And now, I'm using IrCOMM2k to emulate a virtual serial port (at COM4) and a program can set the baud rate and receive the bytes from com.
But, it get nothing even if I send "0xAF" all the time.
you said you using IrCOMM2k to emulate a virtual serial port (at COM7) and the Java library to serial communication.
and it seems that Windows is dealing and handling all IR signals that come on the port.
how to do it?
I just want to get every byte arrive at IR port.
would you please list out the java class (method) ?
any advice is welcome.
thanks a lot.

Similar Messages

  • Communication between a driver and application.

    Communication between a driver and application.
    I am writing a driver for a PCI card. I have found very good examples of how the driver should be build.
    Where do I find the information about how the user mode application should be talking the driver.
    So If you have any idea that will help me, please let me know.

    Hi,Sir
    This for your reference.
    It will create pci adapter device node at /devices .
    You can use AP function call ioctl to Communicate with your device driver.
    static int
    xxattach(dev_info_t *dip, ddi_attach_cmd_t cmd)
    int instance = ddi_get_instance(dip);
    switch (cmd) {
    case DDI_ATTACH:
    allocate a state structure and initialize it.
    map the device�s registers.
    add the device driver�s interrupt handler(s).
    initialize any mutexes and condition variables.
    create power manageable components.
    * Create the device�s minor node. Note that the node_type
    * argument is set to DDI_NT_TAPE.
    if (ddi_create_minor_node(dip, "minor_name", S_IFCHR,
    instance, DDI_NT_TAPE, 0) == DDI_FAILURE) {
    free resources allocated so far.
    /* Remove any previously allocated minor nodes */
    ddi_remove_minor_node(dip, NULL);
    return (DDI_FAILURE);
    * Create driver properties like "Size." Use "Size"
    * instead of "size" to ensure the property works
    * for large bytecounts.
    xsp->Size = size of device in bytes;
    maj_number = ddi_driver_major(dip);
    if (ddi_prop_update_int64(makedevice(maj_number, instance),
    dip, "Size", xsp->Size) != DDI_PROP_SUCCESS) {
    cmn_err(CE_CONT, "%s: cannot create Size property\n",
    ddi_get_name(dip));
    free resources allocated so far
    return (DDI_FAILURE);

  • "Deleted items: Synchroniz​e deleted items between this mailbox and my device?" questions

    When I log into the BIS site for Sprint, it gives me the option at the bottom that says
    "Deleted items: Synchronize deleted items between this mailbox and my device." at the very bottom
    What does this really mean? I am confused because when you delete an email off the blackberry, it gives you 3 options, delete from "mailbox & handheld," "handheld," and "cancel".
    So, if I have the "Deleted items: Synchronize deleted items between this mailbox and my device." clicked...does that mean when I just choose delete from "handheld" only, it will STILL delete the email from my actual "mailbox" too?
    I don't want it to delete the email from my "mailbox" if I choose to delete from "handheld" only on my blackberry
    Does anyone know more about this?
    Thanks guys

    in my opinion :
    if you choose to delete on device only, it will never delete on your server.
    but best is you to try for one test message and you'll know for sure. And tell us.
    The search box on top-right of this page is your true friend, and the public Knowledge Base too:

  • Communication between HP eprint and Google Cloud Print

    Hi,
    the communication between HP eprint and Google Cloud Print seems to be broken. At least for me.
    The documents do get printed when I print vio Chrome browser or Cloud Print dashboard -- but the status in cloud print remains as "submitted". It seems like somehow the HP eprint status doen't get reported back to cloud print. In HP eprintcenter the log says "printed".
    Well, I wonder who will take care of this problem ...  (Hope it will not result in fingerpointing only ...)
    Thanks for your support!
    Best,
    George
    This question was solved.
    View Solution.

    Are you able to log back in later and the status at Google Cloud print update to reflect the true outcome of the print job? Or does it just remain as "submitted". Otherwise, if it is printing and showing in the log at ePrint Center (EPC) as printed, the issue would not be on the ePrint side but on Google's
    I am a former employee of HP...
    How do I give Kudos?| How do I mark a post as Solved?

  • Communication between the computer and the disc drive failed

    The disc can’t be burned because because communication between the computer and the disc drive failed (error code 0x80020022). This computer has been out of the box for less than a month and this has been a growing problem.

    My problem was FIXED at the apple store..... there was something wrong in the system preferences and the genius deleted something that recreated it's self. Surely enough we we're able to burn a 600 mb dmg of nothing onto a few test disks. For anyone having this issue...it's NOT The media, it's some configuration issue within the computer's preferences. I'm telling you all to take your machine to the nearest apple store and have them fix it, if your machine is still under warranty the fix is free. There was no hardware issue, so the optical drive was not replaced.

  • Communication between non SAP and SAP

    HI,
    do you have some information about communication between non SAP and ERP (WebAs) SAP System ?
    I would like to receive an xml file or xml IDoc from a Java Plattform (non SAP) into our SAP ERP System as an own defined IDoc.
    remember: we don´t have a converter like XI.
    What about using a proxy (do you have some information/blog how to use that) ?
    What about using a webservice (do you have some information/blog how to use that) ?
    What about storing the xml on the application server (do you have some information/blog how to use that) ?
    How to transform xml to IDoc ?
    other methods ?
    Thanks for your help.
    Gordon

    Here is a link to connecting MS SQL Server with SAP using Open Hub connection.
    http://msdn.microsoft.com/en-us/library/dd299430(SQL.100).aspx
    This might give you some insight into connecting with Non SAP Systems.
    I have used the information from this link to export data from SAP to MS SQL Server.
    Good Luck.
    MP.

  • Error 2032 in communication between Flex Client and WCF

    Hi All,
    I'm trying to establish communication between Flex Client
    and WCF service.
    WCF service accepts gZip compressed data and returns gZip
    compressed results.
    So I used Flex ByteArray.compress() and
    ByteArray.uncompress() for this purpose. However, it throws error
    2032.
    The gZip compression/decompression uses MemoryStream class in
    C#. Based on my previous experience, memory stream communication
    between Flex and C# gives erro 2032.
    Is there a work around for this?
    Thanks,
    Vishal

    I read some thread in the forum, and found somebody had the similar problem with me. Just want to know how to settle this problem.
    In the client/server program. Client is a JAVA program and Server a
    VC++ program. The connection works, and the problem appears after some time. The Client sends a lots of requests to Serverm, the server seems receive nothing. But at the same time, the server is able to send messages to Client. The Client also can get the messages and handle them. Don't understand why there this problem and why it appears when it wants.
    The client is a Win2k platorm with JDK1.3.1 and the server is also a Win2K platform with VC++ 6.0.
    In the Client, using:
    inputFromServer = new BufferedReader(new InputStreamReader(socket.getInputStream()));
    outputToServer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(socket.getOutputStream())),true);
    Hope can get your help.

  • I have burned CDs before from 2gb to 7gb using different types of discs. Now I get this error message Apple error The disc can't be burned because communication between the computer and the disc drive failed (error code 0x80020022). What should I do

    I have burned CDs before from 2gb to 7gb using different types of discs. Now I get this error message Apple error The disc can't be burned because communication between the computer and the disc drive failed (error code 0x80020022). What should I do

    Reset the SMC, as per > Resetting the System Management Controller (SMC)
    1. Shut down the computer.
    2. Unplug the computer's power cord.
    3. Wait fifteen seconds.
    4. Attach the computer's power cord.
    5. Wait five seconds, then press the power button to turn on the computer.
    Then zap the PRAM/NVRAM as per > About NVRAM and PRAM
    1. Shut down the computer.
    2. Locate the following keys on the keyboard: Command, Option, P, and R. You will need to hold these keys down simultaneously in step 4.
    3. Turn on the computer.
    4. Press and hold the Command-Option-P-R keys. You must press this key combination before the gray screen appears.
    5. Hold the keys down until the computer restarts and you hear the startup sound for the second time.
    6. Release the keys.
    Then retry the Disc Drive.

  • Hello, may I change data between iPad Air and other devices by cable connection (USB), (not using cloud) ?

    Hello, may I change data between iPad Air and other devices by cable connection (USB), (not using cloud) ?

    Do you mean you want to sync or transfer data using a cable? Between and iPad Air and what "other device"?

  • I have problems in communication between my notebook and Epson printer. It goes offline everytime I unplug it from the notebook and there is no way how to switch it on. Although the printer is recognized and scanning is not a problem. Any solution?

    I have problems in communication between my notebook and Epson printer. It goes offline everytime I unplug it from the notebook and there is no way how to switch it on. Although the printer is recognized and scanning is not a problem. Any solution?

    this is exactly the kind of response i expected, almost begged support to please not do this to me and yet there it is another meaningless, non helpful, standard template response to restart my apple tv.
    this does NOT work which is why i am contacting you. i have tried all suggestions about unplugging and restarting and nothing works.
    i live in an apartment and logon to the provided wifi wireless. so i do not have access to a router. however, management says they have talked with their provider and have been assured that the required ports are available.
    remember all the jokes about how bad windows was because the solution was always to re boot. funny huh? how is apple any different.
    i have been to the local apple care store and they are clueless, too.
    should we just end it here and you admit that i will not be getting any support from apple on this one? i got the ipad because my kids were such big fans. it is difficult for me to share their enthusiasm.
    at this point i am just curious about how you say you cannot support your own product so i can complete my file on this contact.
    thanks...sorry it was you who got this problem..

  • How can I sync my calendars (between my iMac and Apple devices (iPhone

    How can I sync my calendars (between my iMac and Apple devices (iPhone and iPad)?
    I have an Apple Mac Book Pro OSX 10.9.3  8 GB and I have the iPhone 5S and a recent iPad also.
    Would like to link my calendars and has not been successful in doing so.
    Can someone walk me through the steps?  Thanks.

    Use iCloud:
    iPhone/iPad:
    Switch on in Settings > iCloud > Calendars On
    Mac:
     > Systems Preferences... > iCloud > Calendars checked
    Read here:
    iCloud: Troubleshooting iCloud Calendar

  • Communication between Lab view and Controller via USB

    USB communication between C8051F320 and Lab View. I try doing methods given in the NI site(http://zone.ni.com/devzone/cda/tut/p/id/4478) and atlast, it gives me error −1073807302 so if any one can answer my question please do post me the details concerned to it.

    My devices show up as NI-VISA USB but I'm not sure if that makes a difference and I'm not using USB RAW either. One thing that you can run is a VISA Property node like below and see what it reports. Also, what version of VISA are you using? If you are not using 4.0, you can download it from http://digital.ni.com/softlib.nsf/webcategories/85256410006C055586256BBB002C0E91?opendocument&node=1....
    Message Edited by Dennis Knutson on 01-31-2007 07:29 AM
    Attachments:
    USB RAW Property.PNG ‏3 KB

  • Communication between MDS C9134 and C9222i

    Dear Support,
    need your help to fix my setting.
    I have bought now the good 10GBFC Module for connexion between MDS C9134 and C9222i. the trunking is OK between the 2 switches.
    But we have Vsan with zone on each MDS but they cannot communicate.
    Please find in attach my setting.
    Waiting for your feedback urgently
    Best Regards

    Hello Omer,
    Yes, you got it right, LANs are very different from SANs. VLAN concept is similar to VSAN, but there are a few differences. First of all, there is no concept of LAN's VTP in Cisco's SAN-OS (NX-OS). You need to manually create VSANs on all switches. Secondly, "inter VSAN routing (IVR)" is not automatic. You have to configure IVR vsan-topology and IVR zones+zoneset. But in your case, maybe you could just put all devices into the same VSAN and simply control communication between devices using zones. Yes, you could use only VSAN 1 to solve it. Place everything into VSAN 1 and configure zones in VSAN 1 on one of the switches. Place zones into zoneset, activate it, and active zoneset will automatically propagate in VSAN 1 to the other switch.
    Let me know if you have any more questions.
    Regards,
    Roman

  • Communication between Best Buy and Apple

    Where is the communication between these two companies? It's frustrating to have NO CLUE if a phone will come in a day or in 5 weeks. Who at Apple is deciding what they end to what stores? Obviously, Best Buy has to pay for the phones. There has to be some sort of communication. 
    Would it really be that hard for someone high up in Best Buy to communicate with Apple? Maybe a list from each store of their orders and what they are waiting on. Give that to Apple. Apple can give some sort of answer. Exepect this much in this time frame... expect this much later. I mean, something. Instead of leaving everyone in the dark, completely. 
    Someone at Best Buy corporate has to have SOME clue how Apple is shipping and to what stores. To say no one has no clue at all, is nuts. And if it's true... Best Buy needs to get a clue. DO SOME WORK FOR YOUR CUSTOMERS. At least get some truth, so if we need to go elsewhere, we can. It would be better for both sides.

    Apparently since they come on UPS, they don't know when the shipments are coming in or how much. Which I think is bull.
    If that's the case, what I want to know is HOW do they know they received the amount they were expecting? If they don't know how much they're getting or when they're getting a shipment, then what's stopping the delivery man from stealing a box, and they wouldn't know any better? Maybe the higher up manager's know, and they aren't allowed to reveal that info, but there has to be a checks system in there somewhere verifying the stock received.

  • Conflict between Logic Pro and external device error in Logic Pro X./cpu problems

    hi Logic users,
    using a MacBookPro 15 inch Retina, 2,7 GHz intel Core i7, 16 GB Ram, OSX 10,8,5, Logic X 10.0.4.
    i am wondering if you can help me out with the following problem i cant solve:
    when starting logic x with a not too big arrangement, lets say using one third to half of cpu, i open u-he plugin Diva and the cpu is going up on full range and the following error appears: "sample-rate 39299 (number always changes) reconized. Check conflict between logic pro x and external device"
    as external device im running a VirusTi and as audio-device Apogge Duet. when dis-connecting both devices, i have the same problem.
    putting the sample buffer up to the highest rate, doesnt change anything.
    same arrangements on friends computers dont show that problem, so it has to be something wrong in my set up.
    anybody has an idea?
    would be much appreciated for your help,
    thanx-

    Have you used Diva's preset Accuracy system to reduce CPU load?
    accuracy
    Click on the Main button at the bottom of the window. To the right of the Master section are two selectors called Accuracy and OfflineAcc. In the current version of Diva these are global parameters i.e. they remain fixed across all presets, per loaded instance:
    draft........CPU-friendly, but FM will sound rough and resonance is primitive i.e. NOT zero delay! fast......... Fine for older computers and/or when you need more polyphony in acceptable quality great...... The best compromise between quality and polyphony on high-power computers divine..... Top-quality zero delay feedback filters... but can your computer can handle it?
    OfflineAcc only has two options – same or best (i.e. divine in the current version).
    Some host applications may have problems rendering to audio at the selected accuracy, but the
    better ones include an “inform plug-ins of offline rendering status” or similar.
    I typically work in draft mode and then switch to Devine or best when freezing the track or bouncing the entire project...

Maybe you are looking for

  • Macbook Pro 2011 running slow - mountain lion

    Hi, Since updating to mountain lion my mbp is running very slow, Have repaired disk permissions and ran clean my mac but no improvements. The hard disk is less than half full and no login items up on start up. What more can I do?

  • How to register non-wsdl based URL in OEG

    How do we register a non-wsdl based URL endpoint in OEG? We had no problem registering a simple WSDL based endpoint on an OEG server. However we cannot find documentation on how to secure/register a RESTful or JSON – URL based service (SOAP, XML over

  • How to customise existing pages using self service framework

    Hi, I am trying to customise the existing pages in internet expense module in oracle applications 11.5.9. I have taken an approach to use AK developer and Self Service Web Application Manager. I have created a new web inquiiry using these two. But un

  • What is "category of service" in BW?

    Hi Experts, What's the "category of services" in BW side?(Ex: Assessment, optimization…). tech name is needed. thank you. Best regards, Gavin

  • Video Freezing Issue

    So I have the 2.53ghz late 2009 Mac mini, and I have it hooked up to my 40" TV via a mini displayport + USB audio to HDMI adapter (by kanex). While playing video, be they in the flash-based Hulu app or even QuickTime, the video will freeze and the au