0

Can onboarding sample be executed as Onboardee on ubuntu PC ?

asked 2015-03-06 00:18:09 -0700

franklin gravatar image

I want to try Onboardee on ubuntu PC to get the target Wi-Fi information and reconnect to the target Wifi AP. I try to run onboarding sample as Onboardee on ubuntu PC

ubuntu PC - wifi dongle ---------------- mobile phone (OnboardingSampleClient.apk) Onboardee Onboarder soft ap: AP1

I try to run the onboarding sample of alljoyn14.06 ( Onboardee) on ubuntu PC.

$AJ_ROOT/core/alljoyn/build/linux/x86_64/debug/dist/onboarding/bin/onboarding-daemon --config-file=$AJ_ROOT/core/alljoyn/build/linux/x86_64/debug/dist/onboarding/bin/OnboardingService.conf

Step 1. Enalbe soft AP on ubuntu PC.

Step 2.

$AJ_ROOT/core/alljoyn/build/linux/x86_64/debug/dist/onboarding/bin/onboarding-daemon --config-file=$AJ_ROOT/core/alljoyn/build/linux/x86_64/debug/dist/onboarding/bin/OnboardingService.conf

Step 3. mobile phone : wifi connect to AP1(Onboardee) Run OnboardingSampleClient.apk. "Connect to Alljoyn" And run the onboarding setting.

The result: Ubuntu PC(Onboardee) does not reconnet to the target Wi-Fi AP.

Are the steps of the flow correct ? Can I run the onboarding service as onboardee on ubuntu PC ?

Do you have any suggestion?

Thank you very much.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2015-03-06 15:01:12 -0700

jprestwo gravatar image

updated 2015-03-06 15:02:10 -0700

Unfortunately it is not possible (at the moment) to have an Ubuntu PC (or Windows/OSX) as the Onboardee (the device that gets onboarded). The code for the Onboardee is only for the Thin Client (base_tcl repository/SDK). Onboarding is meant for "headless" devices, e.g. Arduino or other embedded devices, that have WiFi capabilities. The role of the Ubuntu PC/ Mobile phone is to join the embedded devices soft AP, run the Onboarding service, and configure it to connect to a different access point.

That's not to say it is not possible to have Ubuntu running the Thin Client as the onboardee, like you describe. Someone would just have to write the shim between AllJoyn and the Linux network stack. Others have asked and desired this functionality but truthfully it is not very useful (apart from testing) because a Linux PC will almost always have a GUI or at least a CLI to allow you to configure these settings.

edit flag offensive delete publish link more
0

answered 2015-03-10 01:37:40 -0700

franklin gravatar image

To jprestwo(James), Thanks for your reply.

edit flag offensive delete publish link more
Login/Signup to Answer

Question Tools

Follow
1 follower

Stats

Asked: 2015-03-06 00:18:09 -0700

Seen: 323 times

Last updated: Mar 10 '15