Skip to content

Instantly share code, notes, and snippets.

@ddrown
Created July 17, 2023 20:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ddrown/780519fdb33a9ca03f4b7076a7542417 to your computer and use it in GitHub Desktop.
Save ddrown/780519fdb33a9ca03f4b7076a7542417 to your computer and use it in GitHub Desktop.
Initial exchange between ChargePro2.0 app and HQST solar charge controller
Frame 291: 20 bytes on wire (160 bits), 20 bytes captured (160 bits)
Encapsulation type: Bluetooth H4 with linux header (99)
Arrival Time: Jul 17, 2023 12:46:40.229311000 CDT
[Time shift for this packet: 0.000000000 seconds]
Epoch Time: 1689616000.229311000 seconds
[Time delta from previous captured frame: 0.011403000 seconds]
[Time delta from previous displayed frame: 0.012984000 seconds]
[Time since reference or first frame: 12.425451000 seconds]
Frame Number: 291
Frame Length: 20 bytes (160 bits)
Capture Length: 20 bytes (160 bits)
[Frame is marked: False]
[Frame is ignored: False]
Point-to-Point Direction: Sent (0)
[Protocols in frame: bluetooth:hci_h4:bthci_acl:btl2cap:btatt]
Bluetooth
Bluetooth HCI H4
[Direction: Sent (0x00)]
HCI Packet Type: ACL Data (0x02)
Bluetooth HCI ACL Packet
.... 0000 0000 0011 = Connection Handle: 0x003
..00 .... .... .... = PB Flag: First Non-automatically Flushable Packet (0)
00.. .... .... .... = BC Flag: Point-To-Point (0)
Data Total Length: 15
Data
[Connect in frame: 206]
[Source BD_ADDR: 88:54:1f:46:9f:0d]
[Source Device Name: Pixel 4a]
[Source Role: Unknown (0)]
[Destination BD_ADDR: 01:b6:ec:e0:9c:fd]
[Destination Device Name: PVChargePro]
[Destination Role: Unknown (0)]
[Current Mode: Unknown (-1)]
Bluetooth L2CAP Protocol
Length: 11
CID: Attribute Protocol (0x0004)
Bluetooth Attribute Protocol
Opcode: Write Command (0x52)
0... .... = Authentication Signature: False
.1.. .... = Command: True
..01 0010 = Method: Write Request (0x12)
Handle: 0x000f (Unknown: Unknown)
[Service UUID: Unknown (0xffe0)]
[UUID: Unknown (0xffe1)]
Value: 0103000a000b240f
0000 02 03 00 0f 00 0b 00 04 00 52 0f 00 01 03 00 0a .........R......
0010 00 0b 24 0f ..$.
Frame 309: 32 bytes on wire (256 bits), 32 bytes captured (256 bits)
Encapsulation type: Bluetooth H4 with linux header (99)
Arrival Time: Jul 17, 2023 12:46:40.351903000 CDT
[Time shift for this packet: 0.000000000 seconds]
Epoch Time: 1689616000.351903000 seconds
[Time delta from previous captured frame: 0.000333000 seconds]
[Time delta from previous displayed frame: 0.032235000 seconds]
[Time since reference or first frame: 12.548043000 seconds]
Frame Number: 309
Frame Length: 32 bytes (256 bits)
Capture Length: 32 bytes (256 bits)
[Frame is marked: False]
[Frame is ignored: False]
Point-to-Point Direction: Received (1)
[Protocols in frame: bluetooth:hci_h4:bthci_acl:btl2cap:btatt]
Bluetooth
Bluetooth HCI H4
[Direction: Rcvd (0x01)]
HCI Packet Type: ACL Data (0x02)
Bluetooth HCI ACL Packet
.... 0000 0000 0011 = Connection Handle: 0x003
..10 .... .... .... = PB Flag: First Automatically Flushable Packet (2)
00.. .... .... .... = BC Flag: Point-To-Point (0)
Data Total Length: 27
Data
[Connect in frame: 206]
[Source BD_ADDR: 01:b6:ec:e0:9c:fd]
[Source Device Name: PVChargePro]
[Source Role: Unknown (0)]
[Destination BD_ADDR: 88:54:1f:46:9f:0d]
[Destination Device Name: Pixel 4a]
[Destination Role: Unknown (0)]
[Current Mode: Unknown (-1)]
Bluetooth L2CAP Protocol
Length: 23
CID: Attribute Protocol (0x0004)
Bluetooth Attribute Protocol
Opcode: Handle Value Notification (0x1b)
0... .... = Authentication Signature: False
.0.. .... = Command: False
..01 1011 = Method: Handle Value Notification (0x1b)
Handle: 0x000f (Unknown: Unknown)
[Service UUID: Unknown (0xffe0)]
[UUID: Unknown (0xffe1)]
Value: 0103162814180c2020204d2d323434304e202020
0000 02 03 20 1b 00 17 00 04 00 1b 0f 00 01 03 16 28 .. ............(
0010 14 18 0c 20 20 20 4d 2d 32 34 34 30 4e 20 20 20 ... M-2440N
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment