3 functions reference, 1 onfmbmessage, 2 fmbinitinfo – IEI Integration HDC-502E_SDK_Linux User Manual

Page 22: 3 fmbreleaseinfo, 4 fmbcreatdevinfoall, Unctions, Eference

Advertising
background image

HDC-502E SDK (Linux)

Page 22

2.3 Functions Reference

2.3.1 OnFmbMessage

Description: receive the returned message from codec chip to determine the current

state

Prototype: enum FMBResultEnum OnFmbMessage (int fd)

Parameters: fd: device (codec chip) handle

Return Value: Current state: FMBEnmResultContinue, FMBEnmResultRequestComplete

enum FMBResultEnum {FMBEnmResultContinue, FMBEnmResultRequestComplete}

2.3.2 FmbInitInfo

Description: card initialized

Prototype: int FmbInitInfo (void)

Parameters: NONE

Return Value: TRUE: function succeeded; FALSE: functioned failed

2.3.3 FmbReleaseInfo

Description: release the card resources

Prototype: void FmbReleaseInfo (void)

Parameters: NONE

Return Value: NONE

2.3.4 FmbCreatDevInfoAll

Description: create and initialize all the codec chip resources

Prototype: int FmbCreatDevInfoAll(void)

Parameters: NONE

Advertising