2

I just bought a cheap WiFi camera called SriCam SP009 (just to test it). To set it up you have to install an app on your phone. In this app you enter the WiFi password and an ID number for the camera. Then automatically the camera connects to your WiFi. My question is: How is this possible?

What I do know:

  1. I did a packet capture and there are UDP packets from the app to Chinese IP addresses.
  2. It did not work on my openWRT router. But it does work on a standard tp-link
  3. I can’t see it setting up any wlan of it’s one. Like for example the chromecast.
CharlieRB
  • 23,021
  • 6
  • 60
  • 107

2 Answers2

1

I figured it out :) It's using something called "smart connection" by mediatek. You can find a tutorial for it here https://docs.labs.mediatek.com/resource/mt7687-mt7697/en/tutorials/digital-clock-part-2

1

I would like to point out this method. Here, the SSID and passphrasse are encoded into the length of UDP packets send by the phone to the access point.

http://www.espressif.com/sites/default/files/30b-esp-touch_user_guide_en_v1.1_20160412_0.pdf

It is implemented and called ESP-TOUCH in the esp8266 WiFi microcontroller.