3.3.1 snip.scan

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

cross mob
Ch-_2119361
Level 3
Level 3
First like received First like given

Hi all,

I found that the snip.scan example does not work well. It hangs during scanning and sometimes resets itself. I am using WICED SDK 3.3.1.

When switch back to 3.1.2, it works just fine.

--Cheong

0 Likes
11 Replies
Anonymous
Not applicable

Hello,

May I know what platform you are using so I can try to recreate your problem?

Thanks,

Arsh Buch

0 Likes

Hi @abuch,

I am making my own product with BCM43438 A1 chip + STM32F205 MCU but I also tried with BCM943341WCD1 board, it has the same problem.

--Cheong

0 Likes

BCM943362WCD4/BCM9WCDPLUS114 on SDK 3.3.1 also have same scan hang issue!

And SDK 3.1.2 scan have memory leak issue too!

--

Jone

0 Likes
Anonymous
Not applicable

Hi Jone,

Can you point out the place of memory leak in SDK3.1.2 scan?

Thanks.

0 Likes

SDK 3.1.2

The amount of free memory reduced after a couple hours run of scan!

And hang after run of memory!

--

Jone

0 Likes
Anonymous
Not applicable

Hello,

Where is the memory leak occurring? and how did you come to that conclusion?

Thanks,

Arsh Buch

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

Attached log file , show the memory reduced,

But it occurred infrequently!

Anonymous
Not applicable

Hi Jone,

Which functions are you used to print below line?

Count [1]: Total 0x460c unused:0x2 allocated: 0x35b4  free: 0x1058

Thanks.

0 Likes

Sam,

Below is used to print memory info.

================= start here =======================

#include "malloc.h"

volatile struct mallinfo mi;

void wiced_thread_mem_info(const char *msg)

{

    mi = mallinfo();

    WPRINT_APP_INFO(( "\r\n%s: Total 0x%x unused:0x%x allocated: 0x%x

free: 0x%x\r\n", msg ? : "null", mi.arena, mi.ordblks, mi.uordblks,

mi.fordblks));

}

================= End here =======================

--

Jone

Here is my log, I am not sure but it seems that it stops if "HP-Print-D8-LaserJet 1025" is scanned. But SDK 3.1.2 has no such problem.

  5 Infra 64:09:80:55:D9:66  -84 144.4    9  WPA2 Mixed PSK         Xiaomi_D96543                   

  6 Infra 6C:40:08:A2:C6:6C  -77 216.7   11  WPA2 AES   PSK         DongMacMini                     

  7 Infra AC:6E:1A:F9:80:15  -89  72.2   11  WPA2 Mixed PSK         ChinaNet-14Eq                   

  8 Infra E8:4E:06:2A:80:45  -64 150.0  153  WPA2 AES   PSK         AP-02_5G                        

  9 Infra 08:57:00:1A:0C:9F  -82 300.0   11  Open                   RedBearTest                     

10 Infra EC:26:CA:CF:9B:8E  -80 450.0   11  WPA2 AES   PSK         szmiec                          

11 Infra E8:4E:06:2A:80:42  -61 300.0    9  WPA2 AES   PSK         AP-02_2.4G                      

12 Infra 50:BD:5F:29:87:66  -85 450.0    6  WPA2 AES   PSK         ztkj                            

13 Infra EC:26:CA:CD:63:D0  -88 450.0    6  WPA2 AES   PSK         TP-LINKmyy                      

14 Infra D0:C7:C0:FF:6C:46  -84 300.0    6  WPA2 AES   PSK         Sogou-Sem                       

15 Infra EC:26:CA:40:89:86  -72 450.0    6  WPA2 AES   PSK         XingFaXian                      

16 Infra EC:26:CA:7A:27:1C  -72 450.0    6  WPA2 AES   PSK         812                             

17 Infra 4C:E6:76:43:15:FA  -77 300.0    4  WPA2 AES   PSK         VIRUS3                          

18 Infra 70:62:B8:70:F1:8C  -89 450.0    1  WPA2 Mixed PSK         Sentrion ShenZhen               

19 Infra A8:15:4D:B2:67:12  -86 300.0    1  WPA2 AES   PSK         mireach1                        

20 Infra 28:2C:B2:C6:BA:AC  -88 300.0    1  WPA2 AES   PSK         Kyokoofyq                       

Scan complete in 3975 milliseconds

Waiting for scan results...

  # Type  BSSID             RSSI  Rate Chan  Security         SSID

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

  0 Infra 38:E5:95:C8:8C:AC  -84  72.2    1  WPA2 Mixed PSK         iTV-3343                        

  1 Infra 38:E5:95:C8:8C:AB  -81  72.2    1  WPA2 Mixed PSK         ChinaNet-3343                   

  2 Infra 4C:E6:76:43:05:52  -66 130.0    6  WPA2 Mixed PSK         RedBear                         

  3 Infra 54:35:30:29:68:D8  -89  54.0    6  Open                   HP-Print-D8-LaserJet 1025       

  4 Infra BC:D1:77:EE:AA:48  -88 450.0    6  WPA2 AES   PSK         TP-qhds                         

  5 Infra 6C:40:08:A2:C6:6C  -83 216.7   11  WPA2 AES   PSK         DongMacMini                     

  6 Infra E8:4E:06:2D:38:B8  -77 300.0   11  WPA2 AES   PSK         AP-01                           

  7 Infra E8:4E:06:2A:80:45  -62 150.0  153  WPA2 AES   PSK         AP-02_5G                        

  8 Infra EC:26:CA:CF:9B:8E  -63 450.0   11  WPA2 AES   PSK         szmiec                          

  9 Infra BC:D1:77:55:EE:94  -92 150.0   11  WPA2 AES   PSK         mjj                             

10 Infra 00:16:78:2F:88:9C  -89 300.0   11  WPA2 Mixed PSK         GAOKE_2f889c                    

11 Infra 00:5A:39:31:15:5A  -87 300.0   11  WPA2 AES   PSK         yyf                             

12 Infra D0:C7:C0:1C:97:1A  -87 300.0   11  WPA2 AES   PSK         GMEG                            

13 Infra 08:57:00:1A:0C:9F  -79 300.0   11  Open                   RedBearTest                     

14 Infra E8:4E:06:2A:80:42  -76 300.0    9  WPA2 AES   PSK         AP-02_2.4G                      

15 Infra EC:26:CA:40:89:86  -81 450.0    6  WPA2 AES   PSK         XingFaXian                      

16 Infra 4C:E6:76:43:15:FA  -78 300.0    4  WPA2 AES   PSK         VIRUS3                          

17 Infra 28:2C:B2:C6:BA:AC  -85 300.0    1  WPA2 AES   PSK         Kyokoofyq                       

18 Infra D4:EE:07:24:7A:2A  -88 300.0    1  WPA2 AES   PSK         funney-china                    

Scan complete in 3968 milliseconds

Waiting for scan results...

  # Type  BSSID             RSSI  Rate Chan  Security         SSID

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

  0 Infra 4C:E6:76:43:05:52  -86 130.0    6  WPA2 Mixed PSK         RedBear                         

0 Likes
hachc_2137126
Level 5
Level 5
10 likes given 5 likes given First like received

Hi Broadcom team,

  Do you have any update about the scan hanging issue on top of WICED 3.3.1?

0 Likes