How to build my own wireless attached storage? - bonjour

Quite open question.
I wonder how can I make my own network storage such as Apple Time Capsule by using open source. I try to peek and poke around Bonjour, PnP-X, AFP and SMB ...
Is there any one already have experience to build(or write) network storage device such as Time Capsule? Could you please let me know detail step to research on this topic?
Thanks in advance,
Wonil.

After doing some web surfing, I found the below open source S/W can help me.
1) Netatalk - to support AFP on Linux
2) Avahi - to support Bonjour on Linux

Related

Connect to file share on an Airport Extreme from iPad/iPhone

I need to connect to a hard drive or thumb drive that is plugged into an Airport Extreme. I assume you connect to it by using NSURLConnection, but I don't know how to format the url.
I can access it from the mac by connecting to the server smb://serveraddress.local etc... and entering user/pwd. I need to be able to access this using the iPad and stream video from it and open files.
If someone can point me in the right direction I would really appreciate it.
Thanks!
You are trying to connect AFP or SMB shared volumes, NSURLConnection can not help you.
Since there is no any SDK for you, you need to write your own AFP or SMB client.
Here is an Open Source AFP client: afpfs-ng
but I don't think you can run it on iPhone as easy as copy&past.

iphone/ipad: create a remote control freature

I am quite new to iOS development and just thought to take guidance from experts
Actually I have to do a project in which I can use iPAd/iPhone to control some external device like camera movement or anything similar like that, some PIC programming or anything related to robotics, mechanics which can be controlled from iOS based device.
I am kind of lost goggling please guide me on this.
If you can help me with these I can get some concrete redirections
1) Links to whitepapers / articles / blogs having relevant material
2) Links of third party libraries which can help me in this
3) Links of demo application which are already there
4) What stream should I focus on to get material regarding the same.
eg: something like survilance system
Thanks in advance
So the practical ways to interface an iOS device to a robot are over WiFi, establishing either a UDP or TCP socket. Here are a few links:
http://www.iphonedevsdk.com/forum/iphone-sdk-development/2023-tcp-ip-udp-networking.html
http://www.youtube.com/watch?v=4XQeZE4nh6M
http://www.youtube.com/watch?v=0ipAKzCwn4Y
I would not recommend the Bluetooth path, as Apple considers bluetooth as an "External Accessory" and requires MFi certification (Made for iPhone)

Publishing a MIDI source as a Bonjour service

I have written a VST/AU/RTAS synthesiser plugin for OSX and Windows that also has an iPhone equivalent. I would like to allow the two to communicate with each other over a local area network so that the iPhone app can be used to send MIDI controller data to the plugin. I plan to create a MIDI source on the iPhone and publish it as a Bonjour service so that the plugin running on OSX or Windows can find it and receive midi from it.
I have a couple of questions to ask about this:
1) Do I actually have to publish the MIDI source as a Bonjour service or does a coremidi host (running on iPhone) automatically publish itself?
2) Are there any code examples available that show how to do this sort of thing?
I have seen the following post but the answer to this only covers the client side, finding a Bonjour service but not the publishing side, and it transmits MIDI via OSC, and it only covers OSX but not Windows (I know, I'm not asking much! ;) )
How to send MIDI or OSC signals to a Mac application from my iOS application?
Cheers,
John.
AFAIK you'll have to publish the service yourself. NSNetService and NSNetServiceBrowser are the classes you need. Check out the companion guide. I found this article on Cocoa for Scientists particularly helpful in getting started. Both have some decent code samples. The Bonjour Browser is useful for testing.
The list of bonjour service types already has
apple-midi
and
imidi
But I think it's best to make up your own application-specific type name unless your app is plug-compatible with one of these services.

communicate between iphone and windows pc?

I want to write an app to communicate between the iPhone and a Windows pc. Where can I find more information on that particular communication?
Your best bet I beleive is to just use the network. If you're doing something nice and simple HTTP might even work for you. If you need to transfer files they NFS or FTP.
I found the following link:
Bonjour for .net
I tested the sample app and it communicates with my iPhone. I will digg more in that on the next day or tow and will inform you.

Finding the systems connected in local network from iPhone?

I am developing an application which identifies(find) all the systems connected in same network/LAN to share the data.
could please share with me how to identify(find) the systems which are connected in same network/LAN.
thanks in advance.
When you say all systems, I assume you mean all instances of your application? If so then the correct solution is to use Bonjour. Documentation on how to use it can be found here. Note that your app needs to be actively running on all the devices that you are trying to discover, since the iPhone does not support background apps.
If you are just talking about finding all other devices in the area then you need to resort to techniques like port scanning.