Skip to content

Class RawReplProtocol ​

Namespace: Belay.Core
Assembly: Belay.Core.dll

Simple, documented Raw REPL protocol implementation. Replaces complex protocol abstractions with direct, understandable code. See ICD-001 for protocol specification.

csharp
public static class RawReplProtocol

Inheritance ​

object ← RawReplProtocol

Inherited Members ​

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

Fields ​

ENTERRAW

EXECUTE

EXITRAW

INTERRUPT

RAWPASTE

Methods ​

ExecuteCode(Stream, string, CancellationToken)

Executes Python code on a MicroPython device using Raw REPL protocol.

ExecuteCodeWithPaste(Stream, string, CancellationToken)

Executes Python code with large transfer support using Raw-Paste mode.

Released under the Apache License 2.0.