Warning: Can't synchronize with repository "(default)" (No changeset 96d22ec3fa3ef6de3ea8dc0d7d398adc9aa071cf in the repository). Look in the Trac log for more information.

Ticket #46 (assigned enhancement)

Opened 5 years ago

Last modified 4 years ago

add DebugInjectResponse to allow injecting fake responses to a command

Reported by: mickey Owned by: mickey
Priority: minor Milestone:
Component: framework/ogsmd Version:
Keywords: org.freesmartphone.GSM.Debug Cc:

Description (last modified by mickey) (diff)

Zecke on #openmoko-devel:

mickeyl: the only thing missing would be to say, DebugInjectResponse?( s:channel, s:command, s:response, s:fakerespone, i:numberoftimes) mickeyl: number of times would say how often it should fail, one could add a fuzzlevel so every n-th response it is failing

Change History

comment:1 Changed 5 years ago by mickey

  • Status changed from new to assigned
  • Description modified (diff)

comment:2 Changed 4 years ago by daniel

What would this do better than Debug.InjectString??

comment:3 Changed 4 years ago by mickey

Debug.InjectString? can only be used to simulate unsolicited responses, Debug.InjectResponse? would enable us to simulate solicited responses.

comment:4 Changed 4 years ago by daniel

Ah, great thing then.

Note: See TracTickets for help on using tickets.