from doipclient import DoIPClient
address, announcement = DoIPClient.get_entity()
logical_address = announcement.logical_address
ip, port = address
print(ip, port, logical_address) # ip, port, logical_address can be displayed correctly.
# Then I executed this line of code and it started reporting errors
client = DoIPClient(ip, logical_address)
# The error is
result = self.request_activation(self._activation_type, disable_retry=True)
if result.response_code != RoutingActivationResponse.ResponseCode.Success:
raise ConnectionRefusedError(
f"Activation Request failed with code {result.response_code}"
)
routing activation request is 02 FD 00 05 00 00 00 07 0e 00 00 00 00 00 00
routing activation response is 02 FD 00 06 00 00 00 09 0e 00 10 10 00 00 00 00 00
What does this mean, if you see it help answer it, thank you very much.
I checked the result is
routing activation request is 02 FD 00 05 00 00 00 07 0e 00 00 00 00 00 00 routing activation response is 02 FD 00 06 00 00 00 09 0e 00 10 10 00 00 00 00 00 What does this mean, if you see it help answer it, thank you very much.