<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Bluetooth Communication on letmecompile</title><link>https://www.letmecompile.com/tag/bluetooth-communication/</link><description>Recent content in Bluetooth Communication on letmecompile</description><image><title>letmecompile</title><url>https://www.letmecompile.com/images/default-og-image.png</url><link>https://www.letmecompile.com/images/default-og-image.png</link></image><generator>Hugo -- 0.148.1</generator><language>ko-kr</language><lastBuildDate>Sun, 15 Mar 2015 03:03:21 +0000</lastBuildDate><atom:link href="https://www.letmecompile.com/tag/bluetooth-communication/index.xml" rel="self" type="application/rss+xml"/><item><title>Bluetooth Connection을 사용하는 멀티플랫폼 앱 개발기</title><link>https://www.letmecompile.com/bluetooth-connection%EC%9D%84-%EC%82%AC%EC%9A%A9%ED%95%98%EB%8A%94-%EB%A9%80%ED%8B%B0%ED%94%8C%EB%9E%AB%ED%8F%BC-%EC%95%B1-%EA%B0%9C%EB%B0%9C%EA%B8%B0/</link><pubDate>Sun, 15 Mar 2015 03:03:21 +0000</pubDate><guid>https://www.letmecompile.com/bluetooth-connection%EC%9D%84-%EC%82%AC%EC%9A%A9%ED%95%98%EB%8A%94-%EB%A9%80%ED%8B%B0%ED%94%8C%EB%9E%AB%ED%8F%BC-%EC%95%B1-%EA%B0%9C%EB%B0%9C%EA%B8%B0/</guid><description>&lt;p>블루투스 연결을 사용하는 멀티플랫폼(Mac, Window, Android, Windows Store app) 앱 개발을 하면서 겪은 경험과 노하우들을 정리해 보았다. 아직 완전히 개발이 끝나지 않았기때문에 포스트 내용에도 부족한 점들이 많이 있지만, 일단은 먼저 경험을 공유하는 것이 중요한 것같아서 포스팅을 해둔다.&lt;/p>
&lt;h1 id="bluetooth-연결-기본">Bluetooth 연결 기본&lt;/h1>
&lt;h2 id="블루투스는-디바이스를-어떻게-찾는가">블루투스는 디바이스를 어떻게 찾는가?&lt;/h2>
&lt;p>블루투스 디바이스는 자신이 제공할 수있는 서비스를 무선 네트워크상에 publish해서 다른 디바이스들이 검색할 수 있도록 하는데, 이때 사용되는 것이 Service Discovery Protocol(SDP) 이다.&lt;/p>
&lt;p>예를들어 블루투스 키보드는 자신이 HID 서비스(입력장치)가 가능하다고 무선네트워크상에 계속 신호를 보내고있는 상태인 것이고, 컴퓨터에서 주변 블루투스 장치를 검색할때 이 신호를 인식하여 “블루투스 키보드 장치가 있다”는 사실을 알게되는것이다. 이때 이러한 서비스들을 유니크하게 구분하기위해 UUID를 사용하게된다. UUID의 기존에 이미 정의된 것들을 사용할 수 있으며, 새롭게 임의로 UUID를 생성해서 사용하는것도 가능하다.&lt;/p></description></item></channel></rss>