nRF51 SDK
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
antfs_event_return_t Struct Reference

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).