How does my camera automatically connect to the WiFi?
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:
- I did a packet capture and there are UDP packets from the app to Chinese IP addresses.
- It did not work on my openWRT router. But it does work on a standard tp-link
- I can’t see it setting up any wlan of it’s one. Like for example the chromecast.
networking wireless-networking router openwrt iot
|
show 1 more comment
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:
- I did a packet capture and there are UDP packets from the app to Chinese IP addresses.
- It did not work on my openWRT router. But it does work on a standard tp-link
- I can’t see it setting up any wlan of it’s one. Like for example the chromecast.
networking wireless-networking router openwrt iot
2
A simple implementation would be 1- get wlan credentials from the user via app(already done) 2- connect to the camera's preconfigured ad-hoc network 3- set up the camera 4- reset.
– Mustafa Aktaş
Feb 10 '17 at 11:38
So you think the phone connects to the adhoc network? I did not think android could do that. And that should not be stopped by me having a openWRT router.
– user1930848
Feb 10 '17 at 11:48
1
For android, AOSP doesn't support ad-hoc but OEMs and modified distros like CM do. I don't know if iOS does. Also same method can be used via wi-fi direct.
– Mustafa Aktaş
Feb 10 '17 at 11:56
Does it happen to have bluetooth?
– Blaine
Feb 10 '17 at 15:00
It could be using wifi direct. A lot of wifi speaker use this for their setup process.
– Patrick R.
Feb 10 '17 at 17:23
|
show 1 more comment
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:
- I did a packet capture and there are UDP packets from the app to Chinese IP addresses.
- It did not work on my openWRT router. But it does work on a standard tp-link
- I can’t see it setting up any wlan of it’s one. Like for example the chromecast.
networking wireless-networking router openwrt iot
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:
- I did a packet capture and there are UDP packets from the app to Chinese IP addresses.
- It did not work on my openWRT router. But it does work on a standard tp-link
- I can’t see it setting up any wlan of it’s one. Like for example the chromecast.
networking wireless-networking router openwrt iot
networking wireless-networking router openwrt iot
edited Feb 10 '17 at 12:36
CharlieRB
20.5k44490
20.5k44490
asked Feb 10 '17 at 8:24
user1930848user1930848
213
213
2
A simple implementation would be 1- get wlan credentials from the user via app(already done) 2- connect to the camera's preconfigured ad-hoc network 3- set up the camera 4- reset.
– Mustafa Aktaş
Feb 10 '17 at 11:38
So you think the phone connects to the adhoc network? I did not think android could do that. And that should not be stopped by me having a openWRT router.
– user1930848
Feb 10 '17 at 11:48
1
For android, AOSP doesn't support ad-hoc but OEMs and modified distros like CM do. I don't know if iOS does. Also same method can be used via wi-fi direct.
– Mustafa Aktaş
Feb 10 '17 at 11:56
Does it happen to have bluetooth?
– Blaine
Feb 10 '17 at 15:00
It could be using wifi direct. A lot of wifi speaker use this for their setup process.
– Patrick R.
Feb 10 '17 at 17:23
|
show 1 more comment
2
A simple implementation would be 1- get wlan credentials from the user via app(already done) 2- connect to the camera's preconfigured ad-hoc network 3- set up the camera 4- reset.
– Mustafa Aktaş
Feb 10 '17 at 11:38
So you think the phone connects to the adhoc network? I did not think android could do that. And that should not be stopped by me having a openWRT router.
– user1930848
Feb 10 '17 at 11:48
1
For android, AOSP doesn't support ad-hoc but OEMs and modified distros like CM do. I don't know if iOS does. Also same method can be used via wi-fi direct.
– Mustafa Aktaş
Feb 10 '17 at 11:56
Does it happen to have bluetooth?
– Blaine
Feb 10 '17 at 15:00
It could be using wifi direct. A lot of wifi speaker use this for their setup process.
– Patrick R.
Feb 10 '17 at 17:23
2
2
A simple implementation would be 1- get wlan credentials from the user via app(already done) 2- connect to the camera's preconfigured ad-hoc network 3- set up the camera 4- reset.
– Mustafa Aktaş
Feb 10 '17 at 11:38
A simple implementation would be 1- get wlan credentials from the user via app(already done) 2- connect to the camera's preconfigured ad-hoc network 3- set up the camera 4- reset.
– Mustafa Aktaş
Feb 10 '17 at 11:38
So you think the phone connects to the adhoc network? I did not think android could do that. And that should not be stopped by me having a openWRT router.
– user1930848
Feb 10 '17 at 11:48
So you think the phone connects to the adhoc network? I did not think android could do that. And that should not be stopped by me having a openWRT router.
– user1930848
Feb 10 '17 at 11:48
1
1
For android, AOSP doesn't support ad-hoc but OEMs and modified distros like CM do. I don't know if iOS does. Also same method can be used via wi-fi direct.
– Mustafa Aktaş
Feb 10 '17 at 11:56
For android, AOSP doesn't support ad-hoc but OEMs and modified distros like CM do. I don't know if iOS does. Also same method can be used via wi-fi direct.
– Mustafa Aktaş
Feb 10 '17 at 11:56
Does it happen to have bluetooth?
– Blaine
Feb 10 '17 at 15:00
Does it happen to have bluetooth?
– Blaine
Feb 10 '17 at 15:00
It could be using wifi direct. A lot of wifi speaker use this for their setup process.
– Patrick R.
Feb 10 '17 at 17:23
It could be using wifi direct. A lot of wifi speaker use this for their setup process.
– Patrick R.
Feb 10 '17 at 17:23
|
show 1 more comment
2 Answers
2
active
oldest
votes
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
add a comment |
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.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1177360%2fhow-does-my-camera-automatically-connect-to-the-wifi%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
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
add a comment |
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
add a comment |
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
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
answered Feb 12 '17 at 20:39
user1930848user1930848
213
213
add a comment |
add a comment |
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.
add a comment |
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.
add a comment |
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.
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.
answered Oct 27 '17 at 21:24
WallfacerWallfacer
112
112
add a comment |
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1177360%2fhow-does-my-camera-automatically-connect-to-the-wifi%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
2
A simple implementation would be 1- get wlan credentials from the user via app(already done) 2- connect to the camera's preconfigured ad-hoc network 3- set up the camera 4- reset.
– Mustafa Aktaş
Feb 10 '17 at 11:38
So you think the phone connects to the adhoc network? I did not think android could do that. And that should not be stopped by me having a openWRT router.
– user1930848
Feb 10 '17 at 11:48
1
For android, AOSP doesn't support ad-hoc but OEMs and modified distros like CM do. I don't know if iOS does. Also same method can be used via wi-fi direct.
– Mustafa Aktaş
Feb 10 '17 at 11:56
Does it happen to have bluetooth?
– Blaine
Feb 10 '17 at 15:00
It could be using wifi direct. A lot of wifi speaker use this for their setup process.
– Patrick R.
Feb 10 '17 at 17:23