Skip to content
Home
Products
Software
Solutions
Docs
Downloads
About
中文
Support
Menu
☰
Home
Products
Software
Solutions
Docs
Downloads
About
Support
News
Tutorials
Reference
Current collection
BMAPI SDK
Documentation
Documentation home
News
Reference overview
Guides & Tutorials
Tutorial overview
BUSMASTER tutorial collection
Collection overview
BUSMASTER basic transmit and receive
Logging, import, and replay formats
Software and firmware updates
BUSMUST advanced features
CAN FD channel configuration
CAN FD hardware receive filters
CAN FD and DBC workflow
Using Database Associate
LIN messaging and schedule tables
LIN device configuration and messaging
Transmit CAN FD messages
Diagnostics and UDS guide
BMCLI tutorial collection
Collection overview
Part 0 | Basics
Part 1 | Test generation
Part 2 | Bootloader workflow
Part 3 | Web dashboard
BMAPI SDK tutorial collection
Collection overview
BMAPI SDK development guide
BUSMASTER Function Reference
BUSMASTER Reference home
Getting started and general settings
Collection overview
Introduction
What is new?
General
Configuration settings in a file
Trace Window
Status Bar
Format Converters
Miscellaneous Macros and Functions
Copyright
Hot Keys
Frequently Asked Questions
Software and Firmware Update
Additional Installation
MinGW Installation using TDM-GCC Installer
MinGW Installation using GCC Installer
CAN and CAN FD communication
Collection overview
CAN
CAN Controller Configuration
BUSMUST CAN/CAN FD Device Configuration
BUSMUST CAN/CAN FD Advanced Settings and Hardware Filters
BUSMUST Advanced Features
Transmit Messages
Message Window
Message Window Configuration
Network Statistics
Filters
SCAN_ERR
Baudrate
Bit Timing Calculation
Configuration
Connect and Disconnect
Connection Details
Cyclic Mode
Enable/Disable Filter
Getting Started
Operating Modes
Reset Controller
Single Run Mode
Diagnostics
Collection overview
Diagnostics
Diagnostics Settings
Diagnostics Main Window
UDS Services, Security Unlock, and HEX Download
Logging, import, and replay
Collection overview
Logging
Replay
Log, Replay, Import, and Format Conversion
Logging
Message Log
Message Logging
Replay
Signals and databases
Collection overview
Signal Watch
Signal Generation
Signal Graph
Database Editor
CAN FD and DBC Workflow
Test automation
Collection overview
Test Automation
Test Setup File
Test Setup Editor
Test Suite Executor
J1939
Collection overview
J1939
J1939
LIN
Collection overview
LIN
LIN Cluster Configuration
LIN Schedule Table Configuration
LIN Controller Configuration
BUSMUST LIN Device Configuration and Workflow
LIN Transmit Window
Connect and Disconnect
LIN Message Window
Message Window Configuration
Network Statistics
Signal Watch
Filters
Automation and COM interfaces
Collection overview
COM Interface
BUSMASTER COM interface
COM Interface API Listing
Connect : To connect BUSMASTER to the bus
GetMsgInfo : Retrieves the message parameters from the loaded database, given the message name
GetNetworkStatistics : To get all the statistics of a channel
GetErrorCounter : Getter for both Rx and Tx error, given the channel number
ImportDatabase : To import a database file in BUSMASTER
LoadConfiguration : To load a configuration file in BUSMASTER
SaveConfiguration : To save current configuration file
SaveConfigurationAs : To save current configuration in a particular file
RegisterClientForRx : To register Client for receiving messages
UnRegisterClient : To Unregister a Client
SendCANMSg : To send a CAN message
GetApplication : Gets pointer to BUSMASTER Application
StopLogging : To stop logging
StartLogging : To start logging
AddLoggingBlock : To Add a Logging Block
GetLoggingBlock : To get a particular Logging Block
RemoveLoggingBlock : To remove a particular logging block
GetLoggingBlockCount : Getter for total number of logging blocks
ClearLoggingBlockList : To Clear Logging block list
WriteToLogFile : Writes a text in the log file currently open
LDF editor
Collection overview
LIN Database Editor
Introduction
Overview
Getting Started
LDF Elements
Cluster Properties
Master
Slave
Unconditional Frame
Event Triggered Frame
Sporadic Frame
Diagnostic Support
Signals
Signal Group
Codings
Schedule Table
Node Composition
LIN Database Editor Main Window
Node simulation (upstream compatibility)
About node simulation
Node-simulation features
CAN Simulation in BUSMASTER
CAN Node Simulation
What is new?
Node Simulation Configuration
Function Editor
API Reference
STCAN_MSG Structure
API Listing
Examples
J1939 Node Simulation
What is new?
J1939 API Reference
J1939 Structures
J1939 API Listing
Examples
LIN Simulation in BUSMASTER
LIN Node Simulation
Function Editor
LIN API Reference
STLIN_MSG Structure
LIN API Listing
LIN Node Simulation Examples
C Library Functions
Standard Library Functions
Character Type Macros and Functions
I/O Functions
String and Memory Functions
Time Functions
C Math Library Functions
Variable Argument Lists
ANSI-standard macros, `stdarg.h'
Traditional macros, `varargs.h'
API Listing
Node Simulation Examples
CAN node-simulation API
SendMsg : To send a CAN frame
EnableLogging : To start logging
DisableLogging : To stop logging
WriteToLogFile : To send string to log file
Trace : To send string to Trace window
ResetController : To reset CAN controller
GoOnline : To enable all event handlers
GoOffline : To disable all event handlers
Disconnect : To disconnect CAN controller from CAN bus
Connect : To connect CAN controller to CAN bus
StartTimer : To start a timer in specific mode
StopTimer : To stop a running timer
SetTimerVal : To set a new time value for a timer
EnableDisableMsgTx: To enable or disable message transmission from the node
hGetDllHandle: To get handle of dll attached to a node from the node
J1939 node-simulation API
SendMsg : To send a J1939 message
EnableLogging : To start logging
DisableLogging : To stop logging
WriteToLogFile : To send string to log file
Trace : To send string to Trace window
ResetController : To reset CAN controller
GoOnline : To enable all event handlers
GoOffline : To disable all event handlers
Disconnect : To disconnect CAN controller from CAN bus
Connect : To connect CAN controller to CAN bus
StartTimer : To start a timer in specific mode
StopTimer : To stop a running timer
SetTimerVal : To set a new time value for a timer
EnableDisableMsgTx: To enable or disable message transmission from the node
hGetDllHandle: To get handle of dll attached to a node from the node
RequestPGN: To request PGN from a node.
SendAckMsg: To send a acknowlegde message
ClaimAddress: To claim a different address for current node
RequestAddress: To request addresses of currently active nodes in the network
CommandAddress: To command a address for a node
SetTimeout: To configure flow control timeouts of J1939 network
LIN node-simulation API
SendMsg : To send a LIN frame
Trace : To send string to Trace window
Disconnect : To disconnect the controller from the bus
Connect : To connect controller to the bus
StartTimer : To start a timer in specific mode
StopTimer : To stop a running timer
hGetDllHandle: To get handle of dll attached to a node from the node
EnableLogging : To start logging
DisableLogging : To stop logging
WriteToLogFile : To send string to log file
C runtime library
Utilities
abs : integer absolute value (magnitude)
atexit : request execution of functions at program exit
atof, atoff : string to double or float
atoi, atol : string to integer
bsearch : binary search
calloc : allocate space for arrays
div : divide two integers
ecvt,ecvtf,fcvt,fcvtf : double or float to string
gvcvt, gcvtf : format double or float as string
ecvtbuf, fcvtbuf : double or float to string
exit : end program execution
getenv : look up environment variable
labs : long integer absolute value
ldiv : divide two long integers
malloc, realloc, free : manage memory
mbtowc : minimal multibyte to wide char converter
qsort : sort an array
rand, srand : pseudo-random numbers
strtod, strtodf : string to double or float
strtol : string to long
strtoul : string to unsigned long
system : execute command string
wctomb : minimal wide char to multibyte converter
Character classification
isalnum : alphanumeric character predicate
isalpha : alphabetic character predicate
isascii : ASCII character predicate
iscntrl : control character predicate
isdigit : decimal digit predicate
islower : lower-case character predicate
isprint, isgraph : printable character predicate
ispunct : punctuation character predicate
isspace : whitespace character predicate
isupper : uppercase character predicate
isxdigit : hexadecimal digit predicate
toascii : force integers to ASCII range
tolower : translate characters to lower case
toupper : translate characters to upper case
Standard I/O
clearerr : clear file or stream error indicator
fclose : close a file
fdopen : turn open file into a stream
feof : test for end of file
ferror : test whether read/write error has occurred
fflush : flush buffered file output
fgetc : get a character from a file or stream
fgetpos : record position in a stream or file
fgets : get character string from a file or stream
fiprintf : format output to file (integer only)
fopen : open a file
fputc : write a character on a stream or file
fputs : write a character string in a file or stream
fread : read array elements from a file
freopen : open a file using an existing file descriptor
fseek : set file position
fsetpos : restore position of a stream or file
ftell : return position in a stream or file
fwrite : write array elements
getc : read a character (macro)
getchar : read a character (macro)
gets : get character string (obsolete, use fgets instead)
iprintf : write formatted output (integer only)
mktemp, mkstemp : generate unused file name
perror : print an error message on standard error
printf, fprintf, sprintf : format output
putc : write a character (macro)
putchar : write a character (macro)
puts : write a character string
remove : delete a file's name
rename : rename a file
rewind : reinitialize a file or stream
scanf, fscanf, sscanf : scan and format input
setbuf : specify full buffering for a file or stream
setvbuf : specify file or stream buffering
siprintf : write formatted output (integer only)
tmpfile : create a temporary file
tmpnam, tempnam : name for a temporary file
vprintf, vfprintf, vsprintf : format argument list
Strings
bcmp : compare two memory areas
bcopy : copy memory regions
bzero : initialize memory to zero
index : search for character in string
memchr : find character in memory
memcmp : compare two memory areas
memcpy : copy memory regions
memmove : move possibly overlapping memory
memset : set an area of memory
rindex : reverse search for character in string
strcat : concatenate strings
strchr : search for character in string
strcmp : character string compare
strcoll : locale specific character string compare
strcpy : copy string
strcspn : count chars not in string
strerror : convert error number to string
strlen : character string length
strlwr : force string to lower case
strncat : concatenate strings
strncmp : character string compare
strncpy : counted copy string
strpbrk : find chars in string
strrchr : reverse search for character in string
strspn : find initial match
strstr : find string segment
strtok : get next token from a string
strupr : force string to uppercase
strxfrm : transform string
Time
asctime : format time as string
clock : cumulative processor time
ctime : convert time to local and format as string
difftime : subtract two times
gmtime : convert time to UTC traditional form
localtime : convert time to local representation
mktime : convert time to arithmetic representation
strftime : flexible calendar time formatter
time : get current calendar time (as single number)
Mathematics
acos, acosf : arc cosine
acosh, acoshf : inverse hyperbolic cosine
asin, asinf : arc sine
asinh, asinhf : inverse hyperbolic sine
atan, atanf : arc tangent
atan2, atan2f : arc tangent of y/x
atanh, atanhf : inverse hyperbolic tangent
jN,jNf,yN,yNf : Bessel functions
cbrt, cbrtf : cube root
copysign, copysignf : sign of y, magnitude of x
cosh, coshf : hyperbolic cosine
erf, erff, erfc, erfcf : error function
exp, expf : exponential
expm1, expm1f : exponential minus 1
fabs, fabsf : absolute value (magnitude)
floor, floorf, ceil, ceilf : floor and ceiling
fmod, fmodf : floating-point remainder (modulo)
frexp, frexpf : split floating-point number
gamma, gammaf, lgamma, lgammaf, gamma_r, gammaf_r, lgamma_r, lgammaf_r
hypot, hypotf : distance from origin
ilogb, ilogbf : get exponent of floating point number
infinity, infinityf : representation of infinity
isnan,isnanf,isinf,isinff,finite,finitef : test for exceptional numbers
ldexp, ldexpf : load exponent
log, logf : natural logarithms
log10, log10f : base 10 logarithms
log1p, log1pf : log of 1 + x
matherr : modifiable math error handler
modf, modff : split fractional and integer parts
nan, nanf : representation of infinity
nextafter, nextafterf : get next number
pow, powf : x to the power y
rint, rintf, remainder, remainderf : round and remainder
scalbn, scalbnf : scale by integer
sqrt, sqrtf : positive square root
sin, sinf, cos, cosf : sine or cosine
sinh, sinhf : hyperbolic sine
tan, tanf : tangent
tanh, tanhf : hyperbolic tangent
Control characters
unctrl : translate characters to upper case
Variable arguments
Initialize variable argument list
Extract a value from argument list
Abandon a variable argument list
Legacy variable arguments
Declare variable arguments
Initialize variable argument list
Extract a value from argument list
Abandon a variable argument list
BMCLI Command Reference
BMCLI Reference home
Help and documentation contract
Execution Modes
doctor
AI integration
bench
Installation and update
device
channel
message
lin
txtask
route
isotp
uds
database
dbc
ldf
logging
replay
offline
convert
daemon
gateway
web
BMAPI API Reference
BMAPI SDK overview
Function reference
Function overview
BM_Activate
BM_Autoset
BM_AutosetEx
BM_CancelWrite
BM_ClaimRemoteSession
BM_ClearBuffer
BM_ClearConfig
BM_Close
BM_Control
BM_Deactivate
BM_Enumerate
BM_EnumerateByCap
BM_EnumerateRemote
BM_GetBitrate
BM_GetCanMode
BM_GetCanStatus
BM_GetChannelInfo
BM_GetDataPtpTimestamp
BM_GetDataText
BM_GetDevice
BM_GetErrorText
BM_GetHostPtpTime
BM_GetLinProtocol
BM_GetLinStatus
BM_GetLinVoltage
BM_GetLogging
BM_GetLogLevel
BM_GetMsgRoutes
BM_GetNotification
BM_GetPtpTime
BM_GetRemoteSessionInfo
BM_GetReplay
BM_GetRxFilters
BM_GetSleepStatus
BM_GetStatus
BM_GetTerminalRegister
BM_GetTimestamp
BM_GetTxTasks
BM_GetVersion
BM_Init
BM_LoadConfig
BM_MapTimestamp
BM_OpenCan
BM_OpenEx
BM_OpenRemote
BM_QueryRemoteSession
BM_Read
BM_ReadCanMessage
BM_ReadIsotp
BM_ReadLinMessage
BM_ReadMultiple
BM_ReadMultipleCanMessage
BM_RecoverBusOff
BM_ReleaseRemoteSession
BM_Reset
BM_ResetDevice
BM_SaveConfig
BM_SetBitrate
BM_SetBuffer
BM_SetCanMode
BM_SetEthSpeed
BM_SetLinBitrate
BM_SetLinMode
BM_SetLinProtocol
BM_SetLinVoltage
BM_SetLogging
BM_SetLogLevel
BM_SetMode
BM_SetMsgRoutes
BM_SetPtpMode
BM_SetPtpTime
BM_SetReplay
BM_SetRxFilters
BM_SetSleepStatus
BM_SetTerminalRegister
BM_SetThreadPriority
BM_SetTxTasks
BM_SyncPtpTimes
BM_UnInit
BM_WaitForNotifications
BM_Write
BM_WriteCanMessage
BM_WriteIsotp
BM_WriteLinMessage
BM_WriteMultiple
BM_WriteMultipleCanMessage
Data structures
Data structure overview
BM_AutosetConfigTypeDef
BM_BitrateTypeDef
BM_CanMessageTypeDef
BM_CanStatusInfoTypeDef
BM_ChannelInfoTypeDef
BM_DataHeaderTypeDef
BM_DataTailTypeDef
BM_DataTypeDef
BM_EthMessageTypeDef
BM_EventTriggerTypeDef
BM_FileInfoTypeDef
BM_HwIsotpConfigTypeDef
BM_IsotpConfigTypeDef
BM_IsotpStatusTypeDef
BM_LinMessageCtrlTypeDef
BM_LinMessageTypeDef
BM_LinProtocolConfigTypeDef
BM_LinStatusInfoTypeDef
BM_LoggingConfigTypeDef
BM_MessageIdTypeDef
BM_MessageRouteTypeDef
BM_PathSpecTypeDef
BM_RemoteSessionConfigTypeDef
BM_RemoteSessionInfoTypeDef
BM_ReplayConfigTypeDef
BM_RxFilterTypeDef
BM_RxMessageCtrlTypeDef
BM_TxMessageCtrlTypeDef
BM_TxTaskTypeDef
BM_VolumeInfoTypeDef
BUSMUST on GitHub
Select language
中文
English
BM_DataTypeDef data structure reference
BM_DataTypeDef data structure.
This data-structure reference follows the current BUSMUST BMAPI SDK.
AI
AI assistant
↗
Feedback