Mais conteúdo relacionado
Semelhante a Beaming Data to Devices with NFC (20)
Beaming Data to Devices with NFC
- 3. Jimmy B.
Copyright © 2012CommonsWare, LLC
- 5. NFC: Good for Spies
● Near Field Communication
● Configuration-Free
– No pairing for a connection
● Short Distance
– Only a few centimeters
– Less chance of interception by nefarious no-
good-niks
Copyright © 2012CommonsWare, LLC
- 7. NFC: Dead ASCII Drop
● NFC Tag
– Rewriteable or WORM
– “Hidden in plain sight” (e.g., behind poster)
– Source writes information to tag
– Agent reads information from tag, cleans up
● Delete data
● Remove tag
● Destroy building
Copyright © 2012CommonsWare, LLC
- 8. NFC: Tag Limits
● Limited Capacity
– 1KB on down
– Compression, encryption will tend to offset one
another
● Public
– Could be found, read, confiscated
Copyright © 2012CommonsWare, LLC
- 9. Beam: Up Close... And Personal!
● Android Beam
– NFC P2P
– Put devices back to back
– One sends, other receives
● Benefits
– Devices in hand at all times
– Capacity
Copyright © 2012CommonsWare, LLC
- 10. AAR: Ahoy, Matey!
● Android Application Record
– Identifies an app that should be able to consume
this Beam
– If nothing seems capable of handling the Beam,
Android will use AAR record to launch Play Store
– Issue: MI6 apps not usually on Play Store
Copyright © 2012CommonsWare, LLC
- 11. Beam: Performance Anxiety
● NFC Transfer Rate Limited
– Theoretically 424 kbps
– In practice, not that fast
● Net: Still Not Good for Large Transfers
– Capacity gated by time to transfer
Copyright © 2012CommonsWare, LLC
- 12. Uri Beaming: Size Matters
● Automatic Bluetooth Bootstrapping
– NFC to pair devices automatically
– Transfer files, designated by Uri values, to the
other device
● Benefits
– Higher transfer rate
– Longer range
Copyright © 2012CommonsWare, LLC
- 13. Uri Beaming: A Quantum of Issues
● Android 4.1+
● OS Receives the File
– Not your code
– No control over where gets written
● Greater Interception Risk
– Extended range is blessing and curse
– Encrypt the data if needed
Copyright © 2012CommonsWare, LLC
- 14. Beam: Push Uris Are Not Enough
● May Wish to “Roll Your Own”
– Use NFC to bootstrap communications handled
over other networks with other protocols
● Possibilities
– Bluetooth
– Internet
– WiFi Direct
Copyright © 2012CommonsWare, LLC
- 15. Speaker Contact
Information
Sample
SlideShare App
Copyright © 2012CommonsWare, LLC