| nRF5 SDK v12.0.0 |

Choose documentation: | nRF5 SDK | S130 SoftDevice API | S132 SoftDevice API | S212 SoftDevice API | S332 SoftDevice API

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

ANT-FS directory entry. More...

`#include <antfs.h>`

## Data Fields
uint16_t | data_file_index
uint8_t | file_data_type
uint8_t | user_defined1
uint16_t | user_defined2
uint8_t | user_flags
uint8_t | general_flags
uint32_t | file_size_in_bytes
uint32_t | date

## Detailed Description

ANT-FS directory entry.

## Field Documentation

uint16_t antfs_dir_struct_t::data_file_index

Data file index.

uint32_t antfs_dir_struct_t::date

Number of seconds elapsed since 00:00 hrs Dec 31, 1980, if supported.

uint8_t antfs_dir_struct_t::file_data_type

File data type.

uint32_t antfs_dir_struct_t::file_size_in_bytes

File size, in bytes.

uint8_t antfs_dir_struct_t::general_flags

Bit mapped flags of flag permissions.

uint8_t antfs_dir_struct_t::user_defined1

Identifier, first byte (structure defined by data type).

uint16_t antfs_dir_struct_t::user_defined2

Identifier, last two bytes (structure defined by data type).

uint8_t antfs_dir_struct_t::user_flags

File data type specific flags (bits defined by data type).