Recorded Announcement File System Defragment 0x0103

SwitchKit Name

RecAnnFSDefrag

Type

EXS API and SwitchKit API message

Description

Recorded Announcement File System Defragment 0x0103

This message recovers unused memory in the file system used by the VRAS SIMM’s Flash memory on the DSP-ONE card. It is used after single Recorded Announcements (RANs) have been marked for deletion using the Recorded Announcement Single Delete (0x0117) message. The VRAS SIMM must first be taken out of service with the Service State Configure message. The host should wait for an Alarm message of "Recorded Announcement Defragment Complete" before bringing the VRAS SIMM in service. If defragmentation fails, the host receives an Alarm message of "Recorded Announcement File Defragmentation Failure" and the host should take action appropriate to the failure reason. The failure reason is in the Failure Code field of the Alarm message.

Sent by

Host

SwitchKit Code

C Structure

typedef struct {

UBYTE Slot;

UBYTE SIMM;

UBYTE reserved19[251];

} XL_RecAnnFSDefrag;

C Structure Response

typedef struct {

unsigned short Status;

UBYTE Data[251];

} XL_RecAnnFSDefragAck;

 

C++ Class

class XLC_RecAnnFSDefrag : public XLC_OutboundMessage {

public:

UBYTE getSlot() const;

void setSlot(UBYTE x);

UBYTE getSIMM() const;

void setSIMM(UBYTE x);

};

C++ Class Response

class XLC_RecAnnFSDefragAck : public XLC_AcknowledgeMessage {

public:

unsigned short getStatus() const;

void setStatus(unsigned short x);

const UBYTE *getData() const;

UBYTE *getData();

void setData(UBYTE *x);

};

 

EXS API Hex Format

MESSAGE (White)

RESPONSE (Gray)

Byte

Field Description

Byte

Field Description

0

Frame (0xFE)

0

Frame (0xFE)

1, 2

Length (0x000B)

1, 2

Length (0x0007)

3, 4

Message Type (0x0103)

3, 4

Message Type (0x0103)

5

Reserved (0x00)

5

Reserved (0x00)

6

Sequence Number

6

Same Sequence Number

7

Logical Node ID

7

Logical Node ID

:

AIB (

Address Method

0x00 - Individual AEs

8, 9

Status MSB, LSB

0x0B File System Conversion in Progress
Trying to perform a VRAS function
while the Flash memory on the
VRAS SIMM is in the process of file
system conversion.

 

0x0C Defragmentation in Progress
Trying to perform a VRAS function
while the Flash memory on the
VRAS SIMM is defragmenting.

0x0E Invalid VRAS File System
The Flash Memory File System does
not support defragmentation.

Number of AEs

10

Checksum

AE

0x12 DSP SIMM

:

Checksum