laforge submitted this change.

View Change


Approvals: laforge: Looks good to me, approved Jenkins Builder: Verified
es9p_client: Use a plausible TAC (copy from lpac)

Some SM-DP+ (notably Idemia) fail if the TAC is not valid.

Change-Id: I48890c4a56147410d0cd5c4e47647b8eb5ad9998
---
M contrib/es9p_client.py
1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/contrib/es9p_client.py b/contrib/es9p_client.py
index a221035..987b85e 100755
--- a/contrib/es9p_client.py
+++ b/contrib/es9p_client.py
@@ -147,7 +147,7 @@
('ctxParamsForCommonAuthentication', {
'matchingId': opts.matchingId,
'deviceInfo': {
- 'tac': b'\x00'*8,
+ 'tac': b'\x35\x23\x01\x45', # same as lpac
'deviceCapabilities': {},
#imei:
}

To view, visit change 37166. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: pysim
Gerrit-Branch: master
Gerrit-Change-Id: I48890c4a56147410d0cd5c4e47647b8eb5ad9998
Gerrit-Change-Number: 37166
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge@osmocom.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge@osmocom.org>
Gerrit-MessageType: merged