add get status command to gp command set
This commit is contained in:
parent
f0c61b868c
commit
dbfad2a8b0
|
@ -143,6 +143,12 @@ func (cs *CommandSet) InstallForInstall(packageAID, appletAID, instanceAID, para
|
|||
return cs.checkOK(resp, err)
|
||||
}
|
||||
|
||||
func (cs *CommandSet) GetStatus() error {
|
||||
cmd := NewCommandGetStatus([]byte{}, P1GetStatusIssuerSecurityDomain)
|
||||
resp, err := cs.sc.Send(cmd)
|
||||
return cs.checkOK(resp, err)
|
||||
}
|
||||
|
||||
func (cs *CommandSet) Channel() types.Channel {
|
||||
return cs.c
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue