Re: Is it possible to transfer data by using light

2015-09-21 Thread Jens Alfke
> On Sep 21, 2015, at 8:54 AM, Sixten Otto wrote: > > Especially given that recent versions of iOS can detect and decode QR codes > automatically, much like face detection. And Mac OS, too. I just looked up some code I wrote a few months ago to do QR-code scanning. Here’s the guts of it:

Re: Is it possible to transfer data by using light

2015-09-21 Thread Alex Zavatone
On Sep 21, 2015, at 11:54 AM, Sixten Otto wrote: > On Sun, Sep 20, 2015 at 9:55 PM, Jens Alfke wrote: > >> But honestly, if you're going this route, it will be much faster to >> transmit QR codes, since each code contains thousands of bits. >> > > Especially given that recent versions of iOS

Re: Is it possible to transfer data by using light

2015-09-21 Thread Sixten Otto
On Sun, Sep 20, 2015 at 9:55 PM, Jens Alfke wrote: > But honestly, if you're going this route, it will be much faster to > transmit QR codes, since each code contains thousands of bits. > Especially given that recent versions of iOS can detect and decode QR codes automatically, much like face de

Re: Is it possible to transfer data by using light

2015-09-20 Thread Jens Alfke
I don't think the ambient light sensor would be sensitive enough for this anyway, so the camera is the right thing to use. Look into the AVFoundation framework; it has some classes for setting up a video feed from the camera and receiving frames. I believe there's sample code. But honestly, if

Re: Is it possible to transfer data by using light

2015-09-20 Thread ico
After reading all of the replies, no one mentioned how to use iPhone to detect the light changes (bright and dark) in codes, I just have no clue how to make it works as long as I remember developers have no right to access the light sensor, so I guess we have to use camera to achieve this, but I ju

Re: Is it possible to transfer data by using light

2015-09-18 Thread Michael David Crawford
Do iOS devices support Trusted Computing in hardware? If so is it accessible to userspace apps? If so, you could store your phones secret in a write-only register. For the profoundly paranoid, even the duplication of your storage would not yield your phone's secret, The Bad Guy would need your pe

Re: Is it possible to transfer data by using light

2015-09-18 Thread Maxthon Chan
The "over-the-shoulder" issue can be avoided using what is effectively a Diffie-Hellman on top of QR codes. This can be done using front-facing cameras on two devices placed face-to-face. Sent from my iPhone > On Sep 18, 2015, at 00:46, Pascal J. Bourguignon > wrote: > > > >> On 17/09/15 1

Re: Is it possible to transfer data by using light

2015-09-18 Thread Maxthon Chan
I used to have a multi-factor authenticating door lock using this QR code mechanism. The lock is powered by Raspberry Pi, and have a 128px by 64px monochromatic screen, a camera and an RFID reader attached on it. Procedure to unlock the door: 1. You swipe a RFID card across the lock. A QR code

Re: Is it possible to transfer data by using light

2015-09-17 Thread Michael David Crawford
Flashing the entire screen as I describe should not be done in product (App Store) code, rather one might use it as a very, very rough prototype. I expect production-quality software could modulate the screen is far-more subtle ways that both would transmit data far faster as well as avoid stimula

Re: Is it possible to transfer data by using light

2015-09-17 Thread Pascal J. Bourguignon
On 17/09/15 17:32, Michael David Crawford wrote: And what the man said: I myself experience seizures in which I lose consciousness for as long as three weeks. Before they were diagnosed I would experience seizures while driving my car then suddenly find myself in unfamiliar places without any

Re: Is it possible to transfer data by using light

2015-09-17 Thread Michael David Crawford
Strictly speaking, light is the most common way that data is transferred, in that the forces between electrically charged particles are moderated by virtual photons. Other than light we have the gravitational, strong nuclear and weak nuclear forces however it is impractical to transmit much data b

Re: Is it possible to transfer data by using light

2015-09-17 Thread Alex Zavatone
Yes. How do you think TV remotes work? They use IR transmitters/receivers. They are, however, PAINFULLY SLOW. When we were making FiOS TV, we had to create an app called FiOS Mobile Remote for the iPhone that would control your FiOS set top box. EVEN THOUGH the iPhone had to pipe its commands

Re: Is it possible to transfer data by using light

2015-09-17 Thread Greg Weston
> This toy can connect to the iphone's network by detecting the blinking > screen of an iPhone. I wonder if it is possible that using this technique > to transfer data. Absolutely. Such techniques have been used for 150 years, using lamps or reflected sunlight to send Morse-like codes to human o

Re: Is it possible to transfer data by using light

2015-09-17 Thread Pascal J. Bourguignon
On 17/09/15 07:06, Jens Alfke wrote: On Sep 16, 2015, at 9:06 PM, Jonathan Hull wrote: The big question would be why you want to do it. It is most likely easier to transfer via wifi (also traveling at the speed of light, and optimized for data transfer) or bluetooth. Secure pairing, as yo

Re: Is it possible to transfer data by using light

2015-09-16 Thread Jens Alfke
> On Sep 16, 2015, at 9:06 PM, Jonathan Hull wrote: > > The big question would be why you want to do it. It is most likely easier to > transfer via wifi (also traveling at the speed of light, and optimized for > data transfer) or bluetooth. Secure pairing, as you said, is one use. You need t

Re: Is it possible to transfer data by using light

2015-09-16 Thread Jonathan Hull
This is how fibre optics work, so it is possible. In this case, you have to be careful not to give people seizures by blinking at the wrong frequency. The big question would be why you want to do it. It is most likely easier to transfer via wifi (also traveling at the speed of light, and optim

Is it possible to transfer data by using light

2015-09-16 Thread ico
First of all, please take a look at this video: https://www.youtube.com/watch?v=LPyLHhiGTHM This toy can connect to the iphone's network by detecting the blinking screen of an iPhone. I wonder if it is possible that using this technique to transfer data. For instance, 1. you have some data, and tr