Saturday, 15 August 2015

android - What is the equivalent of BluetoothSocket for iOS? -



android - What is the equivalent of BluetoothSocket for iOS? -

i transfer files between bluetooth device , iphone. there similar android.bluetooth.bluetoothsocket on ios platform?

some code samples on connecting bluetooth socket appreciated.

this article describes 5 ways set info exchange on bluetooth; 2 of them (usage of private api , usage of ringwald's btstack on jailbroken devices) won't allow app published on appstore; 1 doesn't real alternative (mfi licensing). there 2 options useful:

using gamekit. enables app have bluetooth connectivity ios devices. seems it's not alternative you.

tutorial: http://code.tutsplus.com/tutorials/bluetooth-connectivity-with-gamekit--mobile-11610

using corebluetooth. doesn't limit connectivity ios devices requires back upwards bluetooth low energy (ble) protocol devices you're going connect to. investigated possibility connect ios , android via ble year ago , came conclusion android devices didn't provide plenty ble back upwards @ time. maybe has changed during past year. please note ble doesn't provide 'socket-like' paradigm, may not fit needs.

tutorial: http://code.tutsplus.com/tutorials/ios-7-sdk-core-bluetooth-practical-lesson--mobile-20741

android ios bluetooth

No comments:

Post a Comment