You are here: CSP API Reference > 1 EXS & SwitchKit API Messages > Recorded Announcement File System Defragment 0x0103
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
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
0x0C Defragmentation in Progress |
Number of AEs |
10 |
Checksum |
|
AE |
|||
: |
Checksum |