Click to See Complete Forum and Search --> : Develop an application that.....


karijno
11-19-2003, 01:52 PM
Hi people,

i m a student of University , i will develop an application for Pocket pc with j2me CDC that must find an access point dont know a prior.... and when i find it... i must connect to it and i download ARP page to identify device that are present in coverage area......
Now:
1) how i can find in the air that exist an access point near me??
2) in the beacon message there is IP address of Access Point??
3) if my way is wrong How i can develop this???

Thanks guys ,

yonah
11-21-2003, 10:44 AM
Karinjo,

TTBOMK, there are no explicit network APIs that would let you take advantage of this in j2ME - however, most of my work with J2ME has been with CLDC and I don't quite know if there is anything additional in the CDC that is usable.

Given your very brief description of the project, it seems that you are essentially trying to write either:

a) Some sort of Wi-Fi sniffer - which I don't think that J2SE is well suited for, yet alone J2ME.

b) An application that 'discovers' similar devices in the area.

If the application you are looking for is similar to the latter, I would suggest that you run a web server on your LAN with a specific domain name, and then use J2ME to find that server, and then download the info you need via HTTP - be it arp, or a list of 'registered' users. If it is similar to the former, I am not saying it can't be done, but it is probably something that you can write better using C/C++.

In any case, you may want to check out http://forums.java.sun.com - sun's developer forums as well as http://wireless.java.sun.com - their wireless website.

Good Luck,
--Yonah