How to share the GPS in your N95 with your laptop via Bluetooth in Linux 어떻게 리눅스에서 블루투스를 통해 귀하의 노트북에서 귀하의 N95의 GPS를 공유하는

by Ken Murray on October 22, 2008 머레이 2008년 10월 22일에 의해

리눅스심비안

This tutorial will guide you through the steps required to share your Nokia N95s built in GPS with your laptop, in Linux. 이 입문서는 리눅스에서 귀하의 노키아 N95s GPS가 내장된 노트북을 함께 공유하는 데 필요한를 통해 여러분을 안내할 것입니다.

  1. First you need to grab a copy of 우선 당신의 사본을 잡아 필요 ExtGPS . Symarctic ExtGPS is free for personal, non-commercial use. Symarctic ExtGPS에 대한 무료이며 개인, 비 - 상업적 사용합니다. You also use the 또한 사용 Mobile Code 모바일 코드 below to download it. 아래를 다운로드합니다.
  2. Now that you have ExtGPS installed, you can find it by choosing Menu -> Applications -> ExtGPS . 당신은 이제 ExtGPS 설치한 경우 -> 자료실 -> ExtGPS 메뉴를 선택하여 그것을 찾을 수있습니다. You will be prompted to allow ExtGPS to use connectivity applications and to allow ExtGPS to use positioning data. 당신 ExtGPS과 연결 응용 프로그램을 사용하려면 ExtGPS 위치 데이터를 사용할 수 있도록 허용하라는 메시지가 표시됩니다. Choose Yes for both. 그래 모두를 선택합니다.

  3. It may take quite a while before the GPS starts to receive a valid signal and get a fix. 전에는 GPS 신호를 수신하고 수정 프로그램을 얻을 유효한 시작 꽤 걸릴 수있습니다. Make sure you are outside and have a clear view of the sky. 당신은 확실하게 외부와 하늘을 확연히 볼 수있다. The satellite icon will change from red to green once it has a fix. 한번 수정 프로그램이있다 위성 아이콘이 빨간색에서 녹색으로 변경됩니다.
  4. Make sure your phone is discoverable via Bluetooth. 귀하의 휴대 전화 블루투스를 통해 확실히 인식이되어 있는지 확인합니다. Choose Menu -> Tools -> Bluetooth . -> 도구 -> 블루투스 메뉴를 선택합니다. I chose to make my phone visible for 5 minutes. 내 핸드폰이 5 분 동안 볼 수 있도록 선택했다.


  5. The next few steps are done from the command line. 앞으로 몇 단계 커맨드 라인에서 작업하고있다. Here’s what I had to do on my Fedora 9 system. 저는 여기에 제 페도라 9 시스템에 할 일을했다.

    [user@radon ~]$ sdptool search SP [라돈 @ 사용자 ~] $ sdptool 검색 특검팀은
    Inquiring … 탐구 ...
    Searching for SP on aa:bb:cc:dd:ee:ff … 금주 모임에 SP에 대한 검색 : BB 과제 : 참조 : 날짜 : 전기 전자 : FF로도 ...
    Service Name: Data Transfer 서비스 이름 : 데이터 전송
    Service Description: Version 서비스 설명 : 버전
    Service RecHandle: 0×1000f 서비스 RecHandle : 0 × 1000f
    Service Class ID List: 서비스 클래스 ID 정가 :
    “Serial Port” (0×1101) "시리얼 포트"(0 × 1101)
    Protocol Descriptor List: 프로토콜을 설명 정가 :
    “L2CAP” (0×0100) "L2CAP"(0 × 0100)

    Service Name: Symarctic ExtGPS 서비스 이름 : Symarctic ExtGPS
    Service Description: Share phone’s built-in GPS module via Bluetooth 서비스 설명 : 공유 - GPS가 블루투스를 통해 휴대 전화의 기본 모듈
    Service Provider: Symarctic Solutions 서비스 제공자 : Symarctic 솔루션
    Service RecHandle: 0×10019 서비스 RecHandle : 0 × 10,019
    Service Class ID List: 서비스 클래스 ID 정가 :
    “Serial Port” (0×1101) "시리얼 포트"(0 × 1101)
    Protocol Descriptor List: 프로토콜을 설명 정가 :
    “L2CAP” (0×0100) "L2CAP"(0 × 0100)
    “RFCOMM” (0×0003) "RFCOMM"(0 × 0003)
    Channel: 5 채널 : 5
    Language Base Attr List: 언어 자료의 attr 정가 :
    code_ISO639: 0×656e code_ISO639 : 0 × 656e
    encoding: 0×6a 인코딩 : 0 × 6a가
    base_offset: 0×100 base_offset : 0 × 100

  6. The above output shows your phones Bluetooth MAC address, and that ExtGPS is exposing a serial port on Channel 5. 위의 출력, 그리고 귀하의 휴대 전화 블루투스 MAC 주소를 보여주는 ExtGPS 채널 5에서 직렬 포트를 노출됩니다. We need to bind these together to make an entry in /dev. 우리 바인딩이 함께하는 항목은 / dev 만들 필요가있다.

    [user@radon ~]$ sudo rfcomm bind 1 aa:bb:cc:dd:ee:ff 5 [라돈 @ 사용자 ~] $ sudo를 rfcomm 바인딩 1, aa는 : BB 과제 : 참조 : 날짜 : 전기 전자 : 빨리감기 5

  7. The rfcomm bind paramaters above are the rfcomm device number, the phone’s Bluetooth MAC address, and the channel number as reported by sdptool. rfcomm 바인딩은 paramaters 위의 rfcomm 장치 번호, 휴대 전화의 블루투스 MAC 주소, 그리고 채널 번호로 sdptool로보고됩니다. This creates a serial port at /dev/rfcomm1. 이 / dev/rfcomm1에서 직렬 포트를 만듭니다.
  8. At this point you should be able to stream raw NMEA sentences from your N95 directly to the console: 이 시점 스트림에 직접 콘솔에서 귀하의 N95의 원시 문장 NMEA 수있을 것입니다 :

    [user@radon ~]$ sudo cat /dev/rfcomm1 [라돈 @ 사용자 ~] $ sudo를 고양이 / dev/rfcomm1
    $GPGGA,022314.000,4826.67566,N,12322.19605,W,1,07,1.9,13.7,M,-18.3,M,,*52 $ GPGGA, 022314.000,4826.67566, N으로, 12322.19605, 승, 1,07,1.9,13.7, 남, -18.3, 남,, * 52
    $GPGLL,4826.67566,N,12322.19605,W,022314.000,A,A*4A $ GPGLL, 4826.67566, N으로, 12322.19605, 승, 022314.000, 한, 한 * 4A
    $GPGSA,A,3,30,29,10,21,24,26,15,,,,,,2.9,1.9,2.2*3D $ GPGSA, 한, 3,30,29,10,21,24,26,15 ,,,,,, 2.9,1.9,2.2 * 3D 이미지
    $GPGST,022314.000,8.8,13.0,6.1,65.6,7.1,11.1,14.0*63 $ GPGST, 022314.000,8.8,13.0,6.1,65.6,7.1,11.1,14.0 * 63
    $GPGSV,3,1,11,05,09,179,,02,10,072,25,30,28,194,38,29,77,118,42*72 $ GPGSV, 3,1,11,05,09179, 02,10072,25,30,28194,38,29,77118,42 * 72
    $GPGSV,3,2,11,10,42,059,36,16,24,315,27,21,45,256,43,24,84,024,40*79 $ GPGSV, 3,2,11,10,42059,36,16,24315,27,21,45256,43,24,84024,40 * 79
    $GPGSV,3,3,11,18,14,198,,26,10,114,38,15,09,128,33*49 $ GPGSV, 3,3,11,18,14198, 26,10114,38,15,09128,33 * 49
    $GPRMC,022314.000,A,4826.67566,N,12322.19605,W,0.1,159.6,151008,18.1,W,A*3B $ GPRMC, 022314.000, 한, 4826.67566, N으로, 12322.19605, 승, 0.1,159.6,151008,18.1, 승, 한 * 3B
    $GPVTG,159.6,T,177.7,M,0.1,N,0.3,K,A*2C GPVTG 달러, 159.6, T는 177.7, 남, 0.1, N으로, 0.3, 케이, 한 * 2C
    ^C ^ C

    While the NMEA sentences are streaming to the console, the Bluetooth icon in ExtGPS should change from red to green. 반면 NMEA 문장, 초록색에서 빨간색으로 변경해야 ExtGPS에있는 Bluetooth 아이콘을 콘솔로 스트리밍됩니다.

  9. We’re now connected so let’s do something a bit more useful. 우린 이제 뭔가 좀 더 유용한 연결하자. First, let’s run gpsd on the computer. 먼저, 실행하는 컴퓨터에 gpsd하자.

    [user@radon ~]$ sudo /usr/sbin/gpsd -N /dev/rfcomm1 [라돈 @ 사용자 ~] $ sudo를에서는 / usr / sbin / gpsd는 - N / dev/rfcomm1

    The -N paramater tells gpsd not to switch to background mode. 는 - N으로 paramater 배경 모드로 전환하지 gpsd. I prefer doing it this way as I don’t leave gpsd running all the time. 내가 떠나 모든 시간을 실행하지 gpsd 나도 이런식으로 일을 선호한다. I only run it when I want to use it, then just hit ^C to close it. 나는 그것을 사용하는 경우에만 다음, 그것을 실행 그냥 맞고 싶지 ^ C 닫으십시오. See the gpsd man page for more options. 더 많은 옵션에 대한 gpsd 맨 페이지를 참조하십시오.

  10. Now, from a second terminal window, try running xgps. 자, 두 번째 터미널 윈도우에서 실행 xgps보십시오.

    [user@radon ~]$ xgps [라돈 @ 사용자 ~] $ xgps

    You should see something similar to the following: 당신이 뭔가를 다음과 유사하게 나타납니다 :


  11. click to enlarge 클릭하시면 확대됩니다

  12. xgps is showing the usual GPS data. 평소 xgps GPS 데이터를 보이고있다. Latitude, Longitude, Altitude, Speed, etc. 위도, 경도, 고도, 속도 등
  13. There are a number of applications available in Linux that can take advantage of a GPS device. 이미 애플 리케이션을 리눅스에서 활용할 수있는 GPS 장치를 사용할 수있습니다. I like using a combination of Kismet and GPSDrive while wardriving. 난 운명과 GpsDrive는 wardriving 동안의 조합을 사용하는 것과 같이. If there is enough interest, I’ll write a tutorial on how I wardrive with Kismet and GPSDrive. 이미 충분히 관심이있다면, 나는 내가 어떻게 운명과 GpsDrive가 함께 wardrive에 대한 입문서를 작성합니다.
