Acquires the connection status of the Bluetooth MFi communication session.

Syntax

 int GetMfiAccessoryStatus(void);

Parameters

none

Return value

Returns the connection status of the Bluetooth MFi communication session.
value description
iAP2_EASs_NONE The specified port is closed.
iAP2_EASs_CONNECT The specified port is connected.
iAP2_EASs_DISCONNECT The specified port is being disconnected.

Remarks

It is used when the connection by MFi is specified by Bluetooth SPP (COM3, COM5).
Please refer to Bluetooth MFi Overview for details on Bluetooth MFi communication.

Requirements

Header file:
lib.h : System 5.0 or later.
Library file:
libSTARTUPOPH5000.a : System 5.0 or later.

Related matters

Last updated: 2021/11/18