greatscottgadgets / ubertooth

Software, firmware, and hardware designs for Ubertooth
https://greatscottgadgets.com/ubertoothone/
GNU General Public License v2.0
1.92k stars 430 forks source link

Is it possible to use ubertooth-btle to send an advertisement? #459

Closed jensolsson closed 3 years ago

jensolsson commented 3 years ago

I would lite to craft a custom advertisement using my ubertooth. Is this possible with the command line utility or can someone give me a pointer on where to start with this?

mossmann commented 3 years ago

We do not currently have a command-line tool that allows transmission of arbitrary data. If you are open to doing some firmware development, we do have some relevant functions already available in the (bluetooth_rxtx) firmware. In particular, check out the le_transmit() function. There is also a low level transmit and receive example in cc2400_rangetest.c which is what I have modified in the past for one-off transmit needs.