Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 07-26-2010, 03:55 PM   #1 (permalink)
Registered Member
 
Join Date: May 2010
Posts: 1
Timo202 is on a distinguished road
Default Iphone, Wifi, PLC, Windows CE, IIS.....

I want to connect my Iphone via Wifi with a PLC.

This is what I know so far. The OS of the PLC is Windows CE and the PLC has IIS.
The example provided by the PLC manufacturer is based on C++ and uses an ADS.DLL, which is not available on the IPhone.

At this moment it seems that I would have to use AsyncSocket. However, there is one "problem" I think.

"The Cocoa API provides a handful of networking classes, suitable for downloading and uploading images and files. These classes support HTML, FTP, and other protocols, but cannot be used with application-specific protocols."

Perhaps I am in the category: application-specific protocols.

The questions I have at the moment are:
Do I need to use AsyncSocket or NSFileHandle, NSInputStream, and NSOutputStream?
What is the best way to communicate between the IPhone and a device running on Windows CE?

Regards,

Timo202
Timo202 is offline   Reply With Quote
Old 11-28-2010, 02:49 AM   #2 (permalink)
Registered Member
 
Join Date: Nov 2010
Posts: 1
nebula_1979 is on a distinguished road
Default app already present in the app store

Quote:
Originally Posted by Timo202 View Post
I want to connect my Iphone via Wifi with a PLC.

This is what I know so far. The OS of the PLC is Windows CE and the PLC has IIS.
The example provided by the PLC manufacturer is based on C++ and uses an ADS.DLL, which is not available on the IPhone.

At this moment it seems that I would have to use AsyncSocket. However, there is one "problem" I think.

"The Cocoa API provides a handful of networking classes, suitable for downloading and uploading images and files. These classes support HTML, FTP, and other protocols, but cannot be used with application-specific protocols."

Perhaps I am in the category: application-specific protocols.

The questions I have at the moment are:
Do I need to use AsyncSocket or NSFileHandle, NSInputStream, and NSOutputStream?
What is the best way to communicate between the IPhone and a device running on Windows CE?

Regards,

Timo202
You know, there is an app already present in the app store that is able to read online values from modbus and siemens protocol. You can try to contact the author: iPLC RW is the name of the application.
Anyhow, i think the best solution is to use BSD Berkley sockets.
nebula_1979 is offline   Reply With Quote
Reply

Bookmarks

Tags
iis, iphone, plc, wifi, windows-ce

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 346
14 members and 332 guests
alexP, appservice, bignoggins, EXOPTENDAELAX, guusleijsten, Hamad, heshiming, mariano_donati, Objective Zero, ohmniac, Paul Slocum, Rudy, v1n2e7t
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,653
Threads: 94,115
Posts: 402,888
Top Poster: BrianSlick (7,990)
Welcome to our newest member, ohmniac
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 10:44 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0