In Syncml Representation Protocol 1.1.1, it is possible to use one item for
each database to synchronize in only one alert command.
In this case, how must we send the status for this alert command ?
- One status command for each item of the alert command ?
- Only one status for the whole alert command ?
In the last case, what status code must be sent if one database is found
(200), and another is not found (404) ?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Welcome to another session of Ask Mr. SyncML. (just kidding). Sorry for the delay in responding...I was hoping one of the other guys would answer. :)
Seriously, though, when you run across a question like this, follow Jussi's Principle: Look in the Protocol doc. In this case, section 4.1 talks about the Alert(s), and implies that there should be one Alert per datastore.
However, since it doesn't explicitly say you cannot have multiple datastores per Alert, in theory you could do so. However, I suspect that most implementations would not be able to gracefully handle that situation.
So in the interest of simplicity and interoperability, I would strongly suggest that you have one Alert per datastore.
Cheers,
Peter
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
But Peter, we were waiting for _you_ to answer :-). My other recommendation is to ask protocol questions in the yahoo syncml group, since that has much higher readership..... Pure C Toolkit questions would typically go here, although there is a certain amount of overlap, of course....
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have a few questions about the "alert" command.
In Syncml Representation Protocol 1.1.1, it is possible to use one item for
each database to synchronize in only one alert command.
In this case, how must we send the status for this alert command ?
- One status command for each item of the alert command ?
- Only one status for the whole alert command ?
In the last case, what status code must be sent if one database is found
(200), and another is not found (404) ?
Hi Nicolas,
Welcome to another session of Ask Mr. SyncML. (just kidding). Sorry for the delay in responding...I was hoping one of the other guys would answer. :)
Seriously, though, when you run across a question like this, follow Jussi's Principle: Look in the Protocol doc. In this case, section 4.1 talks about the Alert(s), and implies that there should be one Alert per datastore.
However, since it doesn't explicitly say you cannot have multiple datastores per Alert, in theory you could do so. However, I suspect that most implementations would not be able to gracefully handle that situation.
So in the interest of simplicity and interoperability, I would strongly suggest that you have one Alert per datastore.
Cheers,
Peter
But Peter, we were waiting for _you_ to answer :-). My other recommendation is to ask protocol questions in the yahoo syncml group, since that has much higher readership..... Pure C Toolkit questions would typically go here, although there is a certain amount of overlap, of course....