software you can take with you

IRDA Service Name - Where is it set?

Last post 09-11-2011 9:16 AM by alanjmcf. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 09-07-2011 12:26 PM

    • raydur
    • Not Ranked
    • Joined on 09-07-2011
    • Posts 2

    IRDA Service Name - Where is it set?

    Hello,

    I am trying to establish communication between an IRDA dongle (PC) and a device that uses IRDA and the InTheHand DLL. I am using LabVIEW and need to know the Service Name in order to properly open the IRDA communication port. I did not write the firmware in the device, but have access to the code. It uses a library that has the InTheHand DLL embedded, so the guys who write the firmware for the devices aren't intimately familiar with its functionality and aren't really sure what to tell me regarding the Service Name. Is there a place I can tell them to look within the DLL calls that would indicate what the Service Name is?

    I apologize if I'm asking the question incorrectly or not providing the right information, but I am very green to this whole thing! Let me know if more info is needed.

    Thank you!

    Filed under: ,
  • 09-08-2011 4:41 AM In reply to

    Re: IRDA Service Name - Where is it set?

    As I read it, the device has InTheHand and not the PC?  So the 'device' is Windows Mobile?  Or do you mean that the PC has the 32feet.NET (InTheHand.Net.Personal)?  Anyway if you're searching the .NET code for IrDA usage then search for IrDAClient and/or IrDAListener.

    Or maybe you're wondering how to find the Service Name in the device code...?

    I may well not have understood... :-,)

  • 09-08-2011 10:05 AM In reply to

    • raydur
    • Not Ranked
    • Joined on 09-07-2011
    • Posts 2

    Re: IRDA Service Name - Where is it set?

    The device is a product designed by my company that uses the InTheHand DLL. I believe the firmware code base is C#, but I'm not sure of that. I am using a PC with a USB Irda dongle to communicate to the device using a program developed in LabVIEW.

    Your second option is what I need to know; how to find out what the Service Name is in the device code. The firmware guys have been using a library with the InTheHand DLL embedded, so they're not really sure where the Service Name is set within the code (the library was developed before they were with the company).

    I know you wouldn't know anything about our specific firmware, but I thought maybe there was a function call in the DLL where the Service Name is set, so that I could instruct the firmware guys to look at what they are sending in that function call?

    Thanks again

  • 09-11-2011 9:16 AM In reply to

    Re: IRDA Service Name - Where is it set?

    As I said look for usages of IrDAListener (or IrDAClient).  For both the Service Name should be pretty obvious e.g. http://32feet.codeplex.com/wikipage?title=General%20IrDA%20Connections  For IrDALIstener the constructor always takes the Service Name (directly or via an IrDAEndPoint), http://inthehand.com/library/32feet/html/Overload_InTheHand_Net_Sockets_IrDAListener__ctor.htm

Page 1 of 1 (4 items)
Copyright © 2001-2013 In The Hand Ltd. All rights reserved. Terms of Use and Privacy Policy. OrcsWeb's Windows Cloud Server Hosting