The Communication library provides the following functions.

Functions

Name Description
blt_is_connected Returns the current state of the Bluetooth connection.
BltEndDiscovery Stop discovering and release resources.
BltFetchDiscovery Receive instant result of the BD discovery. Call this function repeatedly to monitor BD address of the devices near by.
BltGetConnectAddress Gets the Bluetooth address of the configured connection target.
BltGetLocalAddress Gets the Bluetooth address of the device.
BltGetLocalName Gets the local device name.
BltGetPincode Gets the PIN code.
BltSetConnectAddress Sets the Bluetooth address of the connection destination.
BltSetLocalName Sets the local device name.
BltSetPincode Sets the PIN code.
BltStartDiscovery Starts to discover Bluetooth devices.
BltWaitAcceptEnd Cancels the Bluetooth communication connection wait.
BltWaitAcceptStart Waiting for Bluetooth communication to connect.
ComClose Closes a serial communications port previously opened by ComOpen().
comloc Gets the number of received data on the serial port.
ComOpen Opens a port for serial communication.
GetCom Reads a character from the serial communications port that was opened last by ComOpen().
GetConfig Getd the communication conditions of the specified serial port.
GetConnectionStatus Gets the connection status of the specified serial port.
GetCurrentPort Gets the port you are using.
GetErrorStatus Gets the COM API error code.
LoadConfig Reads the communication conditions of the specified serial port from the flash ROM.
OseComm Uses a new protocol to transmit and receive one or more complete files through a serial communications port.
PutCom Putcom transmits a character through the serial communications port that was last opened by ComOpen().
putnstr A character string is sent from the serial port for the specified number of bytes.
PutString Transmits a character buffer through the communications port that was last opened by ComOpen().
ResetReceive Resets the serial receive buffers and electronics of last opened COM-port.
SaveConfig Saves the communication conditions of the specified serial port from the flash ROM.
SetConfig Sets the communication conditions of the specified serial port.
SetDefault Returns the communication conditions of the specified serial port to the initial values.

Last updated: 2021/04/12