Skip to content

Instantly share code, notes, and snippets.

@trungtran
Created July 9, 2014 19:34
Show Gist options
  • Save trungtran/c347fc34488364c1694a to your computer and use it in GitHub Desktop.
Save trungtran/c347fc34488364c1694a to your computer and use it in GitHub Desktop.
iPad Default State
1. Broadcast iBeacon
a. advertisementData: name (e.g. "A", "B")
b. major: version number
c. minor: -
iPad A: Peer-to-Peer Update
1. iPad A has PDFs version number 2.0.0
2. iPad B has PDFs version number 1.0.0
3. iPad sees iPad B's version number is less than A's
4. iPad A starts multipeer and looks for "B" peer
a. If "B" does not exist -> Fail
6. iPad A sends updated parts to B
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment