Skip to main content

API List

This section describes the list of APIs available in this product and the conditions under which each API can be called.

API List

API NameFunction
MPXGetAPIVersionGet API version
MPXOpenDetect MicroPeckerX
MPXCloseRelease MicroPeckerX detection
MPXSetLEDLED control
MPXGetStatusGet MicroPeckerX status
MPXMonitorStartStart monitoring
MPXMonitorStopStop monitoring
MPXGetTimeStampGet timestamp
MPXSetGetLogModeSet log acquisition method
MPXSetLogCallBackSet callback function for log acquisition
MPXGetLogGet log information (buffer pointer)
MPXGetLogExGet log information (store in structure array)
MPXSetCANParamSet communication parameters
MPXSetSlotConfigure slot information before monitoring
MPXChangeSlotConfigure slot information during monitoring
MPXSendSlotRequest slot transmission
MPXDirectSendTransmit frame
MPXSetLogRequestCallBackSet callback function for log replay data requests
MPXSetLogReplayDataSend log replay data
MPXSetBurstLogConfigure frame information for burst transfer mode (single frame)
MPXSetLogReplayTriggerSet trigger conditions for starting transmission of log replay data
MPXLogReplayStartStart transmission in log replay mode or burst transfer mode
MPXLogReplayStopStop transmission in log replay mode or burst transfer mode

API Callable Conditions

Each API can be called when the recognition state or status of the MicroPeckerX unit is marked with "○" in the table below.
Operation is not guaranteed if called in any other state.

APIStatus
Not RecognizedRecognized (Status: MPX_STATUS_***)
RUNPARAMSYNCNONEMONSIMLOGBUR_LOGBUR
MPXGetAPIVersion--------
MPXOpen---------
MPXClose---------
MPXSetLED--------
MPXGetStatus-
MPXMonitorStart---------
MPXMonitorStop--
MPXGetTimeStamp----
MPXSetGetLogMode--------
MPXSetLogCallBack--------
MPXGetLog----
MPXGetLogEx----
MPXSetCANParam---------
MPXSetSlot--------
MPXChangeSlot---------
MPXSendSlot---------
MPXDirectSend---------
MPXSetLogRequestCallBack--------
MPXSetLogReplayData---------
MPXSetBurstLog--------
MPXSetLogReplayTrigger--------
MPXLogReplayStart------
MPXLogReplayStop------