Related Posts: 관련 게시물 :
  • How to share files and folders between Windows and OS X using Parallels 어떻게 공유 파일 및 폴더를 패러랠 즈를 사용하여 Windows 및 OS X의 사이
  • Use Adeona to help recover a lost or stolen laptop 를 사용하여 복구할 수 있도록 도와주는 Adeona 분실 또는 도난당한 노트북
  • Technology and Lifestyle 기술과 라이프 스타일
  • How to install applications on your Nokia N95 via Bluetooth 블루투스를 통해 어떻게 노키아 N95에서 응용 프로그램을 설치하려면
  • How to use your Nokia N95 as a wireless Webcam 무선 웹캠으로하는 방법을 사용하여 노키아 N95
  • Get Simple Help tutorials just like this one in your email inbox every day - for free! 귀하의 이메일받은 편지로 매일 - 자유에 대한 간단한 도움말 튜토리얼이 하나처럼 들어가! Just enter your email address below: 바로 아래에 귀하의 이메일 주소를 입력 :

    You can always opt out of this email subscription at any time. 당신은 항상 언제든지이 이메일 구독의 선택을 취소할 수있습니다.


    Bookmark and Share 즐겨찾기 및 공유

    { 0 comments… (0 코멘트 ... add one now 지금 하나 추가 } )

    Leave a Comment 코멘트를 남겨주세요

    You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> 이러한 HTML 태그와 특성 : title="">은 <a href="" 사용할 수있습니다 <abbr title=""> <acronym title="">의 <b> <blockquote cite=""> <cite>의 <code> <del datetime="">의 <em>가 <i> <q cite=""> <strike>의 <strong>