nRF51 SDK: antfs_request_info_t Struct Reference

| nRF51 SDK

- Home
- Related Pages
- API Reference
- Data Structures

- Data Structures
- Data Structure Index
- Data Fields

All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Data Fields
antfs_request_info_t Struct Reference
ANT-FS client device simulator

ANT-FS download/upload request context. More...

`#include <antfs.h>`

## Data Fields

ulong_union_t | file_size
uint32_t | max_file_size
ulong_union_t | max_burst_block_size
ushort_union_t | file_index
uint16_t | file_crc

## Detailed Description

ANT-FS download/upload request context.

## Field Documentation

uint16_t antfs_request_info_t::file_crc

CRC (uploads).

ushort_union_t antfs_request_info_t::file_index

File index.

ulong_union_t antfs_request_info_t::file_size

Size of a file to download when reading, or the size of a partially completed upload when writing.

ulong_union_t antfs_request_info_t::max_burst_block_size

Maximum burst block size.

uint32_t antfs_request_info_t::max_file_size

The maximum size of the file specified, this is the file size when reading, and the maximum allowed file size when writing.