# MANUAL Bluetooth / Battery add-on 'Blue Shark' _rev. v1.1_ ## Table of Contents * [1. FEATURES](#1-features) * [2. PARAMETERS](#2-parameters) * [3. ASSEMBLY STEPS](#3-assembly-steps) * [4. COMPILATION / FLASHING](#4-compilation--flashing) * [4.1 From Source](#41-from-source) * [4.2 Homebrew (macOS)](#42-homebrew-macos) * [5. CONNECT WITH BLUETOOTH](#5-connect-with-bluetooth) * [5.1 Windows](#51-windows) * [5.1.1 Connecting your RDV4.0 with Bluetooth on mobile phone or computer](#511-connecting-your-rdv40-with-bluetooth-on-mobile-phone-or-computer) * [5.1.2 Fast connection using dedicated USB Bluetooth adapter under Windows](#512-fast-connection-using-dedicated-usb-bluetooth-adapter-under-windows) * [5.2 Linux](#52-linux) * [5.2.1 Connecting rdv4.0 with Bluetooth on Linux computer via native Bluetooth support in the client](#521-connecting-rdv40-with-bluetooth-on-linux-computer-via-native-bluetooth-support-in-the-client) * [5.2.2 Fast connection using dedicated USB Bluetooth adapter under Linux](#522-fast-connection-using-dedicated-usb-bluetooth-adapter-under-linux) * [5.2.3 (deprecated) Connecting rdv4.0 with Bluetooth on Linux computer via rfcomm](#523-deprecated-connecting-rdv40-with-bluetooth-on-linux-computer-via-rfcomm) * [5.3 MacOS](#53-macos) * [5.3.1 Connecting rdv4.0 with Bluetooth on MacOS](#531-connecting-rdv40-with-bluetooth-on-macos) * [5.4 Android](#54-android) * [5.4.1 Fast connection using dedicated Bluetooth (HC-06 Master CP2102) adapter under Android with Termux](#541-fast-connection-using-dedicated-bluetooth-hc-06-master--cp2102-adapter-under-android-with-termux) * [6. OTHER NOTES](#6-other-notes) * [6.1 Default settings](#61-default-settings) * [6.2 UART and LED behavior](#62-uart-and-led-behavior) * [6.3 Disassembly](#63-disassembly) * [6.4 Battery charging](#64-battery-charging) * [6.5 Get better signals](#65-get-better-signals) ## 1. FEATURES ^[Top](#top) * Built-in Bluetooth 2.0 with EDR Bluetooth module, default baud rate 115200. * Built-in 400 mAh polymer lithium-ion battery, typical standby time up to 3.5 hours. * Additional heat dissipating fins can significantly reduce the temperature when the HF antenna is in operation for a long time. * Complete lithium charging management system, seamless switching power supply. Full overcharge and overdischarge protection. * Bluetooth has an independent power switch that can be turned on or off. * It's compact and easy to carry. The clamp structure is easy to install and replace. It can easily connect to Bluetooth mobile phone, portable computer, etc. Without USB cable, complicated permissions or driver settings. Built-in battery can support standalone mode, off-line sniffing, off-line reading & simulation, etc. The temperature of the device is stable. ## 2. PARAMETERS ^[Top](#top) * Battery capacity: 400 mAh * Standby time: 3.5h @ StandBy; 2.9h @ LF-On; 50min @ HF-On; * Charging Current: 200mA (Plug in USB Default Charging) * Charging time: 2.5h * Num of charges: 400 -> 70% capacity (standard LIPO) * Bluetooth power: 4dBm, -85 dBm @ 2Mbps * Bluetooth distance: 6m (depending on the environment and device orientation) * Size and weight: 54.4mm * 29.4mm * 13.5mm 24g ## 3. ASSEMBLY STEPS ^[Top](#top) * Unplug your Proxmark3 RDV4.0 device from any usb cable. * Remove the plastic upper case of Proxmark3 RDV4.0 with opener. * Remove temporarily the antenna with a H5 (Hex/Allen) screwdriver to expose the FPC interface.
* Turn off all power switches, insert the FPC wire into the FPC connector, and lock the FPC connector.
* Tear off the blue film of heat conductive double-sided tape. Align the add-on to the hole positions and gently insert it into the case.
* Assembly finished!
## 4. COMPILATION / FLASHING ^[Top](#top) #### 4.1 From Source ^[Top](#top) Please download the latest source code from Rfid Research Group's Github repo: https://github.com/RfidResearchGroup/proxmark3 To compile the client and firmware with FPC support, the easiest way is to 1. Copy the sample file: `Makefile.platform.sample` ⇒ `Makefile.platform` * `cp Makefile.platform.sample Makefile.platform` 2. Edit `Makefile.platform`, uncomment the line `#PLATFORM_EXTRAS=BTADDON` by removing the `#` 3. Recompile the project: * `make clean; make -j` 4. Flash the firmware * `./pm3-flash-fullimage` You are now ready to run the client with the serial port you got from your BT device on your laptop etc. See instructions below. #### 4.2 Homebrew (macOS) ^[Top](#top) From the [homebrew-proxmark3 readme](https://github.com/RfidResearchGroup/homebrew-proxmark3) 1. `brew tap rfidresearchgroup/proxmark3` 2. `brew install --with-blueshark proxmark3` ## 5. CONNECT WITH BLUETOOTH ^[Top](#top) You can have both USB cable connect and BT active at the same time and connect to either serial port. You can also switch serial port from inside the proxmark3 client using the new command `hw connect`. ### 5.1 Windows ^[Top](#top) #### 5.1.1 Connecting your RDV4.0 with Bluetooth on mobile phone or computer ^[Top](#top) * Open Bluetooth and search for a device named PM3_RDV4.0. * Enter the paired password 1234 and establish the connection. * The blue state LED on the add-on will keep blinking after the connection is established. Only when the mobile phone or computer opens the correct COM port, the blue LED turns on solid, indicating that the connection is successful. * First time you do this you might need to go into Bluetooth more settings and add a outgoing com port. If so, follow these steps below. * First open your bluetooth settings, click on "more options".
* Go to second tab and view the list of current bluetooth comports. If you don't have an outgoing com port setup, click 'add'
* Select `outgoing comport` and select the Proxmark3 RDV4.0 device. Click `OK` when done.
* Verify that you now have a outgoing comport. Remember this com port when you want to use your Proxmark3.
* done! #### 5.1.2 Fast connection using dedicated USB Bluetooth adapter under Windows ^[Top](#top)
* Install driver: http://www.silabs.com/products/development-tools/software/usb-to-uart-bridge-vcp-drivers * Insert the adapter into the USB port. The adapter will search automatically and establish the connection. The adapter will remember the device that was first connected and after that the same device will be connected. * The adapter button can be used to delete memory so that other add-on can be searched and connected.
* After the connection is established, the blue state LED on add-on will turn on solid.
* look for _CP2104 USB tp UART bridge controller_ under devices in order to get the assigned serial port
### 5.2 Linux
^[Top](#top)
#### 5.2.1 Connecting rdv4.0 with Bluetooth on Linux computer via native Bluetooth support in the client
^[Top](#top)
This requires to have compiled the client with Bluetooth support.
Be sure your user has permissions to use Bluetooth
* On most distributions, you've to be part of group `bluetooth`: `sudo adduser $USER bluetooth` then log out and log in
* else, run the following commands as root : `sudo ...`
1. Find the MAC address of the Bluetooth add-on, named PM3_RDV4.0.
```sh
hcitool scan
Scanning ...
aa:bb:cc:dd:ee:ff PM3_RDV4.0
```
Instead of `aa:bb:cc:dd:ee:ff`, you'll see your MAC address.
If you don't have `hcitool`, you can use `bluetoothctl` and `scan on` as shown in next section.
2. Use Proxmark client with Bluetooth MAC address as bt: