EMMspParser Protocol Reference

Conforms to NSObject
Declared in EMMspParser.h

Overview

Msp parser protocol

– parse:error: required method

Retreiving the Msp frame from data

- (id<EMMspFrame>)parse:(id<EMSecureByteArray>)data error:(NSError *__autoreleasing *)nsError

Parameters

data

Secure Data containing a Msp frame to decode

nsError

If an error occurs, upon return contains an NSError object that describes the problem. If you are not interested in possible errors, you may pass in nil.

Return Value

An object following the Msp frame protocol, nil if an error occurs.

Availability

4.5

Declared In

EMMspParser.h

– parseMspData:error: required method

Retreiving a Msp Data from data

- (id<EMMspData>)parseMspData:(id<EMMspFrame>)frame error:(NSError *__autoreleasing *)nsError

Parameters

frame

target msp frame to parse

nsError

If an error occurs, upon return contains an NSError object that describes the problem. If you are not interested in possible errors, you may pass in nil.

Return Value

An object following the Msp data protocol, nil if an error occurs.

Availability

4.5

Declared In

EMMspParser.h