CYW4343 Exemple for P2P

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

cross mob
sape_4812941
Level 2
Level 2
10 sign-ins 5 questions asked 5 sign-ins

Hi everyone,

I need to transfer large file from an android phone to my module. I would like to use the P2P connection, but I cannot find any example to help me. Do you have any examples or suggestion to accomplish this task. A simple starting point could be verry helpful.

Thanks

0 Likes
1 Solution

Hello:

   From my thinking , the P2P function are divided into three steps:

1.  P2P connection create ,  Wiced should support well already .

2.  create TCP or UDP socket based on WICED_P2P_Interface , which is used on file transfer.

     I can't find memo or code example , so no experience on it .

3.  compatible with other P2P devices like Android phone, Windows.

     We should already support TCP socket built up with WICED_STA, WICED AP interface,  not sure if P2P interface can work well because

no experience can be referenced.

View solution in original post

0 Likes
3 Replies
Zhengbao_Zhang
Moderator
Moderator
Moderator
250 sign-ins First comment on KBA 10 questions asked

Hello:

What is the OS that 43438 is working with ?

0 Likes

Hi,

I'm using the Sterling-EWB from Laird (STM32F412 Cortex M4) with Android 8 phone but should not depend on the phone. I try the console app P2P function yesterday and manage to connect the phone. Now I need to create my own project. Once I manage the connection, I have no clue on wich protocole to use for transfering the data. Any help would be appreciate. 

0 Likes

Hello:

   From my thinking , the P2P function are divided into three steps:

1.  P2P connection create ,  Wiced should support well already .

2.  create TCP or UDP socket based on WICED_P2P_Interface , which is used on file transfer.

     I can't find memo or code example , so no experience on it .

3.  compatible with other P2P devices like Android phone, Windows.

     We should already support TCP socket built up with WICED_STA, WICED AP interface,  not sure if P2P interface can work well because

no experience can be referenced.

0 Likes