help-snacc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to convert sample from c output SNACC 1.3 to SNACC 1.6 output cpp


From: Angus Comber
Subject: How to convert sample from c output SNACC 1.3 to SNACC 1.6 output cpp
Date: Thu, 28 Dec 2006 18:48:59 -0000

Hello

I am attempting to convert a sample on sourcefourge called CSTATest.  It has
this function:

/* Fill, encode and send the APDU to the CSTA server */
void processAPDU(void *args, AsnInt serviceID)
{
 ROIVapdu pdu;
 SBuf encbuf;
 AsnLen len;

 /* Initialize the pdu struct */
 pdu.invokeID = NEXT_REQUESTID;
 pdu.serviceID = serviceID;
 pdu.serviceArgs.value = args;

etc

CSTATest is using ASN.1 spec for CSTA II and SNACC v1.3

I tried using SNACC v1.6 to generate C code but I cannot find anywhere
NEXT_REQUEST.  I realise this is more a CSTA question but I am wondering how
important the NEXT_REQUESTID qualifier is.  I cannot find all the headers
for CSTATest and cannot compile so cannot find NEXT_REQUESTID anywhere.

Anyone have any suggestions?

Angus






reply via email to

[Prev in Thread] Current Thread [Next in Thread]