connect with iphone as wland hotspot

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

cross mob
Anonymous
Not applicable

Hello,

when I try to run a demo on the board, I cannot connect to my wlan hot spot ( iphone).

target : demo.aws_iot.shadow-BCM94343W_AVN download run

Starting WICED v3.4.0-AWS

Platform BCM94343W_AVN initialised

Started ThreadX v5.6

Initialising NetX_Duo v5.7_sp2

Creating Packet pools

WWD SDIO interface initialised

WLAN MAC Address : B0:38:29:3D:3C:3D

WLAN Firmware    : wl0: Nov 25 2015 12:57:14 version 7.45.45.1 (r602358) FWID 01-1920c040

Please wait, connecting to network...

(To return to SSID console screen, hold USER switch for 5 seconds during RESET to clear DCT configuration)

*******************************************************

Config SSID : WICED_AWS

Password    : 12345678

IP Address  : 192.168.0.1

*******************************************************

my config  wifi_config:

#define CONFIG_AP_SSID       "WICED_AWS"

#define CONFIG_AP_CHANNEL    1

#define CONFIG_AP_SECURITY   WICED_SECURITY_WPA2_AES_PSK

#define CONFIG_AP_PASSPHRASE "12345678"

/* This is the soft AP available for normal operation (if used)*/

#define SOFT_AP_SSID         "WICED Device"

#define SOFT_AP_CHANNEL      1

#define SOFT_AP_SECURITY     WICED_SECURITY_WPA2_AES_PSK

#define SOFT_AP_PASSPHRASE   "WICED_PASSPHRASE"

/* This is the default AP the device will connect to (as a client)*/

/* This is the default AP the device will connect to (as a client)*/

#define CLIENT_AP_SSID       "my iPhone"

#define CLIENT_AP_PASSPHRASE "xxxxx"

#define CLIENT_AP_BSS_TYPE   WICED_BSS_TYPE_INFRASTRUCTURE

#define CLIENT_AP_SECURITY   WICED_SECURITY_WPA2_MIXED_PSK

#define CLIENT_AP_CHANNEL    1

#define CLIENT_AP_BAND       WICED_802_11_BAND_2_4GHZ

/* This is the network interface the device will work with */

#define WICED_NETWORK_INTERFACE   WICED_STA_INTERFACE

But when I run a sample  without

     aws_config.c &      aws_common.c

like in target : demo.aws_iot.pub_sub.publisher-BCM94343W_AVN download run

I have access to my hotspot

what i my problem ?

0 Likes
1 Solution
Anonymous
Not applicable

Hello,

I tried to reproduce the same issue and it works fine with me. Please find the details below.

WICED SDK 3.5.2 ( I highly recommend using the lastest version for the SDK)

App- demo.aws_iot.shadow

HW- BCM94343WWCD1 (should work on BCM94343W_AVN)

I tried pairing it with my iPhone using hot spot and build the application.

Here are the screen shot of the same.

111.PNG

  1. After downloading and running the app I connect my system to WICED_AWS softap and browse to the IP address.

  2. Uploaded my certificate and Key. and click on Wi-Fi Setup.
  3. 222.PNG
  4. Selected iPhone as my AP and click Connect.
  5. And it was successfully connected.
  6. I was able to see the connection successful on UART
  7. 333.PNG
  • I would recommend you to try the following:
  • Use the latest SDK.
  • Make sure you Keys and certificated are correct.
  • Make sure your MQTT is working.

I hope this is helpful.

Thanks

RJ

View solution in original post

0 Likes
3 Replies
Anonymous
Not applicable

Hello,

I tried to reproduce the same issue and it works fine with me. Please find the details below.

WICED SDK 3.5.2 ( I highly recommend using the lastest version for the SDK)

App- demo.aws_iot.shadow

HW- BCM94343WWCD1 (should work on BCM94343W_AVN)

I tried pairing it with my iPhone using hot spot and build the application.

Here are the screen shot of the same.

111.PNG

  1. After downloading and running the app I connect my system to WICED_AWS softap and browse to the IP address.

  2. Uploaded my certificate and Key. and click on Wi-Fi Setup.
  3. 222.PNG
  4. Selected iPhone as my AP and click Connect.
  5. And it was successfully connected.
  6. I was able to see the connection successful on UART
  7. 333.PNG
  • I would recommend you to try the following:
  • Use the latest SDK.
  • Make sure you Keys and certificated are correct.
  • Make sure your MQTT is working.

I hope this is helpful.

Thanks

RJ

0 Likes
Anonymous
Not applicable

thx, yes, i works with  sdk 3.5.2

0 Likes
Anonymous
Not applicable

salesforce.asg.demo@accenture.com

I am trying to make it work with v3.4.0-AWS and BCM4343W_AVN too. I will keep you updated.