蓝牙对等网络 API iOS [英] Bluetooth peer to peer networking APIs iOS

查看:29
本文介绍了蓝牙对等网络 API iOS的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

G'Day 程序员...我计划制作一个应用程序,该应用程序将在两个不同的 iOS 设备之间使用点对点蓝牙连接.

G'Day programmers...I am planning to make an application which will be using peer to peer bluetooth connection between two different iOS device.

所以我的问题是,有没有什么好的教程可以指导我完成?

So my question is, is there any good tutorials which can guide me through?

目的是发送字符串流,就像在聊天应用程序中一样.

Purpose is to send a stream of strings, like in chat application.

我想学习,所以你可以给我一个方向,比如

I want to learn so you may give me a direction something like,

嘿检查这个,XYZ API 他们打算做你正在寻找的对于..."或有教程..."

"Hey check this, XYZ API they intent to do what you are looking for..." Or "There is a tutorial ..."

感谢您的任何帮助!

目前的研究:

  • 下面的链接是关于通过 wifi 而不是蓝牙的网络

http://jens.mooseyard.com/2009/05/a-bonjour-chat-tutorial-for-iphone-developers/

  • 此链接很有希望,但找不到任何相关教程.有谁知道有相关教程的链接吗?

http://developer.apple.com/library/ios/#documentation/NetworkingInternet/Conceptual/GameKit_Guide/GameKitConcepts/GameKitConcepts.html#//apple_ref/doc/uid/TP40008304-CH100-SW1

推荐答案

在我看来,GameKit 是您最好的选择.官方文档非常棒,应该可以很好地引导您完成它,即使它本身不是教程.

GameKit is your best bet, in my opinion. The official docs are fantastic and should walk you through it just well, even though it's not a tutorial, per se.

这里有几个:

http://vivianaranha.com/apple-gamekit-bluetooth-integration-tutorial/

http://www.devx.com/wireless/Article/43502/1954

你可以查看BeamIt的源代码!

and you can check out the source code of BeamIt!

http://arctouch.com/beamit/

希望有所帮助.

这篇关于蓝牙对等网络 API iOS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