- The SccpUSapStatus structure is shown below.
typedef struct
{
U8 month; /* month */
U8 day; /* day */
U8 year; /* year - since 1900 */
U8 hour; /* hour - 24 hour clock */
U8 min; /* minute */
U8 sec; /* second */
U8 tenths; /* tenths of second */
U8 fill; /* alignment */
} DateTime;
typedef struct
{
DateTime dt; /* Date and Time */
S16 status; /* status */
} SccpUSapStatus;
Status values are bit-set:
#define SCCP_STA_BND 0x01 /* bind */
#define SCCP_STA_FLCOFF 0x02 /* flow control off */
#define SCCP_STA_GUARD 0x04 /* guarding */
#define SCCP_STA_BRT 0x08 /* Backup Routed */
#define SCCP_STA_GRNT 0x10 /* waiting for grant */
#define SCCP_STA_IGNR 0x20 /* ignore */
#define SCCP_STA_PROH 0x40 /* prohibited */
#define SCCP_STA_REST 0x80 /* restarting */