DOI QR코드

DOI QR Code

The Android-based Bluetooth Device Application Design and Implementation

안드로이드 기반의 블루투스 디바이스 응용 설계 및 구현

  • 조효성 (광운대학교 임베디드 소프트웨어공학과) ;
  • 이혁준 (광운대학교 컴퓨터공학과)
  • Received : 2012.02.14
  • Accepted : 2012.02.27
  • Published : 2012.02.29

Abstract

Today, although most bluetooth hands-free devices within a vehicle provide telephone service functions such as voice communication, caller id display and SMS message display and so on, they do not provide a function that displays Internet-based text data. We need to develop a scheme that displays the internet-based text data including existing hands-free function because the request for using the Internet service is increasing within a vehicle recently. The proposed bluetooth device application includes advanced function such as SNS message arrival notification, the message display function and we chose Android as the implementation mobile platform giving consideration to the fact that most SNS applications operate on Android and the platform is easily embedded into small embedded device. Smartphone or tablet PC connected with the proposed bluetooth device is an Android-based device and we designed a form of Android app for the function implementation of the devices. When the audio-text gateway app receives SNS text data, it extracts title and sender information from the message header information in a form of text data and sends them via ACL (Asynchronous Connection-Oriented) link to the bluetooth device showing the data on the screen. Android-based bluetooth devices are not possible to play voice through speaker because the bluetooth hands-free or headset profile ported within Android platform normally only includes audio gateway's function. The proposed bluetooth device application, therefore, applies the streaming scheme that sends data via ACL link instead of the way that sending them via SCO (Synchronous Connection-Oriented) link.

현재, 차량 내에서 사용하는 대부분의 블루투스 핸즈프리 디바이스는 음성 통화, 발신자 식별번호 표시 및 SMS 메시지 표시 등의 전화 서비스 기능을 제공하고 있지만 인터넷 기반의 텍스트 데이터 디스플레이 기능은 지원하지 않고 있다. 최근 들어 차량에서도 SNS와 같은 인터넷 서비스 이용에 대한 요구가 증가하고 있어, 기존의 핸즈프리 기능 이외에도 인터넷 기반의 텍스트 데이터를 표시하는 기능의 개발이 필요하다. 제안하는 블루투스 디바이스 응용은 SNS 메시지 및 이메일 도착 알림 표시 등의 향상된 기능을 포함하며, 구현 플랫폼으로는 대부분의 SNS 응용 프로그램의 동작이 가능하고 소형 임베디드 디바이스에 탑재가 용이한 안드로이드 플랫폼을 사용한다. 제안하는 블루투스 디바이스와 연결되는 스마트폰 또는 태블릿 PC 역시 안드로이드 플랫폼 기반의 단말기이며, 단말 탑재 기능 모듈인 오디오-텍스트 게이트웨이는 안드로이드 앱 형태로 설계된다. 오디오-텍스트 게이트웨이 앱은 SNS 텍스트 데이터 수신시, 메시지 헤더 정보에서 제목, 발신자 정보 등을 추출하여 텍스트 데이터 형태로 ACL(Asynchronous Connection-Oriented) 링크를 통해 블루투스 디바이스로 전송하여 화면에 표시되도록 한다. 일반적으로 안드로이드 플랫폼에 탑재된 블루투스 핸즈프리 또는 헤드셋 프로파일은 오디오 게이트웨이의 기능만을 포함하고 있기 때문에 안드로이드 기반의 블루투스 디바이스에서는 음성 데이터의 스피커 출력이 불가능하다. 따라서 제안하는 블루투스 디바이스 응용은 블루투스 헤드셋 프로파일에서 일반적으로 사용되는 SCO(Synchronous Connection-Oriented) 링크를 통한 음성 데이터 전송 방식 대신에 ACL 링크를 통한 스트리밍 방식을 적용한다.

Keywords

References

  1. 고덕영, 정동규, "블루투스 기술을 이용한 핸즈프리용 헤드셋과 베이스 개발," 한국정보기술학회논문지, vol. 6 no. 3, pp.8-14, 2008. 6.
  2. Kelly Montgomery, "I'm Watch gives you Android on your wrist, connects to your smartphone," Digital Trends, 2011. 11.
  3. 김정훈, "구글의 안드로이드 프로그래밍," 성안당, 2009.
  4. Frank Bellosa, Jan Stob and Konrad Miller, "Analysis of the Android Architecture," pp.7-16. 2010. 06.
  5. Bruce Hopkins, "Bluetooth for Java," Apress, 2003.
  6. 임채권, "Adhoc Networking을 위한 블루투스 스캐터넷 형성 프로토콜," 석사학위논문, 서울대학 교, 2003.
  7. Bluetooth Specification, "Specification of the bluetooth system," Bluetooth SIG group, 2004. 11.
  8. 한동훈, 원일용, 하홍준, "리눅스 커널 프로그래밍," 한빛미디어, 2010. 09.
  9. Christian Benvenuti, "Understanding Linux Network Internals," Oreilly, 2005.

Cited by

  1. 블루투스 및 NFC 기반 사회약자 사고방지 시스템 설계 및 구현 vol.13, pp.6, 2013, https://doi.org/10.7236/jiibc.2013.13.6.131
  2. 스마트폰을 이용한 지능형 건반악기 자율학습 시스템 vol.9, pp.9, 2014, https://doi.org/10.13067/jkiecs.2014.9.9.999
  3. NFC 기술을 이용한 카드 분실을 방지하기 위한 모바일 앱 vol.12, pp.1, 2012, https://doi.org/10.13067/jkiecs.2017.12.1.181