Question about wiced_tcp_set_type_of_service

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
MaFa_974161
Level 5
Level 5
100 sign-ins 50 replies posted 50 questions asked

Hello.

I have to develop an "oscilloscope-like application" with WICED.

The application has to send 1024Byte wide packets over WiFi Direct.

The packets are generated at a rate of 30 pakets/sec.

The 1024 bytes in the packets are to be plotted on a Tablet in a RealTime way.

My first question is : is it preferible to use TCP or UDP ??

For now I'm using TCP an I see wiced_tcp_set_type_of_service API that can tell to TCP stack how treat packets (Like Video Stream, Audio, ...).

I understand that I have to use Video Sream ... I'm correct ??

0 Likes
1 Solution
Zhengbao_Zhang
Moderator
Moderator
Moderator
250 sign-ins First comment on KBA 10 questions asked

Hello:

    My suggestion is UDP , yes, video stream,  we have customers who are using the wifi on camera project.

UDP is preferred,  because in a noisy environment the T/P is not always stable, if you do re-transmission always,  the pic or video will be blocked in a higher frequence.

View solution in original post

0 Likes
1 Reply
Zhengbao_Zhang
Moderator
Moderator
Moderator
250 sign-ins First comment on KBA 10 questions asked

Hello:

    My suggestion is UDP , yes, video stream,  we have customers who are using the wifi on camera project.

UDP is preferred,  because in a noisy environment the T/P is not always stable, if you do re-transmission always,  the pic or video will be blocked in a higher frequence.

0 Likes