0

AJ_WSL_DriverStart is unable to start the driver

asked 2015-04-05 23:19:14 -0700

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

Background: I have configured all the devices mentioned on the page https://allseenalliance.org/developers/develop/tutorial/arduino-and-gt202 to setup Thin app on arduino due. I am running ubuntu 14.04 and have done all the steps mentioned on the above mentioned page. I have flashed sessionslite.elf on to the arduino duo for the .elf file mentioned in the page and am able to set breakpoints and observe the function call chain.

Problem On debugging using eclipse I realized that code is unable to start the AJ_WSL_Driver and it got stuck finally during in the poling shown below.

uint8_t AJ_WSL_IsDriverStarted()
{
     return AJ_WSL_HTC_Global.started;
}

which is called from

   status = AJ_WSL_DriverStart();

in aj_wifi_ctrl.c.

Please suggest any solution for this. What am i missing here? Do I need to configure some wifi settings.

Also this being a thin core, it needs to connect to an alljoyn router. I plan on starting an alljoyn router on a computer in the lab, but how do I ensure that ajctl connects to it. Do I also need to connect the GT202 kit explicitly to the system via the port on the GT202 kit

Thanks in advance.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-04-06 10:22:16 -0700

jprestwo gravatar image

updated 2015-04-06 10:24:09 -0700

It looks like you have done everything correct. Unfortunately at the moment the commercially available GT-202 chips will not work with the WSL driver. We are working to get this resolved ASAP. The issue here is that the firmware on the GT-202 chips is different that what was used to write/test the WSL driver. Something changed in the FW between what we used to write it and what is sold online. Again, sorry for the inconvenience, we will provide an update when the issue has been resolved.

Regarding the AllJoyn router; when your device connects to the WiFi network (that the router is on) it will begin sending out multicast packets to discover the router. You do not need to do anything, all discovery is handed for you, assuming your using some test/sample in the Thin Core SDK.

edit flag offensive delete publish link more

Comments

Thanks for your answer , But one more question : what if the wifi is password protected then how will it connect . I mean how will we configure the device for password.

DevanshDalal ( 2015-04-07 02:30:08 -0700 )edit

There are several pre-processor defines that allow you to compile your SSID/Passphrase in. Set WIFI_SSID to your SSID and WIFI_PASSPHRASE to your passphrase. If your access point is open do not set WIFI_PASSPHRASE to anything.

jprestwo ( 2015-04-07 08:58:21 -0700 )edit
Login/Signup to Answer

Question Tools

Follow
2 followers

Stats

Asked: 2015-04-05 23:19:14 -0700

Seen: 264 times

Last updated: Apr 06 '15