Wi-Fi Combo Forum Discussions
text.format{('custom.tabs.no.results')}
Hello!
I ported WICED SDK 6.1 code to the Cortex-A9.
Hardware:
- my own (ARM Cortex-A9 + Murata 1DX module with BCM4343W)
- bus SDIO
I made the changes based on this article:
Bluetooth works fine.
but:
I'm trying to run a snip scan.
The initialization is fine, successfull firmware download 4343WA1.bin and 4343WA1.clm_blob.
It prints a list of access points, but only once.
The function wiced_scan_result_handler() receives the argument result_ptr = NULL.
I added an argument NULL check.
...
if (result_ptr == NULL || *result_ptr == NULL)
{
PRINT("[%s] LINE = %d result_ptr 0x%X", __FUNCTION__, __LINE__, result_ptr);
wwd_print_stats(WICED_FALSE); //TEST
return;
}
...
After that it hangs on:
wiced_rtos_get_semaphore(&scan_data.semaphore, WICED_WAIT_FOREVER);
in function application_start()
Log in attached.
I added debug messages like this article.
What could be my problem?
Thanks.
In Wiced 3.7.0-7 it appears that if an EAP-TLS handshake packet is dropped at any stage by the client (Wiced) there is no retry logic in place. Is this a known issue from 3.7.0-7 or later that has been resolved in versions leading to 6.2.1?
Additionally, the release notes are informative for what features have been implemented version to version. Is there a list of bugs that have been resolved version to version?
Show LessHello Support.
if there a method to disable the rts/cts on ap created by "wl"?
the details:
I create a ap by wl like the following:
"wl create_interface ap c6:45:b5:00:00:00"
when I do a udp test like the following:
1. a CLEINT connect the AP created by the command above.
2. AP send udp packet to the CLEINT
3.while testing i capture the air packets,find every udp packet witch a rts/cts.
Besides, I use the option "rts" or "rtsthrehlod" which "wl" support, but it doesn't work.
Show LessI tried "SECURE_SFLASH" option enable.
( added SECURE_SFLASH=1 )
But WICED device seems not work.
Build and downloading seem OK.
DCT.bin is encrypted and encrypted binary is downloaded.
I checked the above from the build log.
But in terminal window are not printed any logs.
In WICED 6.2.1, it seems that there is same issue like below posts.
On using SECURE_BOOT and SECURE_SFLASH options
Regards
Show LessI am attempting to get the web client based upon the code httpbin_org.c to connect to a web server with mutual TLS authentication. I can get the client to connect to Jetty Server (a Java server), for example, via TLS, but when I enable authentication on the server, it fails. (Authentication on the Wiced client works which is good.) The server logs are tad of a quagmire.
In case you have had success in getting the Wiced HTTP client to do mutual authentication with an existing server, would you mind letting me know what that server is (was)? That would be quite helpful. I've tried Tomcat with even less success... it fails due to frangmented TLS packets, something that mbedtls apparently "doesn't support, yet." Thanks!
Show LessHi,
I have a question about CYW43907.
Are there any detail descriptions about strapping option pins at POR?
WICED-QSG chapter 4.1 said "For more information regarding bootstrap options, refer to the CYW43907 Datasheet."
But, In CYW43907 datasheet table 12, the description about strapping options are not enough.
Regards,
Nobuhiro
Show LessHello,
I want to send data from one PSoC to another every 5 or 10 sec. The model of my kits is PSoC 6 CY8CKIT_062 WiFi-BT Pioneer Kit. I have the following code in my application_start().
char buff2[10];
uint16_t light_output;
float mv2;
wiced_init( );
wiced_rtos_init_queue(&paddleQueue,"paddleQueue",sizeof(game_msg_t),10);
game_msg_t msg;
wiced_bt_gatt_status_t write_status;
wiced_adc_init(WICED_ADC_1,5);
wiced_rtos_pop_from_queue(&paddleQueue,&msg,WICED_WAIT_FOREVER);
while(1){
wiced_bt_gatt_value_t *p_write = ( wiced_bt_gatt_value_t* )malloc( sizeof( wiced_bt_gatt_value_t ) + 1 );
WPRINT_APP_INFO(("Light(mv): "));
wiced_adc_take_sample(WICED_ADC_1, &light_output);
mv2 = (light_output*3300)/4096;
sprintf( buff2,"%f",mv2);
WPRINT_APP_INFO( ( buff2));
(p_write)->handle = 0x002A; /* hard coded server ccd */
(p_write)->offset = 0;
(p_write)->len = 1;
(p_write)->auth_req = GATT_AUTH_REQ_NONE;
(p_write)->value[0] = (uint8_t)(mv2);
//(&p_write)->value[1] = 0x08;
write_status = wiced_bt_gatt_send_write ( msg.val, GATT_WRITE_NO_RSP, p_write);
WPRINT_APP_INFO(( "write_status: %d\n", write_status));
CyDelay(5000);
free( p_write );
}
What this code does is that it waits "msg" to come from another thread. After "msg" comes, it is popped from the queue. Then, every 5 seconds "mv2" is sent to the other kit. However, I can send "mv2" only 7-10 times. After that, the other PSoC crashes (does not receive "mv2" anymore). The PSoC that sends "mv2" also crashes and gives Unhandled bluetooth event 5. The type of this event is wiced_bt_gatt_evt_t, and when I go to declaration of wiced_bt_gatt_evt_t, I can see only 0, 1, 2, 3 and 4 as event values. There is no 5. Also, I get "running low on tx buffers" and "getbuf size is too big" errors. How can I solve this issue?
Show LessHas any work been done to create a common software interface to BLE in combo modules that matches the interface in BLE only modules?
This could be a set of AT commands for BLE that's common regardless of the physical format of the BLE module. This could be an EZ-BLE implementation for the Bluetooth portion of a combo module. Ideally it would be a stdio wrapper for any BLE interface.
The use case is to develop a single software interface for a set of products that could be populated with various types of Bluetooth or WiFi/Bluetooth Radio.
Greg
Show LessI am trying to parse the information elements of the Beacons while being associated.
I tried packet_filter app, but it needs the board to be on monitor mode to capture.
I am using CYW943907AEVAL1F board with Netx Duo.
Show LessAfter starting Type1GC in AP mode, if you connect with STA and ping from STA, AP (Type1GC) reboots irregularly.
<Environment>
WICED: WICED-Studio-6.1.0.85-IDE
Type1GC: Type1GC-Eval Rev B
Platform File: WICED-Studio-6.2_Type1GC
OS: ThreadX v5.8
NetX: v5.10_sp3
WLAN Firmware: wl 0: Feb 12 2018 23: 35: 27 version 7.15.168.108 (r683813) FWID 01-81fd72af
WLAN CLM: API: 12.2 Data: 9.10.74 Compiler: 1.31.3 ClmImport: 1.36.3 Creation: 2018-02-12 23: 30: 46
Sample program: apps/test/console
Make Target: test.console-MurataType1GC-NetX download run
<Survey result>
Data abort exception interrupt problem was found, but the cause is unknown.
I did a debug build according to the document "N1-4941_AppNote_Debugging_Rev 1.0.pdf", but did not reproduce the problem.
Show Less