* [Bluez-devel] Palm hotsync over BT
@ 2005-09-15 23:29 Bastien Nocera
2005-09-16 4:24 ` Marcel Holtmann
0 siblings, 1 reply; 6+ messages in thread
From: Bastien Nocera @ 2005-09-15 23:29 UTC (permalink / raw)
To: bluez-devel
[-- Attachment #1: Type: text/plain, Size: 664 bytes --]
Heya,
Apart from submitting a patch (attached below), I wanted to ask about
the PALMOS and HOTSYNC SDP records that sdptool can now add. First of
all, what is the difference between those two?
If I understood well Marcel's mail[1], one could now sync a Palm over
Bluetooth by doing:
- sdptool add HOTSYNC
- adding an rfcomm connection to the Palm
- using pilot-link or other Palm software using the just created rfcomm
device as the serial device
And the mail mentioned above was to avoid having to create an rfcomm
connection by hand. Am I even close?
Cheers
[1]: http://thread.gmane.org/gmane.linux.bluez.devel/5542
---
Bastien Nocera <hadess@hadess.net>
[-- Attachment #2: sdptool-add-palmos.patch --]
[-- Type: text/x-patch, Size: 639 bytes --]
Index: sdptool.c
===================================================================
RCS file: /cvsroot/bluez/utils/tools/sdptool.c,v
retrieving revision 1.34
diff -u -p -r1.34 sdptool.c
--- sdptool.c 19 Aug 2005 14:40:45 -0000 1.34
+++ sdptool.c 15 Sep 2005 23:20:01 -0000
@@ -2197,7 +2197,7 @@ static int add_palmos(sdp_session_t *ses
root = sdp_list_append(NULL, &root_uuid);
sdp_set_browse_groups(&record, root);
- sdp_uuid128_create(&svclass_uuid, (void *) hotsync_uuid);
+ sdp_uuid128_create(&svclass_uuid, (void *) palmos_uuid);
svclass = sdp_list_append(NULL, &svclass_uuid);
sdp_set_service_classes(&record, svclass);
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Bluez-devel] Palm hotsync over BT
2005-09-15 23:29 [Bluez-devel] Palm hotsync over BT Bastien Nocera
@ 2005-09-16 4:24 ` Marcel Holtmann
2005-09-19 15:05 ` Bastien Nocera
0 siblings, 1 reply; 6+ messages in thread
From: Marcel Holtmann @ 2005-09-16 4:24 UTC (permalink / raw)
To: bluez-devel
Hi Bastien,
> Apart from submitting a patch (attached below), I wanted to ask about
> the PALMOS and HOTSYNC SDP records that sdptool can now add. First of
> all, what is the difference between those two?
oh yeah, the patch fixes a stupid paste and copy mistake. Thanks.
The HOTSYNC record is the record the Palm OS is searching for when it is
doing HotSync over Bluetooth. It will fall back to a normal SP record,
but this can be confusing if the sync host runs multiple targets. The
PALMOS record is an identification record like NOKID, I think. This
hasn't been confirmed and so far I haven't seen any device requesting
it.
> If I understood well Marcel's mail[1], one could now sync a Palm over
> Bluetooth by doing:
> - sdptool add HOTSYNC
> - adding an rfcomm connection to the Palm
> - using pilot-link or other Palm software using the just created rfcomm
> device as the serial device
>
> And the mail mentioned above was to avoid having to create an rfcomm
> connection by hand. Am I even close?
The pilot-link library should be extended to do everything by itself.
This means the service registration and the RFCOMM channel handling to
map the HotSync protocol over RFCOMM.
Regards
Marcel
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server.
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Bluez-devel] Palm hotsync over BT
2005-09-16 4:24 ` Marcel Holtmann
@ 2005-09-19 15:05 ` Bastien Nocera
2005-09-20 0:27 ` Bastien Nocera
2005-09-20 11:35 ` Marcel Holtmann
0 siblings, 2 replies; 6+ messages in thread
From: Bastien Nocera @ 2005-09-19 15:05 UTC (permalink / raw)
To: bluez-devel
On Fri, 2005-09-16 at 06:24 +0200, Marcel Holtmann wrote:
> Hi Bastien,
>
> > Apart from submitting a patch (attached below), I wanted to ask about
> > the PALMOS and HOTSYNC SDP records that sdptool can now add. First of
> > all, what is the difference between those two?
>
> oh yeah, the patch fixes a stupid paste and copy mistake. Thanks.
>
> The HOTSYNC record is the record the Palm OS is searching for when it is
> doing HotSync over Bluetooth. It will fall back to a normal SP record,
> but this can be confusing if the sync host runs multiple targets. The
> PALMOS record is an identification record like NOKID, I think. This
> hasn't been confirmed and so far I haven't seen any device requesting
> it.
>
> > If I understood well Marcel's mail[1], one could now sync a Palm over
> > Bluetooth by doing:
> > - sdptool add HOTSYNC
> > - adding an rfcomm connection to the Palm
> > - using pilot-link or other Palm software using the just created rfcomm
> > device as the serial device
> >
> > And the mail mentioned above was to avoid having to create an rfcomm
> > connection by hand. Am I even close?
>
> The pilot-link library should be extended to do everything by itself.
> This means the service registration and the RFCOMM channel handling to
> map the HotSync protocol over RFCOMM.
Do you know which channel it is supposed to connect to on the Palm?
Something like that is supposed to work:
$ sdptool add HOTSYNC
$ rfcomm bind 0 <palm bdaddr> <channel num>
$ pilot-xfer -p /dev/rfcomm0 -l
Right now, with the few channels I tried, the Palm complains about the
port already being used by another application.
---
Bastien Nocera <hadess@hadess.net>
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server.
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Bluez-devel] Palm hotsync over BT
2005-09-19 15:05 ` Bastien Nocera
@ 2005-09-20 0:27 ` Bastien Nocera
2005-09-20 11:36 ` Marcel Holtmann
2005-09-20 11:35 ` Marcel Holtmann
1 sibling, 1 reply; 6+ messages in thread
From: Bastien Nocera @ 2005-09-20 0:27 UTC (permalink / raw)
To: bluez-devel
On Mon, 2005-09-19 at 16:05 +0100, Bastien Nocera wrote:
> On Fri, 2005-09-16 at 06:24 +0200, Marcel Holtmann wrote:
> > Hi Bastien,
> >
> > > Apart from submitting a patch (attached below), I wanted to ask about
> > > the PALMOS and HOTSYNC SDP records that sdptool can now add. First of
> > > all, what is the difference between those two?
> >
> > oh yeah, the patch fixes a stupid paste and copy mistake. Thanks.
> >
> > The HOTSYNC record is the record the Palm OS is searching for when it is
> > doing HotSync over Bluetooth. It will fall back to a normal SP record,
> > but this can be confusing if the sync host runs multiple targets. The
> > PALMOS record is an identification record like NOKID, I think. This
> > hasn't been confirmed and so far I haven't seen any device requesting
> > it.
> >
> > > If I understood well Marcel's mail[1], one could now sync a Palm over
> > > Bluetooth by doing:
> > > - sdptool add HOTSYNC
> > > - adding an rfcomm connection to the Palm
> > > - using pilot-link or other Palm software using the just created rfcomm
> > > device as the serial device
> > >
> > > And the mail mentioned above was to avoid having to create an rfcomm
> > > connection by hand. Am I even close?
> >
> > The pilot-link library should be extended to do everything by itself.
> > This means the service registration and the RFCOMM channel handling to
> > map the HotSync protocol over RFCOMM.
>
> Do you know which channel it is supposed to connect to on the Palm?
> Something like that is supposed to work:
Something that works much better:
http://lists.pilot-link.org/pipermail/pilot-link-general/2004-November/002068.html
with a patch to pilot-link afterwards:
http://lists.pilot-link.org/pipermail/pilot-link-general/2004-November/002075.html
I've managed to upload some apps to my Palm following those
instructions. It works with both the SP and the HOTSYNC local SDP
records.
There doesn't seem to be any Bluetooth specific code in pilot-link CVS,
although it should be possible to update Paul's patch to the current
sources.
---
Bastien Nocera <hadess@hadess.net>
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server.
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Bluez-devel] Palm hotsync over BT
2005-09-19 15:05 ` Bastien Nocera
2005-09-20 0:27 ` Bastien Nocera
@ 2005-09-20 11:35 ` Marcel Holtmann
1 sibling, 0 replies; 6+ messages in thread
From: Marcel Holtmann @ 2005-09-20 11:35 UTC (permalink / raw)
To: bluez-devel
Hi Bastien,
> > The pilot-link library should be extended to do everything by itself.
> > This means the service registration and the RFCOMM channel handling to
> > map the HotSync protocol over RFCOMM.
>
> Do you know which channel it is supposed to connect to on the Palm?
> Something like that is supposed to work:
>
> $ sdptool add HOTSYNC
> $ rfcomm bind 0 <palm bdaddr> <channel num>
> $ pilot-xfer -p /dev/rfcomm0 -l
>
> Right now, with the few channels I tried, the Palm complains about the
> port already being used by another application.
the Palm will establish the RFCOMM link. I think it is not possible to
establish a HotSync connection from the PC.
Regards
Marcel
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server.
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Bluez-devel] Palm hotsync over BT
2005-09-20 0:27 ` Bastien Nocera
@ 2005-09-20 11:36 ` Marcel Holtmann
0 siblings, 0 replies; 6+ messages in thread
From: Marcel Holtmann @ 2005-09-20 11:36 UTC (permalink / raw)
To: bluez-devel
Hi Bastien,
> Something that works much better:
> http://lists.pilot-link.org/pipermail/pilot-link-general/2004-November/002068.html
> with a patch to pilot-link afterwards:
> http://lists.pilot-link.org/pipermail/pilot-link-general/2004-November/002075.html
>
> I've managed to upload some apps to my Palm following those
> instructions. It works with both the SP and the HOTSYNC local SDP
> records.
>
> There doesn't seem to be any Bluetooth specific code in pilot-link CVS,
> although it should be possible to update Paul's patch to the current
> sources.
this is exactly what is needed, but without a Palm with Bluetooth
support I can't really test any of these stuff.
Regards
Marcel
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server.
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2005-09-20 11:36 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-15 23:29 [Bluez-devel] Palm hotsync over BT Bastien Nocera
2005-09-16 4:24 ` Marcel Holtmann
2005-09-19 15:05 ` Bastien Nocera
2005-09-20 0:27 ` Bastien Nocera
2005-09-20 11:36 ` Marcel Holtmann
2005-09-20 11:35 ` Marcel Holtmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).