×
Namespaces

Variants
Actions
(Difference between revisions)

WISE Syncronization Logic

From Nokia Developer Wiki
Jump to: navigation, search
ebra (Talk | contribs)
(Example)
hamishwillee (Talk | contribs)
m (Hamishwillee - Bot update - Add ArticleMetaData)
 
(10 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 +
{{ArticleMetaData <!-- v1.2 -->
 +
|sourcecode= <!-- Link to example source code e.g. [[Media:The Code Example ZIP.zip]] -->
 +
|installfile= <!-- Link to installation file (e.g. [[Media:The Installation File.sis]]) -->
 +
|devices= <!-- Devices tested against - e.g. ''devices=Nokia 6131 NFC, Nokia C7-00'') -->
 +
|sdk= <!-- SDK(s) built and tested against (e.g. [http://linktosdkdownload/ Qt SDK 1.1.4]) -->
 +
|platform= <!-- Compatible platforms - e.g. Symbian^1 and later, Qt 4.6 and later -->
 +
|devicecompatability= <!-- Compatible devices e.g.: All* (must have internal GPS) -->
 +
|dependencies= <!-- Any other/external dependencies e.g.: Google Maps Api v1.0 -->
 +
|signing= <!-- Signing requirements - empty or one of: Self-Signed, DevCert, Manufacturer -->
 +
|capabilities= <!-- Capabilities required by the article/code example (e.g. Location, NetworkServices. -->
 +
|keywords= <!-- APIs, classes and methods (e.g. QSystemScreenSaver, QList, CBase -->
 +
|language= <!-- Language category code for non-English topics - e.g. Lang-Chinese -->
 +
|translated-by= <!-- [[User:XXXX]] -->
 +
|translated-from-title= <!-- Title only -->
 +
|translated-from-id= <!-- Id of translated revision -->
 +
|review-by= <!-- After re-review: [[User:username]] -->
 +
|review-timestamp= <!-- After re-review: YYYYMMDD -->
 +
|update-by= <!-- After significant update: [[User:username]]-->
 +
|update-timestamp= <!-- After significant update: YYYYMMDD -->
 +
|creationdate= 20080410
 +
|author= [[User:Ebra]]
 +
}}
 +
[[Category:Maemo]][[Category:Bluetooth]][[Category:Symbian]][[Category:Porting]]
 
== Timing ==
 
== Timing ==
[[Image:WISE_18.png]]
+
* Every device sets the time frame when it is available for synchronization by setting the start time and duration.
 +
[[File:WISE 18.png]]
  
 
== Example ==
 
== Example ==
* In this example every device has the same starting time for syncronization. Each device starts the process by running as a client and searching for available servers.  
+
* In this example every device has the same starting time for synchronization. Each device starts the process by running as a client and searching for available servers.  
* None of them finds an available server and sleeps for a while (random time between MIN time and MAX time)
+
* None of them finds an available server and sleeps for a while (random time between MIN time and MAX time).
 +
* Next the devices start a server service and wait for clients. If no client tries to connect within a wait time the device sleeps again and tries to find a server again. The server's wait time varies randomly between MIN time and MAX time.
 +
* The random times should cause the devices to be in a condition where one device is running as a server and another is running as a client.
 +
* A [[WISE Protocol|synchronization]] is then run between the devices
 +
[[File:WISE 17.png]]
  
 
+
== Links ==
[[Image:WISE_17.png]]
+
* [[Archived:Wireless Information Sharing Engine]]
 +
* [[WISE Protocol]]

Latest revision as of 08:07, 26 July 2012

Article Metadata
Compatibility
Platform(s):
Symbian
Article
Created: ebra (10 Apr 2008)
Last edited: hamishwillee (26 Jul 2012)

[edit] Timing

  • Every device sets the time frame when it is available for synchronization by setting the start time and duration.

WISE 18.png

[edit] Example

  • In this example every device has the same starting time for synchronization. Each device starts the process by running as a client and searching for available servers.
  • None of them finds an available server and sleeps for a while (random time between MIN time and MAX time).
  • Next the devices start a server service and wait for clients. If no client tries to connect within a wait time the device sleeps again and tries to find a server again. The server's wait time varies randomly between MIN time and MAX time.
  • The random times should cause the devices to be in a condition where one device is running as a server and another is running as a client.
  • A synchronization is then run between the devices

WISE 17.png

[edit] Links

This page was last modified on 26 July 2012, at 08:07.
102 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×