Wi-Fi Combo Forum Discussions
text.format{('custom.tabs.no.results')}
hello,
Does WICED support uPNP?
only mDNS?
thanks
I've tried to create two http server instances - one for the config interface followed by another http server for the STA interface.
The STA interface' http server never worked.. when digging into the http_server codebase, I can use that it's being implemented as if only one instance is expected to be used at a time.
My question is - am I using the http_server incorrectly, or should I just re-implement the http server based on the SDK as a (great) starting point ?
Tsachi
Show LessI am trying to hook up an SPI device but am confused about which SPI interface to use. I am using 3.1.2 SDK with the WCD4_EVB.
The only one defined in platform.h/c is SPI1, but this seems to be used by the flash driver. I found some forum discussions that seemed to suggest multiple SPI devices are not feasible as of now.
Can someone please help with the following questions?
1. If I use SPI1 (albeit with a different chip select pin than flash), will this work without any changes to the platform files?
2. Is there any other SPI interface I can use? I saw references to SPI3 in platform.h but nothing is defined in platform files
3. What exactly is the flash code used for? Does it even make sense for me to think of sacrificing flash support to get my SPI device working?
Thanks in advance!
Show LessI have a TCP serve app in which two sockets are opened in two threads/tasks, and they are in blocking state which waits for some data.
Socket 1 expects/receives small amount of data (High priority thead) ,10-30bytes long, where as Socket 2 receives data as large chunks ie; several number of 1024byte TCP packets,(Low priority thead),
So the problem is after some time my whole program hangs,, Doesn't seem to receive any data,
When I tried debugging and do pause the app , all I could see was all the tasks were port-yielded,
So how can I debug this issue ...?
Any thoughts ?
Show LessHi,
I am trying to bring up a WCD4_EVB on a Windows 8.1 machine. I have downloaded and installed the 3.1.2 WICED IDE but the drivers (apparently) did not get installed. When I plug the EVB into the USB slot, it shows up unrecognized in Device Manager.
I tried to manually install from the SDK drivers folder. But when I try to run "Dpinst" it asks me to "contact the vendor" for a 64-bit version of the installer.
Is there anything obvious I am missing? I am completely new to the WICED environment, so any help would be appreciated!
Thank you!
Show LessThis wiced_time_get_iso8601_time() does not do a bitwise AND of a number that is frequently greater than 65000, when it converts to a uint16_t. Consequently the result is normally wrong.
Specifics: the local variable uint16_t sub_second is computed as follows. You should always have "000" on the end of the final result, because you take a millisecond value and convert it to microseconds by multiplying by 1000.
wiced_time_get_utc_time_ms( &utc_time_ms );
second = utc_time_ms / 1000; /* Time is in milliseconds. Convert to seconds */
sub_second = (uint16_t) (( utc_time_ms % 1000 ) * 1000 ); /* Sub-second is in microseconds */
/************** Code corrected with int temp variable ***********************/
temp = (int) (utc_time_ms & 0xFFFF);
temp = (temp % 1000) * 1000;
printf("******* temp: %d; sub_sec: %d\r\n", temp, sub_second);
/************ temp and sub_second should be identical, but they almost never are.
Code extracted from WICED version 3.1.2
******/
Show LessHi,
Currently we are using SDK 3.1.2 version, In this we tried to execute snip.email with the EVB BCM9WCDPLUS114. But we are facing the following problem after connecting to the SMTP server the snip.email is failed to send EMAIL you can see that in below output:
Starting WICED v3.1.2
Platform BCM9WCDPLUS114 initialised
Started ThreadX v5.6
Initialising NetX_Duo v5.7_sp1
Creating Packet pools
WWD SDIO interface initialised
WLAN MAC Address : FC:4D:D4:FF:C3:B4
WLAN Firmware : wl0: Nov 7 2014 16:03:45 version 5.90.230.12 FWID 01-cf14784f
Joining : Connectify-maanya
Successfully joined : Connectify-maanya
Obtaining IPv4 address via DHCP
Setting IPv6 link-local address
IPv4 network ready IP: 192.168.53.101
Getting NTP time... success
Current time is: 2015-05-19T07:10:41.058712
Querying DNS server for smtp.mail.yahoo.com
Successfully retrieved SMTP server IP : 106.10.150.171
Sending email ... FAILED!
we did what ever required changes are needed like changing the sender and receipt emails to our personal mail ids and also tried by using the different standard port numbers (account.smtp_server_port = 587;) (like 465,25). Does any one know what is the problem? Please help us to make it work.
Thank you
venkat
Show LessHi,
I'm debugging a tcp transfer test that the receiver does not receive data correctly.
Then I found wiced_tcp_send_buffer() may return 16 (WICED_WOULD_BLOCK)
sometimes when test transfering data.
What is the proper way to handle the WICED_WOULD_BLOCK case?
WIll the wiced_tcp_send_buffer() call send out the data eventually even if it returns WICED_WOULD_BLOCK?
If yes, how can I tell if the send out data is done.
If not, should I call wiced_tcp_send_buffer() again to resend the data?
(My test is on FreeRTOS+LwIP with SDK-3.1.0-beta1)
Thanks.
Show LessHello!
I have problem when establish TCP connection in softAP mode, the wifi module running softAP and DHCP mode to asign IP to client, I want wifi act as TCP server and establish TCP connection to client but when I used the TCP network tool on laptop (client connected to wifi softAP) but unsuccessful .Below is the source code, please verify and let me know whats wrong? Thank you so much!
#include "wiced.h"
#include "resources.h"
#define TCP_PACKET_MAX_DATA_LENGTH 30
#define TCP_SERVER_PORT 6868
static wiced_tcp_socket_t tcp_client_socket;
static const wiced_ip_setting_t ap_ip_settings =
{
INITIALISER_IPV4_ADDRESS( .ip_address, MAKE_IPV4_ADDRESS( 169,254, 1, 1 ) ),
INITIALISER_IPV4_ADDRESS( .netmask, MAKE_IPV4_ADDRESS( 255,255,255, 0 ) ),
INITIALISER_IPV4_ADDRESS( .gateway, MAKE_IPV4_ADDRESS( 169,254, 1, 1 ) ),
};
void application_start(void)
{
/* Initialise the device */
wiced_init();
/* Bring up the softAP interface ------------------------------------------------------------- */
wiced_network_up(WICED_AP_INTERFACE, WICED_USE_INTERNAL_DHCP_SERVER, &ap_ip_settings);
/* Create a TCP socket*/
if (wiced_tcp_create_socket(&tcp_client_socket, WICED_AP_INTERFACE) != WICED_SUCCESS)
{
WPRINT_APP_INFO(("TCP socket creation failed
"));
}
/* Listen Client on TCP PORT*/
wiced_tcp_listen(&tcp_client_socket,TCP_SERVER_PORT);
/* Wait Client Client Establish TCP connection*/
if( wiced_tcp_accept( &tcp_client_socket )!= WICED_SUCCESS);
{
WPRINT_APP_INFO(("TCP connection failed
"));
}
}
Show LessGreetings,
I have installed the WICED SDK 2.40 on an XP 32bit machine. The program is installed properly. I have downloaded the MinGW GCC and set it as my current toolchain. The Gnu make builder is the current builder. I have a SN8200 wireless module. Everytime that I am trying to build the 'snip.https_client-BCM943362WCD4 download run' file from the Make Target tab i get the error
make *** No rule to make target 'snip.https_client-BCM943362WCD4 download run'. Stop.
Any help would be appreciated
Best Regards
Show Less