Skip to content

Changes

Summary

  1. dissector: add support for sim polarity (details)
  2. firmware: allow to change the sim presence pin polarity (details)
  3. simtrace2-cardem-pcsc: allow to set sim presence polarity (details)
Commit 0cd501ef8012ce1114e9c5f50d372173d89e7bf8 by lynxis
dissector: add support for sim polarity

Needs testing.

Related: SYS#6946
Change-Id: If3ae350d0f4d737bc9e80c4f5d73cc1a39d076af
The file was modified contrib/simtrace.lua
Commit ec9b0b5254ad270adb7eb06f657481de37f10f6d by lynxis
firmware: allow to change the sim presence pin polarity

The sim presence pin allows the simtrace2 to inform the modem
about the presence of the simcard. On a generic simcard slot a
button is pressed by the simcard which generate a high or low voltage level.
Even though there are specifications of minipcie or ngff defining this signal, certain
modems behave different.
Certain modems require different signals from the specification.

Extend the usb protocol to set the behaviour at runtime.

Related: SYS#6946
Change-Id: I77118114ba873fdf0778137402888b40f2442456
The file was modified firmware/libcommon/source/mode_cardemu.c
The file was modified firmware/test/card_emu_tests.c
The file was modified TODO-RELEASE
The file was modified firmware/libcommon/include/simtrace.h
The file was modified firmware/libcommon/include/simtrace_prot.h
The file was modified firmware/libcommon/source/card_emu.c
The file was modified firmware/test/Makefile
Commit f9885fe019f42e247b74df6877167d786cb5f0ee by lynxis
simtrace2-cardem-pcsc: allow to set sim presence polarity

Add api call osmo_st2_cardem_request_config2(struct cardemu_usb_msg_config *)
which contains a full cardemu_usb_msg_config.

Related: SYS#6946
Change-Id: Iacde63e667472a85a5f18cb4ca99dcfa1a84dd59
The file was modified host/lib/simtrace2_api.c
The file was modified host/src/simtrace2-cardem-pcsc.c
The file was modified TODO-RELEASE
The file was modified host/include/osmocom/simtrace2/simtrace2_api.h