Function list
function name | Explanation |
---|---|
AccessoryDataReceive | Data is transmitted for the specified number of bytes by communication using Bluetooth MFi. |
AccessoryDataSend | Data is transmitted for the specified number of bytes by communication using Bluetooth MFi. Do not wait for ACK after sending data. |
AccessoryDataTransfer | Data is transmitted for the specified number of bytes by communication using Bluetooth MFi. After sending the data, wait for ACK. |
GetMfiAccessoryStatus | Acquires the connection status of the Bluetooth MFi communication session. |
Communication library functions that can be used with Bluetooth MFi
When communicating with an iOS device via Bluetooth MFi, you can also use the following functions provided by Communication Library .function name | Explanation |
---|---|
blt_is_connected | Get the Bluetooth connection status. |
BltGetConnectAddress | Acquires the set Bluetooth address of the connection destination. |
BltGetLocalAddress | Get the Bluetooth address of the device. |
BltGetLocalName | Gets the set local device name. |
BltGetPincode | Get the set PIN code. |
BltSetConnectAddress | Set the Bluetooth address of the connection destination. |
BltSetLocalName | Set the local device name. |
BltSetPincode | Set the PIN code. |
BltWaitAcceptEnd | Cancels the Bluetooth communication connection wait. |
BltWaitAcceptStart | Waits for Bluetooth communication connection. |
ComClose | Close the serial port. |
ComOpen | Open the serial port. |
GetCom | Receives one character from the serial port. |
GetConfig | Acquires the communication conditions of the specified serial port. |
GetConnectionStatus | Acquires the connection status of the specified serial port. |
GetCurrentPort | Get the port you are currently using. |
GetErrorStatus | Get the error code for the COM API. |
LoadConfig | Reads the communication conditions of the specified serial port from the flash ROM. |
OseComm | Start the OseComm protocol. |
ResetReceive | Clears the receive buffer on the serial port. |
SaveConfig | Saves the communication conditions of the specified serial port to the flash ROM. |
SetConfig | Set the communication conditions for the specified serial port. |
SetDefault | Returns the communication conditions of the specified serial port to the initial values. |
Please note that the following functions in the communication library cannot be used with Bluetooth MFi.
comloc function |
PutCom function |
putnstr function |
PutString function |
Related matters
Last updated: 2022/01/26