|
Motion Master 6.0.0-alpha.86
Next-generation motion control software
|
An OS command's fs-buffer transfer — the data that does not fit in the 8 command bytes. More...
#include <somanet_drive.h>
Public Attributes | |
| FsBufferTransfer | transfer {FsBufferTransfer::kNone} |
What to move; kNone moves nothing. | |
| std::vector< uint8_t > | payload |
What to send. Read by kWrite, ignored otherwise. | |
An OS command's fs-buffer transfer — the data that does not fit in the 8 command bytes.
**fs-buffer is not a file, and the difference is not cosmetic.** The firmware routes the transfer to 2024 bytes of memory shared with the command that is running. The command writes into that memory as the master reads it out, or reads out of it as the master writes in. Three rules follow, and none of them is the caller's choice:
A failed transfer does not, on its own, end the command: see SomanetDrive::runOsCommand.
| std::vector<uint8_t> mm::node::OsCommandFsBuffer::payload |
What to send. Read by kWrite, ignored otherwise.
| FsBufferTransfer mm::node::OsCommandFsBuffer::transfer {FsBufferTransfer::kNone} |
What to move; kNone moves nothing.