Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

emu_device

Device-gate emulator — replays recorded device frames to an ingest endpoint at a controlled rate, so device-facing GClasses and ingest pipelines can be tested without real hardware.

How it works

C_EMU_DEVICE
    __output_side__ : C_IOGATE > C_CHANNEL > C_PROT_RAW > C_TCP   (connects to `url`)
    C_TIMER

Configuration

AttributeDefaultPurpose
url__output_side__ target (device gate to feed)
window1Frames to send per interval
interval1000Interval between bursts (ms)
leadingBase64 frame sent once on connect
path / database / topicTimeRanger2 replay source (records with a frame64 field)
from_t / to_t / from_rowid / to_rowidTime / rowid range of the replay
key / notkeyKey filters (default: all keys)
user_flag_mask_set / user_flag_mask_notsetUser-flag filters
system_flag_mask_set / system_flag_mask_notsetSystem-flag filters
timeout2000Timer tick (ms)

Commands

CommandParametersDescription
read-parametersWindow, interval, frames sent / loaded
write-windowwindowSet frames-per-interval
write-intervalintervalSet interval (ms)
helpCommand help

Debugging

GClassLevelShows
C_EMU_DEVICEinfoConnect / send / finish activity