docs: fix stale IStreamingDevice claim and document SampleReceived pipeline - #291
Conversation
…peline (#284) - Correct DEVICE_INTERFACES.md's false claim that IStreamingDevice is desktop-only; document DaqifiStreamingDevice and the interfaces it actually implements (IStreamingDevice, INetworkConfigurable, ISdCardOperations, ILanChipInfoProvider, IDeviceDiagnostics). - Document the decoded per-channel SampleReceived pipeline (#279) in README's quickstart/capability row and DEVICE_INTERFACES.md's Streaming Data section, alongside the existing raw MessageReceived path. - Add missing ConnectSerialAsync/ConnectSerial/ConnectFromDeviceInfo overloads to the factory method table. - Mention DIO/PWM tools in the MCP server pitch. - Remove dangling "streaming-evolution plan" reference with no doc. - Fix stale Reboot/SystemInfo names in ScpiMessageProducer XML doc examples to the actual RebootDevice/GetDeviceInfo members. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
PR Summary by QodoDocs: correct IStreamingDevice ownership and document SampleReceived streaming pipeline
AI Description
Diagram
High-Level Assessment
Files changed (4)
|
Code Review by Qodo
Context used 1.
|
…ul API Qodo review on #291: the new SampleReceived examples subscribed to the event but drove streaming/channel-enable through raw device.Send(...) SCPI calls, which never set the local IsStreaming/IsEnabled state the decode pipeline gates on — so SampleReceived would never have fired as written. Cast to DaqifiStreamingDevice and use EnableChannel/ StreamingFrequency/StartStreaming instead, and switch to GetChannelsSnapshot() to avoid enumerating the live, concurrently mutable Channels list. Verified both snippets compile against the built library. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Summary
IStreamingDeviceis "primarily implemented in the desktop application" — documentsDaqifiStreamingDeviceand the five interfaces it actually implements (IStreamingDevice,INetworkConfigurable,ISdCardOperations,ILanChipInfoProvider,IDeviceDiagnostics).IChannel.SampleReceivedpipeline (feat(streaming): decoded per-frame sample pipeline — raise per-channel SampleReceived from the live stream (#242) #279) — previously undocumented in any markdown file — in README's quickstart/capability row and DEVICE_INTERFACES.md's Streaming Data section, alongside the existing rawMessageReceivedpath.ConnectSerialAsync/ConnectSerial/ConnectFromDeviceInfooverloads to the factory method table.Reboot/SystemInfonames inScpiMessageProducerXML doc examples to the actualRebootDevice/GetDeviceInfomembers.Closes #284
Test plan
dotnet build Daqifi.Core.sln— 0 warnings, 0 errorsdotnet test Daqifi.Core.sln— 1387 passed, 2 skipped, 0 failed🤖 Generated with Claude Code