From: Sergey <a_s_y@sama.ru>
To: community@lists.altlinux.org
Subject: [Comm] bluetooth: Android / GPS over BT / rfcomm с плавающим каналом / gpsd / OpenCPN
Date: Sat, 27 Apr 2013 18:07:10 +0400
Message-ID: <1775409.4Zncsyf8RV@asy-nb.localdomain> (raw)
Приветствую.
Готовлюсь к лету. Есть необходимость поэксперементировать с OpenCPN и
GPS-ресивером. В наличии есть смартфон с HTC Desire Z/Android 2.3.3.
Нашёл приложение "GPS over BT", которое может сделать из смартфона
bluetooth GPS ресивер.
OpenCPN может работать напрямую с /dev/rfcommN или с gpsd, соответственно,
задача прицепить смартфон одним из этих вариантов. Соображения по любому
из вариантов приветствуются. Что касается gpsd, пока посмотрел одним глазом,
начал с rfcomm. С rfcomm проблемы такие:
1. bluez, почему-то, не создаёт /dev/rfcomm самостоятельно. bluez обновлён
до 4.101, старый вот не попробовал, может чуть позже.
2. Основная наверное. sdptool browse показывает такой вот ресурс на
телефоне:
Service Name: BluetoothService
Service RecHandle: 0x10007
Service Class ID List:
UUID 128: 00001101-0000-1000-8000-00805f9b34fb
Protocol Descriptor List:
"L2CAP" (0x0100)
"RFCOMM" (0x0003)
Channel: 15
Канал мнеяется от запуска к запуску приложения "GPS over BT". В примерах с
rfcomm.conf варианта использования UUID я не нашёл. Можно ли как-то это
сконфигурировать на постоянной основе ?
3. Bluetooth PIN где указывать ? Собственно, про PIN в соседнем сообщении. :-)
--
С уважением, Сергей
next reply other threads:[~2013-04-27 14:07 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-27 14:07 Sergey [this message]
2013-04-27 15:20 ` [Comm] bluetooth: Android / GPS over BT / rfcomm / gpsd Sergey
2013-04-27 19:30 ` Alexey Borisenkov
2013-04-27 20:17 ` Sergey
2013-04-27 20:25 ` Alexey Borisenkov
2013-04-27 20:38 ` Sergey
2013-04-28 7:59 ` Sergey
2013-04-28 9:01 ` Alexey Borisenkov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1775409.4Zncsyf8RV@asy-nb.localdomain \
--to=a_s_y@sama.ru \
--cc=community@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git