forked from Hay1tsme/artemis
adb: add catch for uninitialized amlib requests
This commit is contained in:
parent
37e2da2051
commit
dac655b4ae
@ -85,6 +85,9 @@ class AimedbProtocol(Protocol):
|
|||||||
|
|
||||||
return
|
return
|
||||||
|
|
||||||
|
if head.keychip_id == "ABCD1234567" or head.store_id == 0xfff0:
|
||||||
|
self.logger.warning(f"Request from uninitialized AMLib: {vars(head)}")
|
||||||
|
|
||||||
handler, resp_code, name = self.request_list.get(head.cmd, (self.handle_default, None, 'default'))
|
handler, resp_code, name = self.request_list.get(head.cmd, (self.handle_default, None, 'default'))
|
||||||
|
|
||||||
if resp_code is None:
|
if resp_code is None:
|
||||||
|
Loading…
Reference in New Issue
Block a user