mjarkk/decode-vanmoof-blt-packages
A helper program for inspecting bluetooth sniff files when communicating with vanmoof bikes
Decode Bluetooth sniffs from and to a VanMoof bike
NOT an offical VanMoof service/product!
Usage
# Make sure you have installed golang and have setup your $GOPATH correctly
go install github.com/mjarkk/decode-vanmoof-blt-packages
decode-vanmoof-blt-packages \
-encryptionKey "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" \
-bikeId "34 56 78 9a bc de" \
-file "bt_snoop.log"Arguments
-file Required
This is the bluetooth sniff file you want to inspect.
This file should be in the BTSnoop file format.
-encryptionKey Recommended
Tries to decrypt the bluetooth packet values. Without this argument you can see wich characteristics that are send/recived but cannot really see the values unless you want to decrypt them yourself.
This should be the encryption key of your bike
This value can be obtained from the vanmoof api.
-bikeId
This property can be set if multiple vanmoof bikes are in your bluetooth sniff.
This should be the mac address of your bike, the mac address can be seperated with or :
-hideChallenges
Hide challenge requests and hide the challenge / nonce inside the write requests
-showOnlyFirstPartOfUuid
Only shows the first part of UUIDs as the remainder of the uuid always seems to stays the same.
Obtain bikeId and encryptionKey
- Login to mooovy.app using chrome
- Open the developer tools (F12)
- Go to the Application tab
- Go to the Local Storage tab and select Select the
https://mooovy.appentry - Click on
vm-bike-credentials - Copy the following values:
encryptionKey=encryptionKeymac=bikeId
How to sniff bluetooth?
Host: Macos, Client: Macos & IOS
- Download XCode Additional Tools
- Open
Hardware > PacketLogger - Start logging (Make sure your bike was not connected to your device at the moment you started logging!)
- In the menu bar select
File > Export > BTSnoop..or ⇧ Shift + ⌘ Command + E

