Wi-Fi Combo Forum Discussions
Hi All
I found the demo snip.easy_setup/easy_setup_client/easy_setup_cooee.exe was not open source.
And the aes_ccm_decrypt in SDK was not open source also.
For Present Demo Algorithm, we wanna know if the algorithm is standard or encapsulated by broadcom ?
Calculate Base:
nonce(8Bytes) + "wiced"(5Bytes)
Device_secret_key(Device_Vendor_ID)
AAD(Header)
PlainTex
Result: Header+CipherText+MIC.
Result = > Array
Multicast Address 4 and 5 store Cipher data.
802.11Header : Frame:Duration: 01:00:5E:7E:Array[0]:Array[1]:Address2:Adress3
802.11Header : Frame:Duration: 01:00:5E:7E:Array[2]:Array[3]:Address2:Adress3
................
...............
802.11Header : Frame:Duration: 01:00:5E:7E:Array
WICED MODULE filter the Multicast IE header and distill the Array[0-N].
CipherArray= Array
Array[0-9], 10bytes is Plain text, we can get nounce 8byte, content length of cipherText.
Device_secret_key is stored in DCT, we can get, the demo preset value is "abcdabcdabcdabcd"
AAD is from first 10bytes plain text
Array[10-N] is ciphered text.
call "aes_ccm_decrypt" we can get de-encrypted plained text. it is TLV. so we can get ssid and password.
If the Source code for calculating the CipherTex or static lib of algorithm can be released? So that we can develop the Client Configuration APP.
Regards
Harry
Show LessHi,
We are using WICED-WIFI BCM943362WCD4.
We are trying to write data onto serial flash available in evaluation board.
We tried using example code snip.spi_flash_read.
We could read data but not able write any data onto memory using wiced_spi_transfer() calls.
We could read the value of serial flash status register by entering the command 0x05h and it is giving right value(default 0x1E).
we tried to modify the value of serial flash status register to 0x02 by giving command 0x01, data 0x02.
But after writing, when we try to read the register, it gives the value 0x00.
Are we missing anything.?
Does wiced_spi_transfer API takes care of enabling and disabling of CE of serial flash?
Thanks
Show LessHello,
I am newbie in both WICED and iOS so please bear with me on this. I am trying to find a solution to use Wi-Fi direct on iOS to interface with WICED Wi-Fi. I believe MFI libraries need to used in WICED. But I am not able to get much information on this. Do I need to sign up for MFI really? For audio streaming and Lightning connector, I can understand that MFI libraries will be needed but for sending non-audio packets over TCP or UDP does one need MFI libraries in Wi-Fi WICED?
Thanks in advance for answering.
-Gitesh
Show LessCould you please explain what does thread execution state TX_TCP_IP (12) mean?
There is no description about it in ThreadX documentation.
Thanks,
Johan
Show LessHi!
I'm running a TCP server on Wiced AP interface and there are some issues with that when wanting to have multiple of sockets at the same time. I'm using ThreadX NetX-Duo.
Wiced has a wrapper API for TCP socket listen that defaults to the STA interface:
wiced_result_t wiced_tcp_listen( wiced_tcp_socket_t* socket, uint16_t port );
This has to be modified if you want to use the AP interface. Please add a new API or add interface parameter to the existing one.
Please consider adding:
wiced_result_t wiced_tcp_listen_ap( wiced_tcp_socket_t* socket, uint16_t port );
wiced_result_t wiced_tcp_listen_ap( wiced_tcp_socket_t* socket, uint16_t port )
{
tcp_listen_callback_t listen_callback = NULL;
struct NX_TCP_LISTEN_STRUCT* listen_ptr;
WICED_LINK_CHECK( socket->socket.nx_tcp_socket_ip_ptr );
/* Check if there is already another socket listening on the port */
listen_ptr = IP_HANDLE(WICED_AP_INTERFACE).nx_ip_tcp_active_listen_requests;
if ( listen_ptr != NULL )
{
/* Search the active listen requests for this port. */
do
{
/* Determine if there is another listen request for the same port. */
if ( listen_ptr->nx_tcp_listen_port == port )
{
/* Do a re-listen instead of a listen */
if ( nx_tcp_server_socket_relisten( socket->socket.nx_tcp_socket_ip_ptr, port, &socket->socket ) == NX_SUCCESS )
{
return WICED_SUCCESS;
}
else
{
return WICED_ERROR;
}
}
listen_ptr = listen_ptr->nx_tcp_listen_next;
} while ( listen_ptr != IP_HANDLE(WICED_AP_INTERFACE).nx_ip_tcp_active_listen_requests);
}
/* Check if this socket has an asynchronous connect callback */
if (socket->callbacks[WICED_TCP_CONNECT_CALLBACK_INDEX] != NULL)
{
listen_callback = internal_tcp_listen_callback;
}
if (socket->socket.nx_tcp_socket_state != NX_TCP_CLOSED)
{
nx_tcp_server_socket_unaccept( &socket->socket );
if ( nx_tcp_server_socket_relisten( socket->socket.nx_tcp_socket_ip_ptr, socket->socket.nx_tcp_socket_port, &socket->socket ) == NX_SUCCESS )
{
return WICED_SUCCESS;
}
else
{
return WICED_ERROR;
}
}
else
{
if ( nx_tcp_server_socket_listen( socket->socket.nx_tcp_socket_ip_ptr, port, &socket->socket, WICED_DEFAULT_TCP_LISTEN_QUEUE_SIZE, listen_callback ) == NX_SUCCESS )
{
return WICED_SUCCESS;
}
else
{
return WICED_ERROR;
}
}
}
Show LessI looked through the MMPWICED-QSG203-R.pdf just now. The appendix C described how to Importing the WICED SDK into Eclipse.
Here a question:
What is the purpose of import into Eclipse? Eclipse is used to develop Java program. Does that mean that we can run java applications on WICED platform?
Thanks,
Hank
Show LessHardware:BCM9WCD1EVAL1
MCU:STM32 F205RG
I want to download image to STM32 F205RG internal flash(1MB).
I assign the address of app boot dct download to flash and reset. the console only have a log (Starting Wiced v2.4.1)
start address
Boot : 0x08000000 (waf_bootloader-NoOS-NoNS-BCM943362WCD4-SDIO.bin )
DCT1: 0x08004000 (DCT.bin )
DCT2: 0x08008000 (DCT.bin )
APP : 0x0800C000 (demo_appliance-BCM943362WCD4-FreeRTOS-LwIP.bin )
Is this right? how to assign address?
Show LessPlease provide some info about the type of TLS supported in the WICED SDK.
I am specifically looking for an answer to:
"What version of TLS is used, the key length and the hashing algorithms?"
Show Less