Hello Patrick,
I found the code san.[h|cpp] code which implements notification
parsing/generation. I'd like to discuss how this feature could be used
in a SyncML client and (in the future) a server.
Our PDA clients have integrated it already.
For the server side we have a separate
application called "pushalerter". There are
currently no plans to integrate into the server's
code, as not the SyncML server initiates it, but
the "outside world".
My original thought when looking at the spec was that SAN
parsing/generation should be doable before starting and configuring a
sync session. But that makes it difficult (if not impossible) to access
the nonce that is needed for the SAN message.
That is in fact an unsolved problem. We heard
from Symbian, that they are using a hardcoded
nonce. Our client simply ignores it, as far as I
remember.
After a first successful session, the last nonce could/can be used.
It is not possible to use SAN with a client yet, is it? At least I have
no idea how to pass a SAN message content into the engine with the
current API. If there was such an API, would the engine take the URI
from the SAN message instead of from the local configuration that it was
started with?
The SAN recognition is intended to be implemented
completely outside the engine: It initiates a
session with the given information.
Now for the server, based on which information does the server generate
the SAN? We would have to start the server with its own local
configuration, then define the URIs on a specific device that match with
the ones configured on the server. Right?
It's currently the pushalerter which gets
information from the server's database.
How is the mapping from textual MIME types to the binary MIME type
numbers in the SAN handled? This looks like a serious limitation of the
SAN format to me, because what number should be used for experimental
MIME types which haven't been registered?
Isn't 0 the unknown type ? I'll have to check it again.
Regards,
Beat
--
-----------------------------------------------
Beat FORSTER
Dipl. El. Ing. ETH
Dipl. NDS ETHZ in Betriebswissenschaften
Managing Partner
[email protected]
Synthesis AG SyncML Server & Client Solutions
Badenerstrasse 18, CH-8004 Zürich, Switzerland
Tel (direct): +41 44 440 66 02
Fax: +41 44 440 66 04
email: [email protected]
web: http://www.synthesis.ch
-----------------------------------------------
_______________________________________________
os-libsynthesis mailing list
[email protected]
http://lists.synthesis.ch/mailman/listinfo/os-libsynthesis