Fix message ids

This commit is contained in:
Jesse Hills 2022-09-28 17:11:16 +13:00
parent 52b4ca279d
commit 46de2dd49d
No known key found for this signature in database
GPG Key ID: BEAAE804EFD8E83A

View File

@ -4,6 +4,7 @@ from .api_pb2 import ( # type: ignore
BluetoothDeviceConnectionResponse,
BluetoothDeviceRequest,
BluetoothGATTGetServicesRequest,
BluetoothGATTGetServicesDoneResponse,
BluetoothGATTGetServicesResponse,
BluetoothGATTNotifyDataResponse,
BluetoothGATTNotifyRequest,
@ -210,13 +211,14 @@ MESSAGE_TYPE_TO_PROTO = {
69: BluetoothDeviceConnectionResponse,
70: BluetoothGATTGetServicesRequest,
71: BluetoothGATTGetServicesResponse,
72: BluetoothGATTReadRequest,
73: BluetoothGATTReadResponse,
74: BluetoothGATTWriteRequest,
75: BluetoothGATTReadDescriptorRequest,
76: BluetoothGATTWriteDescriptorRequest,
77: BluetoothGATTNotifyRequest,
78: BluetoothGATTNotifyDataResponse,
79: SubscribeBluetoothConnectionsFreeRequest,
80: BluetoothConnectionsFreeResponse,
72: BluetoothGATTGetServicesDoneResponse,
73: BluetoothGATTReadRequest,
74: BluetoothGATTReadResponse,
75: BluetoothGATTWriteRequest,
76: BluetoothGATTReadDescriptorRequest,
77: BluetoothGATTWriteDescriptorRequest,
78: BluetoothGATTNotifyRequest,
79: BluetoothGATTNotifyDataResponse,
80: SubscribeBluetoothConnectionsFreeRequest,
81: BluetoothConnectionsFreeResponse,
}