Connecting iphone with external device through bluetooth or wired connection - objective-c

I have an external device that we need to connect with iPhone by using either Bluetooth or wired connection.
For connecting with Bluetooth we know that if the device has BLE then we can directly communicate with it Using CoreBluetooth Framework.
Otherwise we have to go to get it MFI registered.
Also if we want it to connect it using wired connection then also we have to get it MFI registered.But we have found a cable that connects device with iphone and that cable is MFI registerd. So if i use this cable for connecting iphone to device still do i need to get my device MFI registered??
For configuring this device initially i use desktop (putty). Through LAN cable i insert one end lan cable in device and second end in my computer, then using (putty) serial communication (through COM port) we send some commands to configure it. So, can this be done through iphone also if the device gets connected to iphone through usb cable??if Yes then how???if yes through bluetooth then how??

From the developer of that cable's website
"MFI Certified
All Redpark cables are licensed through Apple’s “Made for iPod” (MFI) program and have earned MFI certification.
Apps developed with our SDK can be deployed under your Apple Enterprise Developers license with no further review or approval from Apple."
Key here is Apple Enterprise Developers license. If you're developing this application for internal release within your company it seems you don't need MFI. To be released on the app store I believe you would still need MFI.
As far as I know to configure your device from the phone rather than through your desktop would require a jailbroken phone. See here for a little info http://www.computerworld.com.au/slideshow/365979/great-iphone-serial-port-hack/?fp=4&fpid=5

Related

USB device listening OSX objective c using peertalk

I developed a OSX application that listening the USB devices that connected from OSX and application runs fine before submit to app store. At the time of submission to app store I enabled the "App Sandbox" and enabled USB in App Sandbox. But after enable this application is not able to get the list of USB connected devices. I am using peertalk library from github. Link is below:
PeerTalk
So now please can anyone suggest the solution for this. or suggest any option to get the devices list which is connected from osx using USB.
Thanks
Mit

Detect if device is connected to a specific network(office wifi)

I have an enterprise iOS app and I am trying to detect if the device running the app is connected to the office wifi.
I can't find relevant information and I am not sure if this is possible.

Android tablet pc with a Nokia phone 3G data connection

This is technical question to check the possibilities of the scenario. Is it possible to use Nokia phone's (Lumia, N9, symbain phone, S40) 3G data connection with a Android tablet pc?
Or any way to use phone's 3G data connection with tablet pc?
I have a unlimited data connection for my phone. But I don't use it that much. So I'm planning to use it with the tablet pc.
yep its possible easily if :
1. your tab is rooted
2. your tab supports usb host mode or otg mode (you could either check it on net or download usb host diagnostics) (just click start diagnostic)
procedure
Downoad ppp widget
configure your apn according to pc suite settings
then plug in your phone via usb on nokia pc suite mode
now wait 10s and click connect
you are now done
(pls switch your wifi off as ppp widget creates virual wifi for your tab)
any inquiries contsct rld0989#gmail.com (don't be rest less I only check my gmail once a day)
Yes, it's possible to use your phone as a modem, connected to the tablet via a USB cable, as long as you have
(1) an APN from your network operator to make a data connection via their network, and
(2) suitable device drivers for the phone. On Windows, smartphones are plug and play, but I don't have any experience using them with Android.
On the tablet, you also need some software to control the modem - something like the Mobile Broadband Connect 3.0 application listed on here
You can write a simple connection app yourself using the Android Telephony Manager.
Alternatively, you could connect manually, using AT commands with a suitable AT command program (in Windows, it would be Hyperterminal). This thread describes a possible equivalent for Android.
Standard AT commands to make a data connection are described in the 3gpp TS27.007 specification.
There are a lot of variations for different manufacturers, but making a simple connect should be possible using the standard commands.

Simultaneous communication with many Windows/Windows Phone 8 devices using Proximity API

Is it possible to make an application that provide communication between one Windows 8 (as a server for example) device and 'n' (> 1) Windows Phone 8 devices using the Windows 8/Windows Phone 8 Proximity APIs?
[Edit]
I mean simultaneously and using NFC to establish the connection and Wi-Fi or Bluetooth for data exchange.
According to this article : http://msdn.microsoft.com/en-us/library/windows/apps/br241210.aspx, Wi-Fi Direct is not supported on Windows Phone 8. What does it really mean? Between 2 Windows Phone 8 Devices?
I think it would work according to the MSDN library :
http://msdn.microsoft.com/en-us/library/windows/apps/jj207060.aspx
This scenario works with Windows Phone 8 and Windows 8 devices. When a tap succeeds, you get back a socket that you can communicate with the other device. On Windows Phone 8, this socket is established on either a TCP/IP (Wi-Fi) connection or a Bluetooth connection.
Any ideas?
I have made some tests with several devices and what I can say is the following.
A W8 device and a WP8 device can only communicate if the 2 devices are NFC capable.
Indeed, Peer Browsing is not supported between W8 et WP8 (according to my tests). But once the NFC connection established the W8 and the WP8 can keep the connection using Bluetooth so the NFC connector can be released (NFC does not support multiple simultaneous connections).
You can keep several live connections between a W8 device and other devices (W8, WP8).
What I achieve to do is:
1 W8 (NFC) tablet hosting connections.
1 W8 PC (without NFC) that connects to the W8 tablet using Peer Browsing (Direct Wifi).
2 WP8 connecting to the W8 tablet using NFC and Bluetooth.
The hosting device can keep a socket per connected device.
You just need to manage all the sockets to receive and send data.
Yes, you can communicate between Windows Phone 8 and Windows 8 using the proximity framework.
On WP8 you'll need to set the following AlternateIdentity to your Win8 App full name:
PeerFinder.AlternateIdentities.Add("Windows", "<your Win8 app package family name>!<your app WP8 app ID");
// e.g.
PeerFinder.AlternateIdentities.Add("Windows", "NORADPublicAffairs.NORADTracksSanta_1.0.0.26_x64__bzcj0d5cg39gj");
On Win8 you'll need to set the following AlternateIDentity to your WP8 app GUID:
PeerFinder.AlternateIdentities["WindowsPhone"] = "{<your app GUID>}"
// e.g.
PeerFinder.AlternateIdentities["WindowsPhone"] = "{5b7ba36b-04fc-df11-9264-00237de2db9e}"
You can then use the proximity framework on both WP8 and Win8 to communicate with each other. NFC can be used to initiate a socket between WP8<->Win8 which should then use either Bluetooth or TCP/IP as the communication layer.

Can my iphone app communicate with a connected computer?

Preferably, this would be a computer connected via cable, but if there's a way to do it over wifi then this would also be useful. I'm wondering if it's possible to send messages between them?
Or if i had a mac app and an iPhone app, could I communicate between them over wifi or a usb connection, rather than using a server or something?
Connecting over WiFi is possible, cable connection however isn't possible (certainly not in the documented API) unless the phone is jailbroken.
For wifi you're just going to connect to a TCP/IP host/socket. Have a look at CocoaAsyncSocket. The computer would need to be hosting some sort of server software. This is how iTunes Remote and AirMouse work.
There are some "permitted" (non-cracked phone) ways to send data to the iPhone from a device that's physically plugged in. There are several barcode readers - like the Linēa-pro used in US Apple stores - and magstripe readers for credit cards (e.g., the Macally Quikswipe) that can send limited amounts of data to/from the iPhone.
If your computer is a small embedded device and your data requirements are meager, it may be possible.