connecting 2 PDA´s in ad-hoc formation with WLAN

Last post 08-29-2008 10:34 by iainf109. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 03-17-2008 21:43

    connecting 2 PDA´s in ad-hoc formation with WLAN

    Hi,

        Can any one help with some suggestions how to connect 2 Windows Mobile 5.0 based devices in Ad-hoc formation with WLAN,

    i mean should i use Sockets or MSMQ.

    Cheers 

  • 03-19-2008 4:21 In reply to

    • Neil
    • OpenNETCF Staff
    • Top 10 Contributor
    • Joined on 07-30-2007
    • North Wales
    • Posts 1,153

    Re: connecting 2 PDA´s in ad-hoc formation with WLAN

    You don't necessarily need MSMQ. However, for reliability, you should be using some kind of queuing technique before sending the data over the wire (or air in this scenario). Something as simple as peeking the next message from the queue, sending it and then only de-queuing when you know it has been received is usually sufficient.


  • 03-30-2008 19:09 In reply to

    Re: connecting 2 PDA´s in ad-hoc formation with WLAN

    Hi Neil,

               i have paired both of my Windows Mobile-5 based devices in an ad-hoc formation(Not Programatically) using WLAN but using the connection manager in the devices.Now i want to do it programaically and pass a small string between the devices using TCP sockets. Now problem is because both the devices are not connected to internet in any form so no ip address, when no ip address then how do i establish a connection using Sockets.

    i tried to use the "WiFi Discovery Project" in the MSDN to search for other devices, i am able to scan other acess points and other WLAN devices but i am not able to connect them.

    Please advice me, so just help me with some URL“s where to get the required info.


     

  • 08-29-2008 10:34 In reply to

    Re: connecting 2 PDA´s in ad-hoc formation with WLAN

    Hi there,

     Has anyone tried to connect ad hoc programmatically. I have managed to get WM6 device to connect to a WM5 device in Ad Hoc mode but they can't ping. Searched everywhere but no solution. When I bring up the status of the Ad Hoc connection it tells me (on the WM6 device) that the network is hidden as well as being ad hoc. I use OpenNetCf 1.1 and SetwirelessSettingsEx. I have also tried v2.2 and that has the same effect. Anyone know a way round this without reverting to manual intervention (i.e. Create the connection manually which doesn't allow you to check This network is hidden option).

    Thanks


    Iain

Page 1 of 1 (4 items)