IP Cam programming
am working on my Masters graduation project. My University purchased me a DCS 5300 cam (from D-Link) and my project is to implement a way to access the cam from a pocket PC and be able to control its pan/tilt feature. I need any resource that can help me to write a tailored application to access & control the internet cam.

I have to finish my project by end of August 2004, any help is highly appreciated and needed.


I emailed support at D-Link and basically got their phone support number.  I say that because the rest of the support email was less than support.  Mostly company support-droid "we can't help you because" - they say it better:

Products:   DCS-5300
Operating System:  Windows XP Pro
If you are looking for live 24/7 Technical Support please call 1-877-45D-Link (1-877-453-5465).

Proprietary information cannot be released to an individual for individual use. You must be affiliated with a company and the information requested must be for company use only. Your detailed request must be mailed in on company letterhead attention to:

D-Link Technical Support Manager
17595 Herrmann Street
Fountain Valley, CA 92708

After reviewing and approving your request it will then be forwarded to Product Management for further review and handling.

Thank you for your technical question and feedback. If you are continuing to have problems, please contact our live support at 877-453-5465, or resubmit the problem at http://support.dlink.com/contact/. Our toll free technical support is available 24 hours a day, 7 days a week.

Should you require further assistance with your D-Link products, please reply to this message, or call toll free at 877-453-5465.  Thank you for networking with D-Link.

Mr. Smith (name changed to protect the un-helpful)
D-Link Technical Support Team
You might call them anyway and explain what your doing - that might help.  Tell them your "company" is a school and you might be building the next addition to a product line that will enable pocket PC's to be used to view D-Link's IP cameras. 

Also ask if they have an "SDK", a software development kit - this might help you dig into the nuts and bolts of the camera to expose how the PTZ works to enable you to build a driver for it.

Also contact your pocket PC manufacturer - you didn't specify what brand of pocket pc you are using.  Being that they would want applications built for their device they might also have a "SDK".

I have a few more emails out there that I'm waiting for responses on - I'll post them here as they come in.

SkyWire Video can support the D-Link camera and let you view it on PocketPC. Some cell phones, too. In fact, I have a D-Link camera at home, which I watch on PocketPC. More info here.

There are no activeX controls that I know of develeoped for Pocket PC yet.  The manufacture hasn't developed the ActiveX control yet for streaming the MPEG-4 video to a Pocket PC.  There is a link to a still image on the camera that you can pull using ActiveX or Java to display.  You can pull the image repeatedly and display and you should get about 10 FPS depending on the connection to the network the Pocket PC has.

http://[IP Address]/cgi-bin/video.jpg

Will bring back a current still shot.
Here's a post sent to the IPCameraReports.com email inbox from the fine folks at Wireless Guys - http://www.wirelessguys.com.
The camera is HTTP capable so he can browse to the image through Pocket Internet Explorer, but the PTZ controls are probably going to be off to the left or right and he will have to scroll to get to them.  When you have to do this you loose your ability to view the image and then don't know what you are PTZing to.  I don't have this particular camera or else I could test it, but it might have been written to be PocketPC aware and adjust the image and controls itself.  Some cameras that have an embedded HTTP server do have support for the PocketPC format, but I did not see that listed in its manual.  For references there are many books available, but these two are pretty good:

Pocket PC, Handheld PC Developer's Guide with Microsoft Embedded Visual Basic

Java Development on PDAs: Building Applications for Pocket PC and Palm Devices

One that deals with the networking aspects is Pocket PC Network Programming.

You can contact Wireless Guys at info@wirelessguys.com.  Here's a little background on what they do:

At Wirelessguys we design and install wireless systems for many applications.  We do industrial links as well as enterprise wifi access and are involved in all aspects: from a basic point to point network to a large multipoint network with stringent security demands. We kind of got thrust into the surveillance business as a result of 9/11 when we were contacted about securing some bridges that the state didn't want to trench to or run conduit on.  Ever since then we have been putting in small and large wireless networks with IP Cameras, analog cameras with ip encoders, motion detection, perimeter detection, etc.


Check out thier website for more info and some great deals on WiFi gear.

Danny Knox
Can download Windows CE .NET development platform from http://www.microsoft.com that will include everything you need for Windows CE Pocket PC Development


nobody ever bought me a camera for my masters project.

you actually have a real easy one.  i'm not familiar with the 5300.  the dlink2000 had a pretty cool telnet ability for a lot of it's usages.  i used it all the time with my cell and a simple telnet command to verify the alarm status and such.  every other camera i've worked with except the veo accepts http commands in url form to process commands. 

Your best start on any dlink camera is actually to go to the vivotek.com site, as they make all their (or most) of their cameras.

You'll look for the 3000 series api, which should give you most of the api commands.

I have the ipview sdk, but can't give it to you seeing as it cost $12,000.  (no kidding)

there is actually a much easier way to get from here to there.  Open your browser and run packetizer or some other sniffing utility that can keep up while you go through the login http process to view the image.  filter out packets where the image data lies to keep you from bogging down.

use the web browser to make the camera do all of the functions you are interested in, then go back and search the packets and you should find the http requests that were made to cause the camera to move.

in your mobile application, you have 2 options.  generate an actual web page on a remote server which houses a mini version of the camera's page and browse to the page with any mobile phone application.  I use a sprint 5300 and can simply use a get request with a meta refresh set to about 5 seconds.  you can have your mini-pan/scan buttons at the bottom.  the second solution is to generate a java-enabled j2me application to reflect the same.

good luck


Thanks Kent, er Dinky.  For a sniffer - anyone else used http://www.ethereal.com/ - Ethereal - I've used it for wardriving.  Works great with Orinoco cards.  Here's link to a fun page - http://www.wardrive.net/general/tools/ you can find a Packetizer link down the middle of the page.

Thanks again Kent!

  • Fake evacuations
  • Ro-buy a security camera!
  • Beginner seeks advice on home video security
  • The Neighbors Are Watching Via Surveillance Video
  • security camera mount question
  • CCTV and camera options? Please Help
  • Small size, low lux camera
  • Cellular Security Cameras: Mobile Phone Tech As A Platform
  • Techdirt Wireless
  • FreeBSD for home security cameras?
  • Security Camera Related Information