Project

General

Profile

Actions

Bug #4414

closed

remsim-client-st2 doesn't perform modem reset after bankd reconnect

Added by laforge about 4 years ago. Updated about 4 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Category:
remsim-client
Target version:
-
Start date:
02/21/2020
Due date:
% Done:

100%

Spec Reference:

Description

If I execute the following sequence of events:
  • start remsim-client/server/bankd
  • create a slotmap
    • modem is automatically reset at that point
  • modem starts to talk to remote sim
  • at some point, delete slotmap
  • create a new slotmap (could be the same as the old, or to a different card
    • modem is not automatically reset at that point

This lack of a modem reset means that the communication fails for a long time until some timeout is hit: As the modem may hve issued a not-yet-completed APDU to the first SIM card, it never receives any response.

Actions #1

Updated by laforge about 4 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 10

This requires the introduction of a proper state machine for the 'main' program of remsim-client. I'm working on it.

Actions #2

Updated by laforge about 4 years ago

  • % Done changed from 10 to 40

work-in-progress code in laforge/client-fsm branch. Currently undergoing manual testing.

Actions #3

Updated by laforge about 4 years ago

  • Priority changed from High to Urgent
Actions #4

Updated by laforge about 4 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 40 to 100

patches for main_fsm merged

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)