TI BLE5-Stack API Documentation  2.02.05.00
Macros
OAD Extended Control Command op codes

Macros

#define OAD_EXT_CTRL_BLK_RSP_NOTIF   0x12
 
#define OAD_EXT_CTRL_CANCEL_OAD   0x05
 
#define OAD_EXT_CTRL_DISABLE_BLK_NOTIF   0x06
 
#define OAD_EXT_CTRL_ENABLE_IMG   0x04
 
#define OAD_EXT_CTRL_ERASE_BONDS   0x13
 
#define OAD_EXT_CTRL_GET_BLK_SZ   0x01
 
#define OAD_EXT_CTRL_GET_DEV_TYPE   0x10
 
#define OAD_EXT_CTRL_GET_IMG_INFO   0x11
 
#define OAD_EXT_CTRL_GET_IMG_STAT   0x08
 
#define OAD_EXT_CTRL_GET_PROF_VER   0x09
 
#define OAD_EXT_CTRL_GET_SW_VER   0x07
 
#define OAD_EXT_CTRL_IMG_CNT   0x02
 
#define OAD_EXT_CTRL_START_OAD   0x03
 

Detailed Description

Macro Definition Documentation

§ OAD_EXT_CTRL_BLK_RSP_NOTIF

#define OAD_EXT_CTRL_BLK_RSP_NOTIF   0x12

Send block request external control command op-code This command is used to send a block request notification to the peer device

§ OAD_EXT_CTRL_CANCEL_OAD

#define OAD_EXT_CTRL_CANCEL_OAD   0x05

Cancel OAD external control command op-code This command is used to cancel the OAD process

§ OAD_EXT_CTRL_DISABLE_BLK_NOTIF

#define OAD_EXT_CTRL_DISABLE_BLK_NOTIF   0x06

Disable block notification external control command op-code This command is used to disable the image block request notifications

§ OAD_EXT_CTRL_ENABLE_IMG

#define OAD_EXT_CTRL_ENABLE_IMG   0x04

Enable image external control command op-code This command is used to enable an image after download, instructing the target to prepare the image to run and then reboot

§ OAD_EXT_CTRL_ERASE_BONDS

#define OAD_EXT_CTRL_ERASE_BONDS   0x13

Erase bonds external control command op-code This command is used to erase all BLE bonding info on the device

§ OAD_EXT_CTRL_GET_BLK_SZ

#define OAD_EXT_CTRL_GET_BLK_SZ   0x01

Get Block Size external control command op-code This command is used by a peer to determine what is the largest block size the target can support

§ OAD_EXT_CTRL_GET_DEV_TYPE

#define OAD_EXT_CTRL_GET_DEV_TYPE   0x10

Get device type external control command op-code This command is used to query type of the device the profile is running on

§ OAD_EXT_CTRL_GET_IMG_INFO

#define OAD_EXT_CTRL_GET_IMG_INFO   0x11

Get image info external control command op-code This command is used to get the image info structure corresponding to the the image asked for

§ OAD_EXT_CTRL_GET_IMG_STAT

#define OAD_EXT_CTRL_GET_IMG_STAT   0x08

Get status external control command op-code This command is used to query the status of the OAD process.

§ OAD_EXT_CTRL_GET_PROF_VER

#define OAD_EXT_CTRL_GET_PROF_VER   0x09

Get profile version external control command op-code This command is used to query the version of the OAD profile

§ OAD_EXT_CTRL_GET_SW_VER

#define OAD_EXT_CTRL_GET_SW_VER   0x07

Get software version external control command op-code This command is used to query the OAD target device for its software version

§ OAD_EXT_CTRL_IMG_CNT

#define OAD_EXT_CTRL_IMG_CNT   0x02

Get image count external control command op-code This command is used by a peer to instruct the target that multiple images are to be downloaded during this session

§ OAD_EXT_CTRL_START_OAD

#define OAD_EXT_CTRL_START_OAD   0x03

Start OAD external control command op-code This command is used to tell the target device that the configuration stage has completed and it is time to start sending block requests

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