Loading pandora/server/bumble_experimental/asha.py +6 −3 Original line number Diff line number Diff line Loading @@ -211,7 +211,10 @@ class AshaService(AshaServicer): @utils.rpc async def Register(self, request: RegisterRequest, context: grpc.ServicerContext) -> Empty: logging.info("Register") # asha service from bumble profile if self.asha_service: self.asha_service.capability = request.capability self.asha_service.hisyncid = request.hisyncid else: self.asha_service = AshaGattService(request.capability, request.hisyncid, self.device) self.device.add_service(self.asha_service) # type: ignore[no-untyped-call] return Empty() Loading Loading
pandora/server/bumble_experimental/asha.py +6 −3 Original line number Diff line number Diff line Loading @@ -211,7 +211,10 @@ class AshaService(AshaServicer): @utils.rpc async def Register(self, request: RegisterRequest, context: grpc.ServicerContext) -> Empty: logging.info("Register") # asha service from bumble profile if self.asha_service: self.asha_service.capability = request.capability self.asha_service.hisyncid = request.hisyncid else: self.asha_service = AshaGattService(request.capability, request.hisyncid, self.device) self.device.add_service(self.asha_service) # type: ignore[no-untyped-call] return Empty() Loading