NSData(RACPCommands) Category Reference

Declared in NSData+RACPCommands.h

Overview

NSData+RACPCommands constructs record access control point commands and returns a cooresponding NSData object

Report Stored Records Commands

+ reportAllStoredRecords

Command for reporting all stored records

+ (NSData *)reportAllStoredRecords

Return Value

The command as a NSData object

Declared In

NSData+RACPCommands.h

+ reportStoredRecordsLessThanOrEqualToTimeOffset:

Command for reporting stored records less than of equal to provided timeOffset

+ (NSData *)reportStoredRecordsLessThanOrEqualToTimeOffset:(uint16_t)timeOffset

Parameters

timeOffset

The time offset to report records less than or equal to.

Return Value

The command as a NSData object

Declared In

NSData+RACPCommands.h

+ reportStoredRecordsGreaterThanOrEqualToTimeOffset:

Command for reporting stored records greater than of equal to provided timeOffset

+ (NSData *)reportStoredRecordsGreaterThanOrEqualToTimeOffset:(uint16_t)timeOffset

Parameters

timeOffset

The time offset to report records greater than or equal to.

Return Value

The command as a NSData object

Declared In

NSData+RACPCommands.h

+ reportStoredRecordsBetween:and:

Command for reporting stored records between a max and min time offset

+ (NSData *)reportStoredRecordsBetween:(uint16_t)maxTimeOffset and:(uint16_t)minTimeOffset

Parameters

maxTimeOffset

The max time offset to report records less than or equal to.

minTimeOffset

The min time offset to report records greater than or equal to.

Return Value

The command as a NSData object

Declared In

NSData+RACPCommands.h

+ reportFirstStoredRecord

Command for reporting the first stored record

+ (NSData *)reportFirstStoredRecord

Return Value

The command as a NSData object

Declared In

NSData+RACPCommands.h

+ reportLastStoredRecord

Command for reporting the last stored record

+ (NSData *)reportLastStoredRecord

Return Value

The command as a NSData object

Declared In

NSData+RACPCommands.h

Delete Stored Records Commands

+ deleteAllStoredRecords

Command for deleting all stored records

+ (NSData *)deleteAllStoredRecords

Return Value

The command as a NSData object

Declared In

NSData+RACPCommands.h

+ deleteStoredRecordsLessThanOrEqualToTimeOffset:

Command for deleting stored records less than of equal to provided timeOffset

+ (NSData *)deleteStoredRecordsLessThanOrEqualToTimeOffset:(uint16_t)timeOffset

Parameters

timeOffset

The time offset to report records less than or equal to.

Return Value

The command as a NSData object

Declared In

NSData+RACPCommands.h

+ deleteStoredRecordsGreaterThanOrEqualToTimeOffset:

Command for deleting stored records greater than of equal to provided timeOffset

+ (NSData *)deleteStoredRecordsGreaterThanOrEqualToTimeOffset:(uint16_t)timeOffset

Parameters

timeOffset

The time offset to report records greater than or equal to.

Return Value

The command as a NSData object

Declared In

NSData+RACPCommands.h

+ deleteStoredRecordsBetween:and:

Command for deleting stored records between a max and min time offset

+ (NSData *)deleteStoredRecordsBetween:(uint16_t)minTimeOffset and:(uint16_t)maxTimeOffset

Parameters

minTimeOffset

The min time offset to report records greater than or equal to.

maxTimeOffset

The max time offset to report records less than or equal to.

Return Value

The command as a NSData object

Declared In

NSData+RACPCommands.h

+ deleteFirstStoredRecord

Command for deleting the first stored record

+ (NSData *)deleteFirstStoredRecord

Return Value

The command as a NSData object

Declared In

NSData+RACPCommands.h

+ deleteLastStoredRecord

Command for deleting the last stored record

+ (NSData *)deleteLastStoredRecord

Return Value

The command as a NSData object

Declared In

NSData+RACPCommands.h

Report Number of Stored Records Commands

+ reportNumberOfAllStoredRecords

Command for reporting the number of all stored records

+ (NSData *)reportNumberOfAllStoredRecords

Return Value

The command as a NSData object

Declared In

NSData+RACPCommands.h

+ reportNumberOfStoredRecordsLessThanOrEqualToTimeOffset:

Command for reporting the number of stored records less than of equal to provided timeOffset

+ (NSData *)reportNumberOfStoredRecordsLessThanOrEqualToTimeOffset:(uint16_t)timeOffset

Parameters

timeOffset

The time offset to report records less than or equal to.

Return Value

The command as a NSData object

Declared In

NSData+RACPCommands.h

+ reportNumberOfStoredRecordsGreaterThanOrEqualToTimeOffset:

Command for reporting the number of stored records greater than of equal to provided timeOffset

+ (NSData *)reportNumberOfStoredRecordsGreaterThanOrEqualToTimeOffset:(uint16_t)timeOffset

Parameters

timeOffset

The time offset to report records greater than or equal to.

Return Value

The command as a NSData object

Declared In

NSData+RACPCommands.h

+ reportNumberOfStoredRecordsBetween:and:

Command for reporting the number of stored records between a max and min time offset

+ (NSData *)reportNumberOfStoredRecordsBetween:(uint16_t)minTimeOffset and:(uint16_t)maxTimeOffset

Parameters

minTimeOffset

The min time offset to report records greater than or equal to.

maxTimeOffset

The max time offset to report records less than or equal to.

Return Value

The command as a NSData object

Declared In

NSData+RACPCommands.h

+ reportNumberOfFirstStoredRecord

Command for reporting the number of first stored records

+ (NSData *)reportNumberOfFirstStoredRecord

Return Value

The command as a NSData object

Declared In

NSData+RACPCommands.h

+ reportNumberOfLastStoredRecord

Command for reporting the number of last stored records

+ (NSData *)reportNumberOfLastStoredRecord

Return Value

The command as a NSData object

Declared In

NSData+RACPCommands.h

Abort Command

+ abortOperation

Command to abort the current operation

+ (NSData *)abortOperation

Return Value

The command as a NSData object

Declared In

NSData+RACPCommands.h