ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Alexey Morozov <alex-altlinux@idisys.iae.nsk.su>
To: Sisyphus mailing list <sisyphus@altlinux.ru>
Cc: AltLinux Community List <community@altlinux.ru>
Subject: [sisyphus] Про связь телефона через IrDa, подключенному через COM-порт
Date: Thu, 29 Apr 2004 17:33:39 +0700
Message-ID: <20040429103339.GA10286@pyro.hopawar.private.net> (raw)

Меня тут некоторое время назад спрашивали, как производить закачку
файлов с T610. "С" не качал, не знаю, но, вот только что качал "на".

К сожалению, я потерял исходное письмо, и поэтому начинаю новый тред.
Итак:

1. У меня Текрамовский IR-210B, воткнутый в COM2
2. Ставим пакет irda-utils (у меня версия 0.9.16-alt1) и openobex-apps
(у меня версия 1.0.0-alt2)
3. Прописываем в /etc/sysconfig/irda следующее:

IRDA=yes
DEVICE=/dev/ttyS1
DONGLE=tekram
DISCOVERY=yes

4. Стартуем сервис irda, наблюдаем в /var/log/messages соответствующие
сообщения
5. Включаем на телефоне ИК-порт, делаем (от рута, по крайней мере, на
данном этапе) irdadump, видим, как в списке отвечающих устройств видится
наш T610
6. Запускаем (опять же, от рута) obex_test
Далее диалог
> c
<пауза>
Connect OK!
Version: 0x10. Flags: 0x00
> p myfile.jar
PUT file (local, remote)> myfile.jar
name=myfile.jar, size=37160
Going to send 37160 bytes
Made some progress...
<в этот момент телефон предлагает нам подтвердить, что мы действительно
хотим закачать файл итп>
Made some progress...
...
Made some progress...
PUT successful!
> q


Voila

Затем можно воспользоваться всякими модными интерфейсами над obex'ом
(GNOME VFS итп), и упростить себе жизнь. Мне пока не актуально, так что,
пока так. Вообще, в составе openobex-utils есть и obexget и obexput,
так что, возможно, и в коммандлайне все может быть проще и приятнее.



             reply	other threads:[~2004-04-29 10:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-29 10:33 Alexey Morozov [this message]
2004-04-29 10:48 ` mnc

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=20040429103339.GA10286@pyro.hopawar.private.net \
    --to=alex-altlinux@idisys.iae.nsk.su \
    --cc=community@altlinux.ru \
    --cc=sisyphus@altlinux.ru \
    /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 Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git