GPS
From Wiki.cyring.fr
(Difference between revisions)
(Page créée avec « === GPS setup === # hciconfig hci0: Type: BR/EDR Bus: USB BD Address: 10:20:30:40:50:60 ACL MTU: 192:8 SCO MTU: 64:8 UP RUNNING PSCAN RX byte... ») |
(→GPS setup) |
||
Line 1: | Line 1: | ||
=== GPS setup === | === GPS setup === | ||
+ | <syntaxhighlight lang="bash"> | ||
# hciconfig | # hciconfig | ||
hci0: Type: BR/EDR Bus: USB | hci0: Type: BR/EDR Bus: USB | ||
Line 8: | Line 9: | ||
# hciconfig hci0 up | # hciconfig hci0 up | ||
+ | |||
+ | # hcitool scan | ||
+ | Scanning ... | ||
+ | 10:20:30:40:50:60 GSpace GS-R238 | ||
# rfcomm connect rfcomm0 10:20:30:40:50:60 | # rfcomm connect rfcomm0 10:20:30:40:50:60 | ||
Line 13: | Line 18: | ||
Press CTRL-C for hangup | Press CTRL-C for hangup | ||
- | # | + | # chmod o+r /dev/rfcomm0 |
+ | </syntaxhighlight> |
Revision as of 12:37, 31 August 2013
GPS setup
# hciconfig hci0: Type: BR/EDR Bus: USB BD Address: 10:20:30:40:50:60 ACL MTU: 192:8 SCO MTU: 64:8 UP RUNNING PSCAN RX bytes:991486 acl:56018 sco:0 events:1228 errors:0 TX bytes:16043 acl:1179 sco:0 commands:33 errors:0 # hciconfig hci0 up # hcitool scan Scanning ... 10:20:30:40:50:60 GSpace GS-R238 # rfcomm connect rfcomm0 10:20:30:40:50:60 Connected /dev/rfcomm0 to 10:20:30:40:50:60 on channel 1 Press CTRL-C for hangup # chmod o+r /dev/rfcomm0