| 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_event_return_t Struct Reference
ANT-FS client device simulator

ANT-FS <-> application event communication object. More...

`#include <antfs.h>`

## Data Fields
antfs_event_t | event
uint16_t | file_index
uint32_t | offset
uint32_t | bytes
uint16_t | crc
uint8_t | data [8]

## Detailed Description

ANT-FS <-> application event communication object.

## Field Documentation

uint32_t antfs_event_return_t::bytes

Number of bytes in block (download/upload).

uint16_t antfs_event_return_t::crc

Current CRC (upload).

uint8_t antfs_event_return_t::data[8]

Block of data (upload).

antfs_event_t antfs_event_return_t::event

ANT-FS event.

uint16_t antfs_event_return_t::file_index

File index (download/upload/erase).

uint32_t antfs_event_return_t::offset

Current offset (download/upload).