sending an image

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

cross mob
Anonymous
Not applicable

I'm using cyw920719q40evb-01 and I'm new to it.

how will i send an image using spp ?

Do u have any sample program for it?

0 Likes
1 Solution
SheetalJ
Moderator
Moderator
Moderator
First comment on KBA 750 replies posted 500 likes received

Hi harshithtram_3690486​,

You can send the array of data using SPP in CYW920719Q40EVB-01.

Please refer to demo app available in WICED: /20719-B1_Bluetooth/apps/snip/bt/spp

View solution in original post

8 Replies
SheetalJ
Moderator
Moderator
Moderator
First comment on KBA 750 replies posted 500 likes received

Hi harshithtram_3690486​,

You can send the array of data using SPP in CYW920719Q40EVB-01.

Please refer to demo app available in WICED: /20719-B1_Bluetooth/apps/snip/bt/spp

Anonymous
Not applicable

void app_send_data(void)

using this function?

0 Likes
SheetalJ
Moderator
Moderator
Moderator
First comment on KBA 750 replies posted 500 likes received

Yes you can use that function.

0 Likes
Anonymous
Not applicable

But how will link the image file to that function?

0 Likes
Anonymous
Not applicable

Dear Team,

We are trying to send .jpeg file from one module to other module, Chosen CYW20719 evaluation board for this project.

  • should we use external memory for storing image file(.jpeg) like SD card/PC or is there any way we can store the image file in the onboard memory for reading and sending the same.
  • if you suggest to use external memory; how do we read it?
  • i understand the above suggested function[void app_send_data(void)] is to send data, please advise me how to link the image file to this function and transfer it to other module.

0 Likes
SheetalJ
Moderator
Moderator
Moderator
First comment on KBA 750 replies posted 500 likes received

Hi harshithtram_3690486​,

You can send the data using app_send_buffer. You directly cannot send the image, so you have to serialize the image first and then use spp to transmit it serially.

We do not have SD card slot or something like that for CYW20719.

Anonymous
Not applicable

Does it have any inbuilt functions to serialize data? or how to do it?

0 Likes
SheetalJ
Moderator
Moderator
Moderator
First comment on KBA 750 replies posted 500 likes received

We do not have any inbuilt function to do the same. You will have to look for image serialization.