Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
mvpablo
Level 2
Level 2
10 sign-ins 5 replies posted 5 questions asked

Hi.

I'm trying to create a VERY SIMPLE app, where a user executes the following steps:

  1. From mobile or pc the user search for the board AP, finds the WICED and connects to it
  2. Open a browser types 192.168.0.1 and the browsers displays the wifi config page
  3. chooses a network, types credentials, submit
  4. the board connects to the network and saves the wifi profile.

So I tried to find documentation on how this whole Web Server, Wifi onboarding process work in WICED Studio WiFi and I couldn't find any detailed document with the explanation other than go to the examples.

I took the example snip/config_mode. ran it several times and all I get is this:

  1. The snip builds into the board
  2. from my laptop, I connect to the AP "WICED Config"
  3. Go to a browser and configure access to a wifi network.
  4. I get the IP (192.168.0.19) in the UART, that I double check it is also the one assigned by the wifi router
  5. I switch to the IP provided.
  6. web page doesn't load, stays forever and I don't get any feedback in the UART.

Questions: 

Is there anything that I'm missing here?

Is there any DETAILED documentation on how the wifi onboarding works?:  Something that tells me how to capture errors if I type the wrong credentials, manage different network profiles, stored them,  Where are the files to configure the web server, html files (I know they are in resouces/../...). I need guidance on how all those things are wired together.

Starting WICED Wiced_006.004.000.0061

Platform CYW943907AEVAL1F initialised

Started ThreadX v5.8

WICED_core Initialized

Initialising NetX_Duo v5.10_sp3

Creating Packet pools

WLAN MAC Address : C4:AC:59:98:AE:36

WLAN Firmware    : wl0: May  2 2019 02:34:15 version 7.15.168.130 (r714231) FWID 01-7fc7cd46

WLAN CLM         : API: 12.2 Data: 9.10.74 Compiler: 1.31.3 ClmImport: 1.36.3 Creation: 2019-05-02 02:29:29

IPv4 network ready IP: 192.168.0.1

Setting IPv6 link-local address

IPv6 network ready IP: FE80:0000:0000:0000:C4AC:59FF:FE98:AE36

Joining : intheairhome

Successfully joined : intheairhome

Obtaining IPv4 address via DHCP

L1420 : dhcp_client_init() : DHCP CLIENT hostname = [WICED IP]

IPv4 network ready IP: 192.168.0.19

Setting IPv6 link-local address

IPv6 network ready IP: FE80:0000:0000:0000:C6AC:59FF:FE98:AE36

Application DCT Configuration:

First Name = John

Last Name  = Citizen

Address 1  = Level 15

Address 2  = 24 Campbell St

Suburb     = Sydney

Country    = Australia

Zipcode    = 2000

Phone      = +612 5555 5555

thanks

0 Likes
1 Reply