Stream data with Bluetooth LE

118 views
Skip to first unread message

Gianalberto Chini

unread,
Oct 3, 2023, 8:35:22 AM10/3/23
to btstack-dev

I'm trying to write an application for my thesis. I don't know if this is the best place to write my question

I've chosen the Raspberry pi Pico W platform to implement that but I'm unable to achieve what I want

I would like be able to transmit around 20kB of data from a Raspberry Pi Pico W called Client to one Raspberry Pi pico W called Server and later Server send back (after some processing) data again to the client.

My goal si to send 20kB of data fron the Client to the Server and from the Server to the client using BLE.

My question are

  • can i do that? I think that I can because I've bought a chinese labeler that transmit the data (even images) using BLE.
  • there is an example that i can use or that i can modify in order to get what i want?
  • how i can do?

I've still tried an adapted to the Raspberry Pi Pico W allmost all examples found in BTStack's github but I am unable to figure out why some does not work

I was able to make it work the standalone example found in the Raspberry Pi Pico W repository
I was able to send a GAP message in broadcast from a Broascaster and read it by an Observer

Thanks for your help in advance

Matthias Ringwald

unread,
Oct 4, 2023, 2:58:46 AM10/4/23
to btsta...@googlegroups.com
Hi Gianalberto

Of course you can stream data with BTstack. Please have a look at the gatt_streamer_server and le_gatt_streamer_client examples. The first one implements the Peripheral, while the second connects to it based on the advertising data.

Examples with documentation: https://bluekitchen-gmbh.com/btstack/#examples/examples/index.html
Please also read the source code and the rest of the manual.

Best
Matthias
> --
> You received this message because you are subscribed to the Google Groups "btstack-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to btstack-dev...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/btstack-dev/ddd0042d-7e61-433e-8413-8bcea9784c46n%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages