.NET Components for Mobility

Problems with Search.doSearch() [at System.Net.EndPoint.Create]

Last post 06-30-2009 3:13 PM by alanjmcf. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 06-29-2009 2:44 PM

    Problems with Search.doSearch() [at System.Net.EndPoint.Create]

    Hello,

     First of all thanks for the excellent product and support. I would like to report an "error" that happens sometimes when testing my bluetooth system with some traffic. Sometimes the error message below is shown:

    [2009-06-27 09:56:52] doSearch() This method is not implemented by this class.   at System.Net.EndPoint.Create(SocketAddress socketAddress)
       at InTheHand.Net.BluetoothEndPoint.Create(SocketAddress socketAddress)
       at InTheHand.Net.Sockets.BluetoothClient.DiscoverDevices(Int32 maxDevices, Boolean authenticated, Boolean remembered, Boolean unknown)
       at InTheHand.Net.Sockets.BluetoothClient.DiscoverDevices()
       at BluesysTooth.Search.doSearch()

    Is this a system error? What is the reason for getting this messages?

    Thanks!
    Galileu Terada

     

  • 06-30-2009 3:13 PM In reply to

    Re: Problems with Search.doSearch() [at System.Net.EndPoint.Create]

    This was raised previously http://32feet.net/forums/t/2537.aspx  Something goes wrong in the MSFT Bluetooth stack or Winsock and provides us with malformed data.  The correspondent there decided when the error occurs to create a new BluetoothClient and thus a new Socket which apparently clears the problem.  I don't know if you're a colleague or a customer of the person posting there. :-)

    I'm willing to add a fix to the library if there's a good solution for us.  Perhaps the rest of the device data is correct and thus we should just ignore the 'family' byte as is currently checked in BluetoothEndPoint.Create.  But we'd need to see the bad data to know for sure how corrupt the data is, see the suggested debugging lines there. :-)

    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-2010 In The Hand Ltd. All rights reserved. Terms of Use and Privacy Policy.