nRF5 IoT SDK  v0.9.0
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
IoT file definition for port libraries.

Type definitions for port modules. More...

Modules

 Module's Log Macros
 

Data Structures

struct  iot_file_struct_t
 Generic IoT File instance structure. More...
 

Macros

#define IOT_FILE_INVALID_CURSOR   0xFFFFFFFF
 

Typedefs

typedef struct iot_file_struct_t iot_file_t
 iot_file_t structure forward definition.
 
typedef uint32_t(* iot_fopen_t )(iot_file_t *p_file, uint32_t requested_size)
 IoT File fopen() callback type definition.
 
typedef uint32_t(* iot_fwrite_t )(iot_file_t *p_file, const void *p_data, uint32_t size)
 IoT File fwrite() callback type definition.
 
typedef uint32_t(* iot_fread_t )(iot_file_t *p_file, void *p_data, uint32_t size)
 IoT File fread() callback type definition.
 
typedef uint32_t(* iot_ftell_t )(iot_file_t *p_file, uint32_t *p_cursor)
 IoT File ftell() callback type definition.
 
typedef uint32_t(* iot_fseek_t )(iot_file_t *p_file, uint32_t cursor)
 IoT File fseek() callback type definition.
 
typedef uint32_t(* iot_frewind_t )(iot_file_t *p_file)
 IoT File frewind() callback type definition.
 
typedef uint32_t(* iot_fclose_t )(iot_file_t *p_file)
 IoT File fclose() callback type definition.
 

Enumerations

enum  iot_file_type_t {
  IOT_FILE_TYPE_UNKNOWN = 0,
  IOT_FILE_TYPE_PSTORAGE_RAW,
  IOT_FILE_TYPE_STATIC
}
 Supported file type values. More...
 

Detailed Description

Type definitions for port modules.

Enumeration Type Documentation

Supported file type values.

Enumerator
IOT_FILE_TYPE_UNKNOWN 

File type used for describing not initialized files.

IOT_FILE_TYPE_PSTORAGE_RAW 

File type used for accessing flash memory.

IOT_FILE_TYPE_STATIC 

File type used for representing static buffers.