Xbee wifi smartphone connection

Hi,

I’m wondering whether it’s possible for the xbee wifi module simply to broadcast an SSID, so this can be picked up by a (any) smartphone when listing available wifi networks?

If yes, can you guide me how to this is achieved? I’ve been following the “XBee Wi-Fi Development Kit Getting Started Guide” and I can write an SSID to the module using the x-ctu application but I can’t pick it up from my android phone.

The smartphone simply has to find out that a module with the given ssid is in the vicinity, no interaction is required.

Best,
Johannes

Hi,

I’m wondering whether it’s possible for the xbee wifi module simply to broadcast an SSID, so this can be picked up by a (any) smartphone when listing available wifi networks?

If yes, can you guide me how to this is achieved? I’ve been following the “XBee Wi-Fi Development Kit Getting Started Guide” and I can write an SSID to the module using the x-ctu application but I can’t pick it up from my android phone.

The smartphone simply has to find out that a module with the given ssid is in the vicinity, no interaction is required.

Best,
Johannes

hi there. in my post before, i suggest to use ad-hoc mode. but actually in my recent testing, i found that actually android operating system cannot connect to an ad-hoc mode. it only can connect to infrastructure mode that provided by Access point.

even though the setting on xbee to create an ad-hoc network is all correct, an android phone cannot find the ssid. there are 2 solution for this to work.

  1. use android tethering (create ad-hoc network on phone). then change the setting on xbee AH2 designates the node as an infrastructure mode. then connect the xbee to the phone ssid.

  2. using an access point to broadcast the ssid. connect both phone and xbee to the access point in infrastructure mode.

hopefully this information will be helpful. sorry for my bad English.

i think can…

use ad-hoc mode. set your xbee module using x-ctu software like below.
the xbee module must became creator. then the smartphone can see the broadcasted SSID.

Ad Hoc Creator
Set up the following parameters for the creator:
• AH1 designates the node as an Ad hoc creator.
• MA1 specifies static IP addresses. (No DHCP is supported in Ad Hoc mode.)
• EE0 specifies no security. (Security is not available in Ad Hoc mode.)
• CH May be any channel from 1 to 0x0E.
• BR May be any data rate from 1 to 0x14.
• ID Sets the SSID, which is any string of choice, as long as it isn’t the same as another SSID in the vicinity.
• MY Sets IP address of creator node.
• DL Specifies IP address of joiner node.
• MK Sets IP mask for both of the above addresses

See page 31 for full instruction how to make an ad-hoc mode.

I have the same problem.

I’ve set up my xbee module with the settings shown above

But neither my Smartphone nor my Laptop can find the setted SSID.

Any other suggestions/ideas?

Thanks

Very much a noob to this stuff but this sounds like what I need to achieve.

So basically, I could be in the middle of nowhere, with no cellular service to the phone but, by making it a Wi-Fi hotspot, it could recognise the presence of an Xbee Wi-Fi module?

I’m not even concerned about passing data between them at this point, just recognising the presence.

Do I understand correctly?

Regards,

Tinine

I haven’t looked into connecting to a phone yet. But you need to look up what infrastructure mode is and what ad-hoc is.

Find out if your phone can do either. Then go from there.

Ask more questions if you need

Have you managed to solve this somehow? I’d like to do the same thing with an ipad, and the xbee wifi just doesn’t want to show up on the networks list.

AH is set to Creator.
MA is static
No encryption
MY is 192.168.1.200 (xbee’s ip)
DL is 10.0.2.2
MK is 255.255.255.0

And it just doesn’t seem to work.

Sorry for the double post, can’t edit the previous one.

I managed to solve the issue though I don’t think it works 100% right now. X-CTU for some reason didn’t let me set the channel, when I manually assigned a value to it, it immediately appeared on the hotspot’s list.