跳转到内容

BM_ReplayConfigTypeDef

结构体与成员名称和 BMAPI SDK 保持一致,便于直接对应头文件与示例代码。

BM_ReplayConfigTypeDef data structure.

Member Declaration Description
version uint8_t version Currently must be set to 0x01
mode uint8_t mode Replay mode, see BM_StorageModeTypeDef for details
format uint8_t format Log file format: See BM_StorageFormatTypeDef for details.
channels uint16_t channels A bitmask of TX channels, only channels with ‘1’ are allowed as replay TARGET channel
direction uint8_t direction Replay direction, see BM_StorageDirectionTypeDef for details
cyclic uint8_t cyclic Replay is cyclic, otherwise the device only replay input file once on startup
path BM_PathSpecTypeDef path Pathspec to find available files, see BM_StoragePathModeTypeDef for details.
starttrigger BM_EventTriggerTypeDef starttrigger Trigger condition, replay starts automatically when it is met, only valid if mode=2
stoptrigger BM_EventTriggerTypeDef stoptrigger Trigger condition, replay stops automatically when it is met, only valid if mode=2
msgdelay uint16_t msgdelay Delay in ms between replay messages, 0 means keeping original delay
sessiondelay uint16_t sessiondelay Delay in ms between replay sessions, 0 means keeping original delay
cycledelay uint16_t cycledelay Delay in ms between replay cycles, 0 means keeping original delay
forceZeroTimestampOnFirstMsg uint8_t forceZeroTimestampOnFirstMsg Align 1st replayable message with zero timestamp, and send it immediately on startup

This data-structure reference follows the current BUSMUST BMAPI SDK.