DSDL definitions for file transfer support were removed. This functionality is certainly needed for the protocol, but it is not going to be implemented in the first order, so there is no point in keeping these (unfinished) types now.

This commit is contained in:
Pavel Kirienko 2014-03-25 21:10:19 +04:00
parent 0da3a93ec9
commit 379a19c1b8
10 changed files with 0 additions and 106 deletions

View File

@ -1,11 +0,0 @@
#
# Remote file info.
#
Path path
---
Crc crc
int64 size
Errno result

View File

@ -1,17 +0,0 @@
#
# Remote directory contents.
#
uint32 entry_index
Path directory_path
---
Errno result
uint4 ENTRY_TYPE_NONE = 0
uint4 ENTRY_TYPE_FILE = 1
uint4 ENTRY_TYPE_DIR = 2
uint4 entry_type
Path entry_abs_path

View File

@ -1,9 +0,0 @@
#
# Remote file deletion request.
#
Path path
---
Errno result

View File

@ -1,15 +0,0 @@
#
# Read contents of the file from a remote node.
# Use cases: Firmware update, log download.
#
int64 offset
Path path
---
Errno result
# Empty data means the offset is out of file boundaries.
# Non-empty data means the end of file is not reached yet, even if the length is less than max.
truncated uint8[<256] data

View File

@ -1,11 +0,0 @@
#
# Initiates file transfer between two nodes.
# Use cases: Configuration file replacement, executable update.
#
Path src # On the requesting node
Path dst # On the serving node
---
Errno result

View File

@ -1,16 +0,0 @@
#
# This service initiates the firmware update procedure.
#
# Nodes are allowed to explicitly reject this request under some circumstances
# (e.g. ESC should reject this if the motor is running).
#
# If the node accepts the request, initiator will get the response immediately,
# before the update process actually begins.
#
Path image_file_remote_path
---
Errno result
uint8[<64] error_message

View File

@ -1,6 +0,0 @@
#
# File CRC.
# Algorithm: CRC-64-WE.
#
uint64 value

View File

@ -1,5 +0,0 @@
#
# File operation result - UNIX errno.
#
int16 value

View File

@ -1,7 +0,0 @@
#
# Encoded FS path (ASCII/UTF8).
#
uint8 SEPARATOR = 47 # ASCII '/'
uint8[<128] value

View File

@ -20,15 +20,6 @@
#include <uavcan/protocol/debug/LogMessage.hpp>
#include <uavcan/protocol/debug/StartHilSimulation.hpp>
#include <uavcan/protocol/debug/KeyValue.hpp>
#include <uavcan/protocol/file/Path.hpp>
#include <uavcan/protocol/file/Read.hpp>
#include <uavcan/protocol/file/Delete.hpp>
#include <uavcan/protocol/file/Errno.hpp>
#include <uavcan/protocol/file/BeginFirmwareUpdate.hpp>
#include <uavcan/protocol/file/List.hpp>
#include <uavcan/protocol/file/BeginTransfer.hpp>
#include <uavcan/protocol/file/Crc.hpp>
#include <uavcan/protocol/file/GetInfo.hpp>
#include <root_ns_a/Deep.hpp>