Bluetooth: Difference between revisions

No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
Not to be confused with [[Bluetooth LE]], which is totally different except where it's the same.
==Ubertooth==
==Ubertooth==
===Firmware===
===Firmware===
<tt>[grimes](1) $ sudo ubertooth-scan  -s -x
<pre>[grimes](1) $ sudo ubertooth-scan  -s -x
Ubertooth API version 1.01 found, libubertooth 1.1 requires 1.06.
Ubertooth API version 1.01 found, libubertooth 1.1 requires 1.06.
Please upgrade to latest released firmware.
Please upgrade to latest released firmware.
See: https://github.com/greatscottgadgets/ubertooth/wiki/Firmware
See: https://github.com/greatscottgadgets/ubertooth/wiki/Firmware
[grimes](1) $ </tt>
[grimes](1) $ </pre>
Use <tt>ubertooth-dfu</tt> to update the firmware. Firmware can be built from an ubertooth checkout by running [[Make]] in the <tt>firmware</tt> directory (you'll need the <tt>gcc-arm-none-eabi</tt> package).
Use <tt>ubertooth-dfu</tt> to update the firmware. Firmware can be built from an ubertooth checkout by running [[Make]] in the <tt>firmware</tt> directory (you'll need the ARM toolchain; try the <tt>arm-none-eabi-newlib</tt> and <tt>arm-none-eabi-gcc</tt> packages).
<pre>Creating DFU firmware file: assembly_test.dfu
/usr/sbin/ubertooth-dfu -s assembly_test.bin
 
--------- Target Information ---------
ARM Model: cortex-m3
Board: UBERTOOTH_ONE
--------------------------------------
 
Size after:
  text   data     bss     dec     hex filename
  7968   1248   8640   17856   45c0 assembly_test.elf
 
-------- end --------
[grimes](0) $ sudo ubertooth-dfu -d bluetooth_rxtx/bluetooth_rxtx.dfu -r
Switching to DFU mode...
Checking firmware signature
........................................
........................................
.......................................
[grimes](0) $
</pre>