Skip to content

Commit 81cd8fd

Browse files
authored
Merge pull request #60 from sesse/master
Support Bose's proprietary battery protocol.
2 parents b90b07a + 60006c6 commit 81cd8fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bluetooth_battery.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def get_at_command(sock, line, device):
4444
send(sock, b"+BIND: 2,1")
4545
send(sock, b"OK")
4646
elif b"XAPL=" in line:
47-
send(sock, b"+XAPL: iPhone,7")
47+
send(sock, b"+XAPL=iPhone,7")
4848
send(sock, b"OK")
4949
elif b"IPHONEACCEV" in line:
5050
parts = line.strip().split(b',')[1:]

0 commit comments

Comments
 (0)