Wi-Fi Combo Forum Discussions
I'm testing https for my application and I found http works but https fails.
The error is:
wiced_tcp_connect returns 1.
which is because wiced_tcp_start_tls returns 1.
which is because
wiced_tcp_start_tls
-> wiced_tcp_start_tls_with_ciphers
-> ssl_handshake_client_async returns 1.
I remove some features in my application at compiler time and then https works.
It seems tls takes extra memory to work.
How much extra free memory is required to enable tls?
Show LessI am about as new as a guy can get. I am just learning C programming. I have never used an Arm processor. I have never used the WICED IDE. I do have a few years of experience programming Microchip parts, but that was all in assembly. I find a lot of the questions and answers on the forum assume a certain level of knowledge and are not very helpful for starters. I am trying to develop a Wi-Fi device based on the BCM943341. Is there a good resource to get information/training?
Show LessI was running the snip.https_client-BCM943341WCD1 download run. This uses https_client.c
I am curious why the following code still works (see image below). When the string in wiced_hostname_lookup() is different than that entered in wiced_https_get(), the code still works. Why is that? It seems like the last input into the wiced_https_get() function, is never being checked.
Please advise.
Show Less
Is it possible to work at the MAC layer where I can see all packets regardless of addressing and build packets manually? I would like to creat a test apparatus application that sniffs the network and can inject test packets. I don't see any API support for this mode. It is commonly supported in other chip sets such as the TI CC3200.
Show LessHi abirjepatil
I tried to run demo.aws_iot.pub_sub.publisher demo code on SDK-3.5.2.
But I got below error:
Joining : LAB
Successfully joined : LAB
Obtaining IP address via DHCP
Network ready IP: 192.168.1.103
Resolving IP address of MQTT broker...
Resolved Broker IP: 52.192.145.107
[MQTT] Opening connection...
[MQTT LIB] : error intializing the mqtt connection setup
After adding debug code, it shows
wiced_tls_init_root_ca_certificates returns -96.
x509_convert_pem_to_der returns -64 because s2 is NULL.
Below print out the content of pointer p:
Obviously, it's incompleted so it returns TROPICSSL_ERR_X509_CERT_INVALID_PEM (-64).
-----BEGIN CERTIFICATE-----
MIIE0zCCA7ugAwIBAgIQGNrRniZ96LtKIVjNzGs7SjANBgkqhkiG9w0BAQUFADCB
yjELMAkGA1UEBhMCVVMxFzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMR8wHQYDVQQL
ExZWZXJpU2lnbiBUcnVzdCBOZXR3b3JrMTowOAYDVQQLEzEoYykgMjAwNiBWZXJp
U2lnbiwgSW5jLiAtIEZvciBhdXRob3JpemVkIHVzZSBvbmx5MUUwQwYDVQQDEzxW
ZXJpU2lnbiBDbGFzcyAzIFB1YmxpYyBQcmltYXJ5IENlcnRpZmljYXRpb24gQXV0
aG9yaXR5IC0gRzUwHhcNMDYxMTA4MDAwMDAwWhcNMzYwNzE2MjM1OTU5WjCByjEL
MAkGA1UEBhMCVVMxFzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMR8wHQYDVQQLExZW
ZXJpU2lnbiBUcnVzdCBOZ\0xef\0x80q/\0x09\0x02
Then I print out the content after resource_get_readonly_buffer() call
and got the same data as above.
Show LessMy application has its own SSL library which unfortunately conflicts with that of WICED SDK's BESL library. Is there a way I can disable or remove the WICED SSL library from the compilation path? I'm using a WICED 3.5.2 SDK.
Show LessI try the command:
wl --serial X chanspec -c 38 -b 5 -w 40 -s 1
wl nrate -m 7
for channel 36 upper/HT40/mcs7/11n
but it still came out at 20MHz.
Did I miss any other command or parameter?
Vinh
Show LessHello vik86
As a follow on to this thread: Issue with MQTT reconnecting to broker if wifi connection goes down
I'm also trying to make the same logic work. When disconnected, I deinit and free mqtt_object and do some other stuff. Then I recreate it and try to connect. However there seems to be a memory leak, I think it might be related with the linked list that the session creates. Is there a way to easily delete all the data related to mqtt connection? Here is the code I used for deinit :
mqtt_connection_t *conn = (mqtt_connection_t*) mqtt_object;
wiced_rtos_deregister_timed_event( &conn->heartbeat.timer );
mqtt_connection_deinit(conn);
wiced_mqtt_deinit(mqtt_object);
free( mqtt_object );
Thanks
Show LessHello,
We are the MFi manufacturer and looking for the Broadcom BCM943362WCD4 module and development kit for our Apple HomeKit product.
Please provide the Hong Kong sales contact for me.
Thanks,
Jacky
Show Less