1

Android to communicate with Edison over bluetooth and configure WIFI on edison

asked 2015-12-23 06:58:40 -0700

Ash91 gravatar image

updated 2015-12-23 07:09:36 -0700

Hello everyone,

I'm trying to let my android control intel edison remotely over Bluetooth to configure wifi network of edison. And I came acroos the Onboarding service. I read about the service but I'm not clear yet whether I can use this service for my application. My motive is to use android app as the onboarder which will configure the wifi network of my edison (Onboardee) over BLUETOOTH (not through WIFI). Is this possible, if it is how can I? Because they have mentioned in the initial stage the Onboardee has to send its SSID over WIFI to the Onboarder device. I’m not clear at all. Any help would be much appreciated.

Thanks

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
1

answered 2015-12-23 11:00:34 -0700

praveenb gravatar image

updated 2015-12-23 19:15:05 -0700

Unfortunately, there is no support in the code yet for the task you are attempting.

Onboarding Service only supports WiFi as of now. The goal of onboarding is to make it easier to configure headless devices (cumbersome to set wireless credentials of your home access point on devices without a screen / keypad).

The Onboarder (Android device in your case) and the Onboardee (edison board) should both support WiFi. More specifically, Onboardee should support both 802.11 Station Mode and 802.11 AP mode. In such a scenario, the steps are as follows:

  • Onboardee starts in 802.11 AP mode (setting up a temporary / soft AP).
  • Onboarder associates with the Onboardee and sends wireless credentials (viz. SSID / Passphrase) of Home access point
  • Onboardee receives the credentials, switches to 802.11 Station mode, and associates with Home access points (using the received credentials)

The current Onboarding service doesn't have support to use Bluetooth as the medium over which wireless credentials of home access point can be sent across. For additional information please see:

Update

The environment would have a primary wireless router (referred to as M), to which other devices (viz. Laptops / Smartphones) have already associated. The goal is to get the headless device to also associate with M, so that other devices can interact with it. But given the headless nature of this device, wireless configuration is cumbersome. To make the wireless configuration easier, the following takes place:

  1. Headless device (Onboardee) starts its 802.11 radio in AP mode. The headless device, in essence, becomes an access point (referred to as T).
  2. The smartphone (Onboarder) connects to T, transfers wireless credentials of M to the headless device.
  3. The headless device switches 802.11 radio from AP mode to Station mode and associates with M using the received credentials.

In the above, T is temporary access point and it is setup for the purpose of receiving credentials and is taken down after that. T, setup by the Onboardee is thus a temporary access point, referred to as a Soft AP for the lack of a better word.

edit flag offensive delete publish link more

Comments

I don't understand the role of Soft AP here, What does soft AP do? I did some searching on google but still not clear about "Soft AP". And for my application Edison has the capability of AP mode but not sure about Soft AP. If you can elaborate that it would be great.

Ash91 ( 2015-12-23 12:01:14 -0700 )edit
Login/Signup to Answer

Question Tools

Follow
1 follower

Stats

Asked: 2015-12-23 06:58:40 -0700

Seen: 460 times

Last updated: Dec 25 '15