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, BluetoothDeviceConnectionResponse,
BluetoothDeviceRequest, BluetoothDeviceRequest,
BluetoothGATTGetServicesRequest, BluetoothGATTGetServicesRequest,
BluetoothGATTGetServicesDoneResponse,
BluetoothGATTGetServicesResponse, BluetoothGATTGetServicesResponse,
BluetoothGATTNotifyDataResponse, BluetoothGATTNotifyDataResponse,
BluetoothGATTNotifyRequest, BluetoothGATTNotifyRequest,
@ -210,13 +211,14 @@ MESSAGE_TYPE_TO_PROTO = {
69: BluetoothDeviceConnectionResponse, 69: BluetoothDeviceConnectionResponse,
70: BluetoothGATTGetServicesRequest, 70: BluetoothGATTGetServicesRequest,
71: BluetoothGATTGetServicesResponse, 71: BluetoothGATTGetServicesResponse,
72: BluetoothGATTReadRequest, 72: BluetoothGATTGetServicesDoneResponse,
73: BluetoothGATTReadResponse, 73: BluetoothGATTReadRequest,
74: BluetoothGATTWriteRequest, 74: BluetoothGATTReadResponse,
75: BluetoothGATTReadDescriptorRequest, 75: BluetoothGATTWriteRequest,
76: BluetoothGATTWriteDescriptorRequest, 76: BluetoothGATTReadDescriptorRequest,
77: BluetoothGATTNotifyRequest, 77: BluetoothGATTWriteDescriptorRequest,
78: BluetoothGATTNotifyDataResponse, 78: BluetoothGATTNotifyRequest,
79: SubscribeBluetoothConnectionsFreeRequest, 79: BluetoothGATTNotifyDataResponse,
80: BluetoothConnectionsFreeResponse, 80: SubscribeBluetoothConnectionsFreeRequest,
81: BluetoothConnectionsFreeResponse,
} }