Skip to content

History / RaftCoreAPI

Revisions

  • Record warnings (_warning, acknowledge); MQTT pubSources kept while disconnected and clientID default; wifiip from the next WiFi start; NetMan settings table with the real config keys - Device types: _warning field, the acknowledge list, wildcard and build behaviour, raft devtypes acknowledge, push and the Device Types app; raft new's "all" choice (RaftCore #35, RaftCLI #11, raftjs #28) - MQTT/StatePublisher: createSubscription subscriptions (pubSources) persist; clientID default (RaftSysMods #16) - RegisteringAsADataSource: createSubscription called on the StatePublisher SysMod (the example called the base class's, which does nothing) - NetMan: wifiip applied at the next WiFi start, DHCP again when cleared; NetworkSystem::setWifiStaticIP; settings table keys as read by NetworkSettings::setFromConfig, missing rows added - FileSystem: example tree no longer implies MQTT TLS Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

    @robdobsn robdobsn committed Oct 27, 2026
  • MQTT (QoS 1 acks, inbound commands, credentials, connect timing), WiFi on demand / fast reconnect / static IP / sdkconfig fragments, and the generalCall record field - MQTTManager: config keys as in the code (name, path, qos, retain, pubSources, username, password, keepAliveSecs), inbound topics run as commands, QoS 1 acknowledgement, connection timing, status and named values (RaftCore #34, #36; RaftSysMods #14) - StatePublisher: MQTT subscriptions are removed by a publish while the broker isn't connected - DNSResolver: first lookup timing - NetMan: startMode onDemand, wifistart/wifistop/wifiip, fast reconnect, wifiBand, static IP, credentials applied only if changed, named values (RaftCore #37; RaftSysMods #15) - Build: RAFT_SDKCONFIG_FRAGMENTS and the sdkconfig layers - Device type records: generalCall; I2C bus generalCallRoundMs; the scanner's general calls (RaftCore #35, RaftI2C #10) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

    @robdobsn robdobsn committed Oct 27, 2026
  • Docs for the file system worker, deferred responses, RICREST file transfers, RaftCLI devices and RaftCamera - File system: the file system worker (what uses it), per-file-system locks, flash write stalls and running from PSRAM, slow writes and write pacing; FileManager filesection/filehash and deferred replies; download and upload (ufStart) protocol details; OTA writes on the worker with a deferred HTTP reply (the dedicated OTA task is gone; OTADirect gates every update); DataLogger writes on the worker. - Comms: RICREST frame bytes corrected (0xE7/0xD7), test vectors, file transfer flows, message numbering; deferred responses (transports, element types, msgNum); outbound queues read the next message's type only; HDLC bulk decode and one-pass encode; ThreadSafeQueue moves, peekWith, SpiramAwareAllocator; WebSocket fragments, frames written once, settings. - SysManager: keeping the main loop short, slow SysMod reporting, loopSleepMs default 1. - BLE: releasing the link (bledisconnect, Windows holds a dead client's link about 25 s), subscriptions, MTU sizing, current queue settings and defaults. - SerialConsole: bulk receive, rxBuf defaults, frame encode buffers. - RaftCLI: devices (HTTP, ws://, serial:, ble:), raft fs, raft ble scan, raft libs subcommands; devtypes device commands over every connection. - New page: RaftCamera. - Fixed three anchors that pointed at headings that don't exist. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

    @robdobsn robdobsn committed Oct 25, 2026
  • Docs: DataLogger page brought up to date; deferred responses; serial console large replies; file system; array attributes - DataLogger: rewritten against the firmware - the actual status fields, simulate parameters, start parameters (label, UTC, epoch, tz), clear, file naming and CSV column naming; deferred start/stop and the states; estimate and the data rate limit (maxBytesPerSec); startError; array attributes (a column per element); integer formatting; the timestamp mode (FIFO decode vs one record per poll); SysTypes config - RaftRestAPIEndpoints: APISourceInfo's fields; a Deferred Responses section (how, which transports, timeouts, main task only, task priority) - RaftWebServerSysMod: deferred responses and the idle timeout; upload writes hold up the loop - RaftSerialConsoleSysMod: deferred replies; large replies on USB-Serial-JTAG - FileSystem: renameFile, getFileSystemSize; write times; the DataLogger doesn't use FileSystemChunker - DeviceTypeRecordFormat: array attributes ([N] and prefix counts) - RaftCoreAPI, DeviceManagerSettings: typefile check/apply?file=, type file load time Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

    @robdobsn robdobsn committed Oct 21, 2026
  • LSM6DS split into LSM6DS3 (0x69) and LSM6DS3TRC (0x6A): examples updated Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

    @robdobsn robdobsn committed Oct 18, 2026
  • DeviceManager: startup order, saved settings, display names, runtime management (C++ and REST); API list: new devman endpoints and parameters; identification page: reident, devenable, reinit, debugging endpoints; RaftROS: type changes Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

    @robdobsn robdobsn committed Oct 17, 2026
  • devman/reident, devman/typepolicy and restartRequired Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

    @robdobsn robdobsn committed Oct 16, 2026
  • Device type file: settings, devman/typefile and devlib endpoints, identification gating Also corrects two identification notes made stale by earlier stages (scan list reload, bus errors). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

    @robdobsn robdobsn committed Oct 16, 2026
  • Device type key terminology; document deviceTypeKey in typeinfo responses Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

    @robdobsn robdobsn committed Oct 15, 2026
  • Documentation of network manager settings

    @robdobsn robdobsn committed Oct 15, 2026
  • Updated wifiscan API

    @robdobsn robdobsn committed Sep 20, 2026
  • Document caps API and registerForDeviceData address-or-type

    @robdobsn robdobsn committed Aug 13, 2026
  • Updated docs on device manager

    @robdobsn robdobsn committed May 19, 2026
  • Major documentation overhaul Co-authored-by: Copilot <copilot@github.com>

    @robdobsn robdobsn committed May 3, 2026
  • Sorted API doc

    @robdobsn robdobsn committed Apr 4, 2026
  • Added datetime API doc

    @robdobsn robdobsn committed Apr 4, 2026
  • Added bus speed settings

    @robdobsn robdobsn committed Apr 2, 2026
  • Updated LEDPixel docs

    @robdobsn robdobsn committed Mar 5, 2026
  • Improved MotorControl docs

    @robdobsn robdobsn committed Mar 3, 2026
  • Updated publishing and API docs

    @robdobsn robdobsn committed Mar 3, 2026
  • Added I2C docs Improved device manager information

    @robdobsn robdobsn committed Feb 21, 2026
  • Added MotorControl documentation

    @robdobsn robdobsn committed Feb 8, 2026
  • Updated devman docs

    @robdobsn robdobsn committed Feb 6, 2026
  • Updated state publisher docs Added device identification docs Added device factory info Added I2C scanning notes

    @robdobsn robdobsn committed Feb 5, 2026
  • Updated docs for changes to StatePublisher and subscriptions

    @robdobsn robdobsn committed Jan 12, 2026
  • Added BLE and StatePublisher docs

    @robdobsn robdobsn committed Oct 12, 2024
  • Added documentation for SysManager, DeviceManager and LEDPixels

    @robdobsn robdobsn committed Oct 12, 2024
  • Improved API documentation

    @robdobsn robdobsn committed Oct 11, 2024
  • Another attempt at column width control

    @robdobsn robdobsn committed Oct 9, 2024
  • Attempt to control column width

    @robdobsn robdobsn committed Oct 9, 2024