bg443/BikeBridge
1
10
Fork
You've already forked BikeBridge
3

Shimano support #7

Open
opened 2026年02月28日 18:08:38 +01:00 by bg443 · 2 comments
Owner
Copy link
No description provided.
Author
Owner
Copy link

Passkey

Supports 6 digit passkeys with digits 0-9 - official app says that it must not start with a 0

Implementation

Passkey is UTF8 encoded

Examples:
000000 -> 0x30 0x30 0x30 0x30 0x30 0x30
123456 -> 0x31 0x32 0x33 0x34 0x35 0x36

Read operation: 0x2af8
Write operation: 0x2af8

0x2af8 is 0x00002af85348494d414e4f5f424c4500

### Passkey Supports 6 digit passkeys with digits 0-9 - official app says that it must not start with a 0 #### Implementation Passkey is UTF8 encoded Examples: `000000` -> `0x30 0x30 0x30 0x30 0x30 0x30` `123456` -> `0x31 0x32 0x33 0x34 0x35 0x36` Read operation: `0x2af8` Write operation: `0x2af8` `0x2af8` is `0x00002af85348494d414e4f5f424c4500`
Author
Owner
Copy link

Cycle computer screens

Implementation (Read)

Trigger (tx): 0x00 0x13 0x05 0x0c 0x00 to 0x2afa

Response: 0x33 0x05 0x0e 0x97 0x00 0x00 0x00 0x26 0x2a 0xff where 0x97 is the current value for the enabled computer screens

0x2afa is 0x00002afa5348494d414e4f5f424c4500

Implementation (Write)

Removing "travelling time" from the screen: 0x00 0x13 0x05 0x08 0x96
Adding "travelling time" to the screen: 0x00 0x13 0x05 0x08 0x97

Bit masking

0x96 is a bit-masked field (i.e. 10010110 and each bit represents a screen on the computer)
0x97 is 10010111

The three 0 bits that are staying 0 are likely to be the always on screens that can't be changed (total distance, travelling distance, and range)

Bit mask values
Hex Binary Value
0x97 10010111 All enabled
0x96 10010110 Travelling time disabled
0x95 10010101 Average speed disabled
0x93 10010011 Maximum speed disabled
0x87 10000111 Cadence disabled
0x17 00010111 Current time disabled

Wireshark

Support added to dissector in this commit

### Cycle computer screens #### Implementation (Read) Trigger (tx): `0x00 0x13 0x05 0x0c 0x00` to `0x2afa` Response: `0x33 0x05 0x0e 0x97 0x00 0x00 0x00 0x26 0x2a 0xff` where `0x97` is the current value for the enabled computer screens `0x2afa` is `0x00002afa5348494d414e4f5f424c4500` #### Implementation (Write) Removing "travelling time" from the screen: `0x00 0x13 0x05 0x08 0x96` Adding "travelling time" to the screen: `0x00 0x13 0x05 0x08 0x97` #### Bit masking `0x96` is a bit-masked field (i.e. `10010110` and each bit represents a screen on the computer) `0x97` is `10010111` The three `0` bits that are staying `0` are likely to be the always on screens that can't be changed (total distance, travelling distance, and range) ###### Bit mask values | Hex | Binary | Value | |----------|----------------|---------------------------------| | `0x97` | `10010111` | All enabled | | `0x96` | `10010110` | Travelling time disabled | | `0x95` | `10010101` | Average speed disabled | | `0x93` | `10010011` | Maximum speed disabled | | `0x87` | `10000111` | Cadence disabled | | `0x17` | `00010111` | Current time disabled | #### Wireshark Support added to dissector in [this commit](https://codeberg.org/bg443/emtb-dissectors/commit/859ef9a332059c208053851aa4a11db5bce7c855)
Sign in to join this conversation.
No Branch/Tag specified
master
v0.0.6
v0.0.5
v0.0.4
v0.0.3
v0.0.2
v0.0.1
Labels
Clear labels
No items
No labels
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
bg443/BikeBridge#7
Reference in a new issue
bg443/BikeBridge
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?