.NET Components for Mobility

PDA - problem with Discover

Last post 11-16-2007 5:32 AM by alanjmcf. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 11-14-2007 12:06 PM

    • asafhi
    • Top 500 Contributor
    • Joined on 11-14-2007
    • Posts 1

    PDA - problem with Discover

    Hi i am trying to compile the BlueTooth Chat for PDA , i am using windows mobile 2003, and visual studio with

    sdk for windows mobile, when i run the apllication it doesnt recongize me any devices at all , it seem that it

    doesnt connect with the bluetooth, i tried to debug it and it seem that the function run to fast , thats why i thinknig

    it doesnt communcatie with the bluetooth , i triesd to find the error retun value of

    DiscoverDevices

    what is the values ? and how can i know what is the problem

     

    Thanks

     

    Assaf

    Filed under: ,
  • 11-16-2007 5:32 AM In reply to

    Re: PDA - problem with Discover

    There aren't any error codes.  If there's any problem such that the discovery process can't be done then an exception will be thrown.  If no devices are discovered then that's no an "error" so just an empty array is returned.

    Set your peer devices up to be discoverable, and use the built-in bluetooth control panel to discover the devices.  If that works then try it programmatically.

    Alan J. McFarlane
    http://www.alanjmcf.me.uk/
    Please follow-up in the newsgroup for the benefit of all.
    Have I helped? Consider visiting my Amazon wishlist, see my homepage.
Page 1 of 1 (2 items)
Copyright © 2001-2008 In The Hand Ltd. All rights reserved. Terms of Use and Privacy Policy.