TI BLE-Stack for Bluetooth 4.2 API Documentation  3.02.03.00
Macros
OAD Image Header offsets

Macros

#define BIM_VER_OFFSET   offsetof(imgHdr_t, fixedHdr.bimVer)
 
#define BOUNDARY_SEG_OFFSET   offsetof(imgHdr_t, fixedHdr.segTypeBd)
 
#define CRC_OFFSET   offsetof(imgHdr_t, fixedHdr.crc32)
 
#define CRC_STAT_OFFSET   offsetof(imgHdr_t, fixedHdr.crcStat)
 
#define IMG_COPY_STAT_OFFSET   IMG_INFO_OFFSET
 
#define IMG_COPY_STAT_OFFSET   IMG_INFO_OFFSET
 
#define IMG_DATA_OFFSET   BIM_VER_OFFSET
 
#define IMG_INFO_OFFSET   offsetof(imgHdr_t, fixedHdr.imgCpStat)
 
#define IMG_TYPE_OFFSET   offsetof(imgHdr_t, fixedHdr.imgType)
 
#define SEG_LEN_OFFSET   4
 
#define SEG_LEN_OFFSET   4
 

Detailed Description

Macro Definition Documentation

§ BIM_VER_OFFSET

#define BIM_VER_OFFSET   offsetof(imgHdr_t, fixedHdr.bimVer)

Offset in bytes of bimVer into the structure imgFixedHdr_t

§ BOUNDARY_SEG_OFFSET

#define BOUNDARY_SEG_OFFSET   offsetof(imgHdr_t, fixedHdr.segTypeBd)

Offset in bytes of the boundary segment into the structure imgHdr_t

§ CRC_OFFSET

#define CRC_OFFSET   offsetof(imgHdr_t, fixedHdr.crc32)

Offset in bytes of crc32 into the structure imgFixedHdr_t

§ CRC_STAT_OFFSET

#define CRC_STAT_OFFSET   offsetof(imgHdr_t, fixedHdr.crcStat)

Offset in bytes of CRC status into the structure imgFixedHdr_t

§ IMG_COPY_STAT_OFFSET [1/2]

#define IMG_COPY_STAT_OFFSET   IMG_INFO_OFFSET

Offset in bytes of IMG_INFO_OFFSET into the structure imgFixedHdr_t

Image copy status.

§ IMG_COPY_STAT_OFFSET [2/2]

#define IMG_COPY_STAT_OFFSET   IMG_INFO_OFFSET

Offset in bytes of IMG_INFO_OFFSET into the structure imgFixedHdr_t

Image copy status.

§ IMG_DATA_OFFSET

#define IMG_DATA_OFFSET   BIM_VER_OFFSET

Offset in bytes of bimVer into the structure imgFixedHdr_t. This is the start of data after the CRC bytes

§ IMG_INFO_OFFSET

#define IMG_INFO_OFFSET   offsetof(imgHdr_t, fixedHdr.imgCpStat)

Offset in bytes of imgCpStat into the structure imgFixedHdr_t

§ IMG_TYPE_OFFSET

#define IMG_TYPE_OFFSET   offsetof(imgHdr_t, fixedHdr.imgType)

Offset in bytes of imgType into the structure imgFixedHdr_t

§ SEG_LEN_OFFSET [1/2]

#define SEG_LEN_OFFSET   4

Offset in bytes of the length field into the structure boundarySeg_t

Offset from seg header to seg len.

§ SEG_LEN_OFFSET [2/2]

#define SEG_LEN_OFFSET   4

Offset in bytes of the length field into the structure boundarySeg_t

Offset from seg header to seg len.

© Copyright 1995-2019, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale