Enumerations
Enumerations
BLE Services » OTA Service (OTAS)
Collaboration diagram for Enumerations:

## Enumerations
enum | otas_dfu_mode_t { OTAS_DFU_MODE_RESERVED, OTAS_DFU_MODE_COPY_UPGRADE, OTAS_DFU_MODE_NON_COPY_UPGRADE }
| OTA Service dfu mode. More...
enum | otas_ctrl_pt_op_code_t { OTAS_CTRL_PT_OP_RESERVED, OTAS_CTRL_PT_OP_DFU_ENTER = 0x474f4f44, OTAS_CTRL_PT_OP_RSP_CODE = 0x10 }
| OTA Service Control Point Operation Code. More...
enum | otas_evt_type_t { OTAS_EVT_INVALID, OTAS_EVT_TX_NOTIFICATION_ENABLED, OTAS_EVT_TX_NOTIFICATION_DISABLED, OTAS_EVT_CTRL_PT_INDICATION_ENABLED, OTAS_EVT_CTRL_PT_INDICATION_DISABLED, OTAS_EVT_RX_RECEIVE_DATA, OTAS_EVT_NOTIFY_COMPLETE, OTAS_EVT_DFU_TASK_ENTER, OTAS_EVT_DFU_MODE_SET, OTAS_EVT_DISCONNECT }
| OTA Service event type. More...

## Detailed Description

## Enumeration Type Documentation

## ◆ otas_ctrl_pt_op_code_t

enum otas_ctrl_pt_op_code_t

OTA Service Control Point Operation Code.

Enumerator
OTAS_CTRL_PT_OP_RESERVED | Reserved for future use.
OTAS_CTRL_PT_OP_DFU_ENTER | OTAS task enter Operation Code.
OTAS_CTRL_PT_OP_RSP_CODE | Response code.

Definition at line 94 of file otas.h.

## ◆ otas_dfu_mode_t

enum otas_dfu_mode_t

OTA Service dfu mode.

Enumerator
OTAS_DFU_MODE_RESERVED | Reserved for future use.
OTAS_DFU_MODE_COPY_UPGRADE | OTAS Copy DFU mode (Double bank, Background).
OTAS_DFU_MODE_NON_COPY_UPGRADE | OTAS Non-Copy DFU mode (Single bank, Non-background).

Definition at line 86 of file otas.h.

## ◆ otas_evt_type_t

enum otas_evt_type_t

OTA Service event type.

Enumerator
OTAS_EVT_INVALID | Invalid event for ota service.
OTAS_EVT_TX_NOTIFICATION_ENABLED | tx notification enable event for ota service.
OTAS_EVT_TX_NOTIFICATION_DISABLED | tx notification disable event for ota service.
OTAS_EVT_CTRL_PT_INDICATION_ENABLED | control point indication enable event for ota service.
OTAS_EVT_CTRL_PT_INDICATION_DISABLED | control point indication disable event for ota service.
OTAS_EVT_RX_RECEIVE_DATA | rx receive data event for ota service.
OTAS_EVT_NOTIFY_COMPLETE | notify complete event for ota service.
OTAS_EVT_DFU_TASK_ENTER | set dfu task enter event for ota service.
OTAS_EVT_DFU_MODE_SET | set dfu mode for ota service.
OTAS_EVT_DISCONNECT | link disconnected.

Definition at line 102 of file otas.h.