AIROC™ Wi-Fi and Wi-Fi Bluetooth Combos Forum Discussions
Hi,
I'm trying to make a reasonably fast application on a CYW43907 and am getting a long 5sec delay when getting the reply to an https request.
I'm using cy_http_client.c which uses core_http_client.c
In receiveAndParseHttpResponse the call to pTransport->recv takes 5secs.
Here is the uart log (I added a few outputs to see where it took some time.
2022-06-14 09:56:47,375,375 INFO COM10: b'[F4] : [L5] : 0042 00:00:07.105 cy_http_client_write_header(): END \r\n'
2022-06-14 09:56:47,375,375 INFO COM10: b'cy_http_client_send\r\n'
2022-06-14 09:56:47,377,377 INFO COM10: b'[F4] : [L5] : 0043 00:00:07.113 cy_http_client_send(): START \r\n'
2022-06-14 09:56:47,378,378 INFO COM10: b'[F4] : [L5] : 0044 00:00:07.118 Acquire object mutex : 0x4c07d8..!\r\n'
2022-06-14 09:56:47,379,379 INFO COM10: b'[F2] : [L4] : 0045 00:00:07.124 sendHttpRequest\r\n'
2022-06-14 09:56:47,383,383 INFO COM10: b'[F2] : [L5] : 0046 00:00:07.128 1F\x8d\xf8\x1f0BF\x16\x9b[F2] : [L5] : 0047 00:00:07.130 1F\x8d\xf8\x1f0BF\x16\x9b[F2] : [L5] : 0048 00:00:07.131 A request body was not sent: pRequestBodyBuf is NULL.[F2] : [L4] : 0049 00:00:07.131 receiveAndParseHttpResponse\r\n'
2022-06-14 09:56:52,435,435 INFO COM10: b'[F2] : [L4] : 0050 00:00:12.206 currentReceived\r\n'
2022-06-14 09:56:52,773,773 INFO COM10: b'[F2] : [L4] : 0051 00:00:12.210 parseHttpResponse\r\n'
2022-06-14 09:56:52,773,773 INFO COM10: b'[F2] : [L5] : 0052 00:00:12.214 Response parsing: Found the start of the response message.[F2] : [L5] : 0053 00:00:12.214 OK\r\n'
It seems it takes 5sec to get the output of:
currentReceived = pTransport->recv( pTransport->pNetworkContext,
pResponse->pBuffer + totalReceived,
pResponse->bufferLen - totalReceived );
Here is the wireshark capture of the exact same exchange, we can see that the device did receive and ack very fast. So it's not a network issue but really a processing issue.
I would guess that there is some error conditions during reception + a 5sec timeout somewhere. But I have not yet digged deeper.
What could cause this 5sec delay?
Thanks
Cédric
Show Less
Hello,
Could you please share basic TX/RX testing process in CyBluetoolConsole (without GUI)?
My step s as below, please help to correct or suggest, thank you.
1. reset
(COM2@115200)$ send reset
07/14/22 15:41:47.707 com2@115200 c> Reset
HCI Command
com2@115200
[03 0C 00 ]
opcode = 0x0C03 (3075, "Reset")
(COM2@115200)$ (COM2@115200)$ 07/14/22 15:41:47.739 com2 <c Reset
HCI Command Complete Event
com2@115200
[0E 04 ]: 01 03 0C 00
event = 0x0E (14,"Command Complete")
Num_HCI_Command_Packets = 0x1 (1)
Command_Opcode = 0xC03 (3075, "Reset")
Status = 0x0 (0, "Success", "Success")
(COM2@115200)$ list
set_event_mask
reset
set_event_filter
...
2. set_event_filter
3. Write_scan_enable
4. Enable_Device_Under_Test_Mode
Best regards,
Apollo Chen
Show Less
Hi,
We are planning to use
CY8C63x + CYW43012 as our WiFi + Bluetooth solution using UDBs and Wireless Host Driver(WHD).
Can someone confirm whether such a solution would work and if you have used something similar??
I would great appreciate if you can point to an example or app note that would help with getting me a head start.
Thank you!!
Show Lesshi Sir,
Please provide CYW43439 reference schematics.
thanks.
best Regards,
Howard
Hi Sir,
We are working on CYW4373 mfg testing .
Could you please provide powe on reset doc for hotplug requirement?
e.g
1)Rmod fmac ko
2)how about WL_REG_ON and host_wakup signal?
Best Regards,
Howard
Show LessHi, Communites,
Our customer wants to get IFW56810 module and AIROC CCM KIT.
I think they have to make a pre-order in the link as follows.
Is that right? Or do they have something else to do?
And they also want to know when they can get them. Do you tell me the lead time?
Best Regards,
T. Shibutani
Show Less
Hi Sir,
please provide cyBluetool for x86 ubuntu.
Thanks.
Best Regards,
Howard
Hi all,
With the recent announcement of the Raspberry Pico W using the CYW43439 chip for WiFi, I am interested in the technical exercise of getting my own code running on this chip.
When the CYW43439 boots up there is a binary firmware transferred to the chip, which I presume then runs on the ARM core. Is there any source code for this binary? If not, is there any documentation about what format it is in, so that I could compile my own code?
I am not so interested in trying to recreate the WiFi interface, but rather use the ARM core as an additional co-processor on the Raspberry Pico W device.
Show LessHi all,
Noticed the "Test Environment" in the https://community.infineon.com/gfawx74859/attachments/gfawx74859/WiFiBluetoothLinux/1911/2/cypress-fmac-v5.4.18-2021_0527.zip.
I'm curious about the criteria of kernel revision selection. Could you help me to understand it?
I would like to build a exactly the same test environment. Could you please share following (or more) detailed info?
- The hardware of ARM (MCIMX6SX-SDB) and X86
- The model
- The software of ARM (MCIMX6SX-SDB) and X86
- The OS and it's revision
- The FW/image or SDK for i.MX6?
"Test Environment
----------------
* ARM (MCIMX6SX-SDB)
* Linux v4.14.78 (NXP imx_4.14.78_1.0.0_ga)
* backports
* x86
* Linux v4.12
* backports
"
Thanks,
David Zou
Show Less