Example #1
0
 public void ClassRequest(APDUWrapper request, FunctionCode fc, ClassField classes, byte seq)
 {
     request.SetControl(new AppControlField(true, true, false, false, seq));
     request.SetFunction(fc);
     //auto writer = request.GetWriter();
     //WriteClassHeaders(writer, classes);
 }
Example #2
0
 public void EnableUnsolicited(APDUWrapper request, ClassField classes, byte seq)
 {
     ClassRequest(request, FunctionCode.ENABLE_UNSOLICITED, classes, seq);
 }
Example #3
0
 public void Set(ClassField cf)
 {
     bitfield |= (byte)cf.bitfield;
 }
Example #4
0
 public void Clear(ClassField cf)
 {
     bitfield &= (byte)~(cf.bitfield);
 }
Example #5
0
 public bool Intersects(ClassField f)
 {
     return((bitfield & f.bitfield) > 0);
 }
Example #6
0
 public void DisableUnsolicited(APDUWrapper request, byte seq)
 {
     ClassRequest(request, FunctionCode.DISABLE_UNSOLICITED, ClassField.AllEventClasses(), seq);
 }
Example #7
0
 public void ReadIntegrity(APDUWrapper request, ClassField classes, byte seq)
 {
     ClassRequest(request, FunctionCode.READ, classes, seq);
 }