0

I am very new to Raspberry Pi and I am trying to make small device based on it (Raspberry Pi 3). In order to work properly this device need to be connected to the Internet, for example, over wi-fi.

The problem is that i want user to be able to configure internet connection for this device from his smartphone. What is most suitable way for doing this? I thought Bluetooth is the one of the possible options.

  • How do you plan to connect the smartphone to the RPi before it has a configured connection? – Dmitry Grigoryev Nov 11 '16 at 8:51
  • Unfortunately you are asking the Pi to do something that cannot be done on any other computer. I know of no system where the user does not have to configure their network connections. I am not saying this is impossible, but you are unlikely to find any ready made solution. – Milliways Nov 11 '16 at 8:54
  • Possible duplicate of Switch between AP and client mode – goobering Nov 11 '16 at 9:16
  • @DmitryGrigoryev you may be familiar with some bluetooth devices. Where all you need to do is to connect to them from smartphone and change settings in mobile app created for this device. I know that it is not the best example possible but Apple Watch are connected to iPhone over bluetooth and they have setup procedure. – moonvader Nov 11 '16 at 9:32
1

One way would be to pre-configure the RPi to connect to AP called e.g. AndroidAP with no password (or a known password), then instruct the user to activate such AP on their smartphone. This requires the smartphone to support connection sharing (which most modern devices do) and is not that great security-wise, but it's an option. Here's how to do it.

Bluetooth is also an option: it's possible to make the RPi discoverable and accept pairing requests without a PIN. Here's an example of such setup.

  • The main question for me - should bluetooth variant be working for iOS devices? – moonvader Nov 11 '16 at 9:40
  • Why wouldn't it? I don't own any iOS devices, but I expect those to support popular BT profiles, like terminal or network connection. – Dmitry Grigoryev Nov 11 '16 at 9:42
  • Because I can't find any working solution across many topics in forums where many people ask about connection from iOS device to RPi. For example this raspberrypi.org/forums/viewtopic.php?t=164807 or this raspberrypi.stackexchange.com/questions/38508/… – moonvader Nov 11 '16 at 9:59
  • Uhm, the first link you have provided ends with "Thanks for the help Doglas, its working now". – Dmitry Grigoryev Nov 11 '16 at 10:00
  • It definitely ends with it! But only because topic starter faced problems with connection to iOS device and switched topic to A2DP profile (which is audio profile). – moonvader Nov 11 '16 at 10:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.