I am developing a carplay client for Automotive head unit. Need help for Bonjour - carplay

I am developing a carplay client for Automotive head unit. I am stuck in Bonjour discovery procedure. This can be easily done if I get the CarPlay Communication Plug-in. Can any one provide me the same.
In bonjour advertisement TXT RECORD filed we have to provide:
Feature field. The correct value for this field is in communication plugin.
I will be highly obliged for this favor.
I can help lower layers of this project.
Thanks

If you want to get CarPlay Communication Plug-in,you need to get the copyright of apple.

Related

Want to test Bonjour with 2 iphone/ipad

Apologies for such a silly question.
Please note I don't have Apple TV or any printer. I would like to get hold of the packet trace that takes place when bonjour (Discovery and Resolution phase) is in action. I need to get bonjour into action using just 2 iphone/ipad (I have a Wifi Network through which I could connect these iPad/iPod). Please suggest what application can I use to achieve this? I am a newbie in iOS world, and have no idea of apps related to bonjour.
Hope some of you could help.

Direct VoIP call from one iOS device to another

I'am going to develop peer-to-peer VoIP iOS application. And want do it without any SIP proxy, SIP providers and other servers. Just VoIP calls frpm iOSdevice-to-iOSdevice. Both iOS device could be somewhere in Internet. Is it real in VoIP (with PJSIP for example and general with SIP)?
Could you please point me to main keys that I need for development.
I have already read these topics. Is it real solve problems with addressing in my configuration. PJSIP could help with correcting addressing?
Look at Apples Multipeer Connectivity framework. I have built an app that does exactly what you want. If you look to my profile and the questions I have asked you will get some good guidance. Though I recommend you do it with a backend since MultiPeer wasn't the best solution, atleast when it comes to supporting multiple peers and to be able to call another device that has the app in the background.
See Frank Shearar's Answer Here
In short, it looks like this would be a very difficult task.
Another option would be to use the Twilio SDK for iPhone (Obj-C). This would work well for what you're trying to do and would be a whole lot easier. Link

Communication between two iOS devices

I am looking for a way to have one iPhone app send a message to another app on a different phone (sort of like a Sender-Receiver set up). I am looking for the best possible way to do this. Does anyone have any ideas and/or tutorials?
Thanks for the help.
You should use GameKit. It is super easy to send messages between two iOS devices using it. Here's a great tutorial: Game Kit. You can also get more information about it here from the docs: About Game Kit.
You communicate by creating an ad-hoc bluetooth or local wireless network.
lmirak provided insightful info about device communication(especially about GameKit). I would like to add one more solution. You can use WiFi network to do your device communication.
See the link or download the sample application from developer.apple
The sample application named as WiTap. It demonstrates how to achieve network communication between applications. Using Bonjour, the application both advertises itself on the local network and displays a list of other instances of this application on the network.
If your app is only going to run on iOS, then you should use the fantastic MultipeerConnectivity library. https://developer.apple.com/documentation/multipeerconnectivity
If you need a solution that will work cross-platform, then one way to accomplish this is using sockets and connecting over a local network. On iOS you can use CocoaAsyncPods for sockets and NetService for discovery.
Here is a basic example app that does this: https://github.com/brendaninnis/LocalNetworkingApp
, which I explain in great detail here: http://brendaninnis.ca/connect-nearby-devices-part-1.html

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.