Spp send function

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

cross mob
KaGo_4359196
Level 3
Level 3
First like given Welcome!

Hello,

I am working on SPP example from the Wiced studio. This example is responsible to receive data and it sends the huge amount of data on the interrupt button.

But I would like to send the data as user input not as interrupt button, I tired to change the code and did some experiments but still I am not able to achieve it.

Could anyone please help me with this?

Thanks in advance.

0 Likes
1 Solution
lock attach
Attachments are accessible only for community members.
AnjanaM_61
Moderator
Moderator
Moderator
10 questions asked 5 comments on KBA First comment on KBA

Hi Kalpana,

Could you please clarify your query? Which chip you are using?

Do you mean you want to send data input from say UART over SPP ?

Attached is an SPP example for CYW20719 , check if the implementation helps your requirement.

Thanks,

Anjana

View solution in original post

6 Replies
lock attach
Attachments are accessible only for community members.
AnjanaM_61
Moderator
Moderator
Moderator
10 questions asked 5 comments on KBA First comment on KBA

Hi Kalpana,

Could you please clarify your query? Which chip you are using?

Do you mean you want to send data input from say UART over SPP ?

Attached is an SPP example for CYW20719 , check if the implementation helps your requirement.

Thanks,

Anjana

Hello Anjana,

Thank you so much for your reply.

I am using CYBT-333047-02 evaluation board. CYW20706 chip

Yes I want to send data from UART over SPP.

Thank you for the example. I will go through it and I will let you know if I need any further information.

0 Likes

Hello Anjana,

I tired with your example code also, I used serial bluetooth termial on android with real term terminal in PC  in order to see the communication , but I am not able to see any data on real term.

Can you tell me what I am doing wrong?

Thank you.

0 Likes

Hi Kalpana,

Can you test with Teraterm console?

Are you able to send data now?

Regards,

Anjana

0 Likes

I didn't tried with Teraterm console, I will try it and let you know about it.

But write now I am using EZ serial firmware, I can send the data now with this firmware.

Thank you so much for feedback.

0 Likes
lock attach
Attachments are accessible only for community members.

Hi Kalpana,

No issues.

You can continue on Ez-Serial or WICED application depending upon your requirements.

I have attached ported (to 20706 based modules) example project which send data on PUART interrupt.

I tested with Teraterm and Bluetooth Serial Terminal on PC and its working for me.

Thanks,

Anjana

0 Likes