since SDK 3.0.1 there is no USI BM-09 platform

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

cross mob
kich_2154156
Level 1
Level 1
5 replies posted Welcome! First question asked

Dear.
We are using WICED SDK 2.4.1 with USI BM-09 module but there are a lot of problem with P2P function as explained above(no disconnet event).

We heard that WICED SDK 3.1.1 will fix this issue and have more enhancements for WiFi direct function.

But since SDK 3.0.1 there is no USI BM-09 platform. So here is our question.

1. Does WICED SDK 3.1.1 support USI BM-09 platform?

2. If not support, can we extract P2P code from SDK 3.1.1 and merge into SDK 2.4.1? If we can, would you please explain how?

Please let me konw if you have any question on this.

Appreciate your support.

0 Likes
11 Replies
lock attach
Attachments are accessible only for community members.
SeyhanA_31
Employee
Employee
250 replies posted 100 replies posted 50 replies posted

Hi,

Some of the older modules/evaluation boards platform files are not ported to new SDK, but it does not mean they are not compatible with the new SDK. One could port their platform files to new SDK and start using the new SDK and it's added capabilities.

Attached the USI BM-09 platform files for SDK-3.1.x. Please try and let me know how it works for you.

Thanks,

Seyhan

0 Likes

We have applied the patch file (WICED 3.1.0 and WICED 3.0.1)
and make snip.scan-BCM9WCDUSI09 download run

The following does not seem scanresult

WICED_3.1.0 result :
Starting WICED v3.1.0
Platform BCM9WCDUSI09 initialised
Started ThreadX v5.6
Initialising NetX v5.7_sp1
Creating Packet pools
Waiting for scan results...
  # Type  BSSID             RSSI  Rate Chan  Security    SSID
----------------------------------------------------------------------------------------------


WICED_3.0.1 result :
Starting WICED v3.0.1
Platform BCM9WCDUSI09 initialised
Started ThreadX v5.6
Initialising NetX v5.7_sp1
Creating Packet pools
Waiting for scan results...
  # Type  BSSID             RSSI  Rate Chan  Security    SSID
----------------------------------------------------------------------------------------------

Tell us if there's a patch to more than

thank you.

0 Likes
lock attach
Attachments are accessible only for community members.
Anonymous
Not applicable

In the platform.c file provided in the patch there is a error in the definition of wifi_control_pins.

Replace the entries for WWD_PIN_POWER and WWD_PIN_RESET with:

[WWD_PIN_POWER      ] = { GPIOC,  7 },

[WWD_PIN_RESET      ] = { GPIOC,  1 },

If you don't want to make the changes manually I've attached a 7zip of the platform directory (not a patch) that can be put into any existing 3.x SDK.

0 Likes

We Replace the entries for WWD_PIN_POWER and WWD_PIN_RESET


scan is working
P2p is not working

I seem to vary depending on the firmware version

WICED 3.0.1 - firmware version 5.90.230.3
WICED 3.1.0 - firmware version 5.90.195
WICED 3.1.1 - firmware version 5.90.230.10

Is p2p disconnect event on WICED 3.1.1 ?
we extract P2P code from SDK 3.1.1 and merge into SDK 3.0.1? If we can, would you please explain how?

thank you.

------------------------------------------------------------
make test.console-BCM9WCDUSI09 download run


p2p is working in WICED 3.0.1


Starting WICED v3.0.1
Platform BCM9WCDUSI09 initialised
Started ThreadX v5.6
Initialising NetX v5.7_sp1
Creating Packet pools
WWD SDIO interface initialised
WLAN MAC Address : 40:2C:F4:E8:C1:B8
WLAN Firmware    : wl0: Sep 18 2013 10:12:55 version 5.90.230.3 FWID 01-2046ff2b
Console app
> start_p2p
Group Owner intent 1
> Found P2P device: SHV-E210S

> p2p_invite SHV-E210S
> Starting WPS Enrollee
Joining 'DIRECT-lF-SHV-E210S'
Sending EAPOL start
Sending Identity
Sending Identity
Sending nonce
Sending hashes
Storing credentials for DIRECT-lF-SHV-E210S
Sending WSC Done
WPS completed successfully
Obtaining IPv4 address via DHCP
Setting IPv6 link-local address
IPv4 network ready IP: 192.168.49.111
------------------------------------------------------------

------------------------------------------------------------
make test.console-BCM9WCDUSI09 download run

P2p is not working in WICED v3.1.0


Starting WICED v3.1.0
Platform BCM9WCDUSI09 initialised
Started ThreadX v5.6
Initialising NetX v5.7_sp1
Creating Packet pools
WWD SDIO interface initialised
WLAN MAC Address : 40:2C:F4:E8:C1:B8
WLAN Firmware    : wl0: Aug 11 2014 17:20:49 version 5.90.195 (TOB) FWID 01-19ed1f8
Console app
> scan
Waiting for scan results...
  # Type  BSSID             RSSI  Rate Chan Security    SSID
-----------------------------------------------------------------------
  0 Infra 64:E5:99:23:6D:54  -80 300.0   11  WPA2 AES    koine2
  1 Infra C8:3A:35:50:17:28  -89 300.0    6  WPA AES     eshinhan
  2 Infra 64:E5:99:AD:26:62  -88 300.0    5  WPA AES     GM

End of scan results
> start_p2p
Group Owner intent 1
STA MAC: 00:00:00:00:00:00
P2P discovery enabled. Advertised as 'WICED-P2P'>

>
------------------------------------------------------------


------------------------------------------------------------
make test.console-BCM9WCDUSI09 download run

P2p is not working in WICED v3.1.1

Starting WICED v3.1.1
Platform BCM9WCDUSI09 initialised
Started ThreadX v5.6
Initialising NetX v5.7_sp1
Creating Packet pools
WWD SDIO interface initialised
WLAN MAC Address : 40:2C:F4:E8:C1:B8
WLAN Firmware    : wl0: Sep 10 2014 11:28:46 version 5.90.230.10 FWID 01-20202020
Console app
> start_p2p
Group Owner intent 1

------------------------------------------------------------

0 Likes

Dear.

We still do not p2p(wifi direct) is working (wiced 3.1.1 ,wiced 3.1.0)

Can you please advice?

Hi,

Updated P2P will be released on next version SDK-3.1.2.

Seyhan

Anonymous
Not applicable

Hi cgkim,

Im using BCM43362WCD4 and SDKv2.4.1 (ThreadX/Netx)

To know disconnection from the peer

  created a timed event that checks for any peer connection if(workspace.p2p_result == BESL_SUCCESS)
  if yes
  if the device is group owner get number of clients associated using api - wiced_wifi_get_associated_client_list
  when the client count became 0 , rebooted the device.This works fine for me

  I would have preferred not to reboot the device, but yet to find a way to reinitialize p2p.


  if the device is not group owner,try pinging to gateway to know whether peer is connected or not.(I have not checked this yet as when the device is not group owner my device gets stuck trying to connect. So kept group owner intent to 15 and checked only the first condition).
,

Thanks and regards,

Sooraj

0 Likes

Thank you for the advice.

p2p disconnect event was implemented as advice.

But still there are many problems in p2p

If a 10 degree connection, devised the 2-3 degree connection, there was a stop condition.

And, in a phone connection WIFI-DIRECT, and for more than 20-30 minutes to get the internet on your phone, disconnect the WIFI-DIRECT, try again, almost no connection to 100%.

Wiced 3.1.2 Is there a way to use the USI-BM-09 platform in?

Does this fix the problem in Wiced 2.4.1?

I need help.

thank you.

0 Likes
Anonymous
Not applicable

Yes, in v2.4.1 when the wps registrar or enrollee tries for the second time  the code hangs up..
At present I needed only the p2p to work,so keeping the group intent to 15 serves my purpose for now.
hoping all problems will be resolved in SDK v3.1.2.

Regards,
Sooraj

0 Likes

Hi.

Thank you for answer.

1. When Is Released WICED 3.1.2?

Please tell us the schedule

in BCM9WCDUSI09.patch.zip file

P2p the init (start_p2p) not in 3.1.1 and 3.1.0

2. Please inform us if you have a patch?


thank you.

0 Likes
Anonymous
Not applicable

But as per the schematics of BCM943362WCD4_3 , The WL_RST_N pin is connected to PB5 and WIFI_VDD_EN is connected to PB2 of stm32f2 .

Then why need to change those pins to

[WWD_PIN_POWER      ] = { GPIOC,  7 },

[WWD_PIN_RESET      ] = { GPIOC,  1 },

0 Likes