Enumerations
Enumerations
BLE Services » User Data Service (UDS)

## Enumerations
enum | uds_ctrl_pt_op_code_t { UDS_CTRL_PT_OP_RESERVED, UDS_CTRL_PT_OP_REGIST_NEW_USER, UDS_CTRL_PT_OP_CONSENT, UDS_CTRL_PT_OP_DEL_USER_DATA, UDS_CTRL_PT_OP_LIST_ALL_USERS, UDS_CTRL_PT_OP_DEL_USERS, UDS_CTRL_PT_OP_RSP_CODE = 0x20 }
| User Data Service Control Point Operation Code. More...
enum | uds_ctrl_pt_rsp_t { UDS_CTRL_PT_RSP_RESERVED, UDS_CTRL_PT_RSP_SUCCESS, UDS_CTRL_PT_RSP_NOT_SUP, UDS_CTRL_PT_RSP_INVALID_PARAM, UDS_CTRL_PT_RSP_FAILED, UDS_CTRL_PT_RSP_USER_NOT_AUTH }
| User Data Service Control Point Response value. More...
enum | uds_evt_type_t { UDS_EVT_INVALID = 0x00, UDS_EVT_DB_CHANGE_INCR_NOTIFICATION_ENABLE, UDS_EVT_DB_CHANGE_INCR_NOTIFICATION_DISABLE, UDS_EVT_CTRL_POINT_INDICATION_ENABLE, UDS_EVT_CTRL_POINT_INDICATION_DISABLE, UDS_EVT_REGIST_USER_INDICATION_ENABLE, UDS_EVT_REGIST_USER_INDICATION_DISABLE, UDS_EVT_DB_CHANGE_INCR_SEND_CPLT, UDS_EVT_CTRL_POINT_RSP_CPLT, UDS_EVT_REGIST_USER_RSP_CPLT, UDS_EVT_AGE_SET_BY_PEER, UDS_EVT_DATE_OF_BIRTH_SET_BY_PEER, UDS_EVT_FIRST_NAME_SET_BY_PEER, UDS_EVT_HEIGHT_SET_BY_PEER, UDS_EVT_GENDER_SET_BY_PEER, UDS_EVT_DB_CHANGE_INCR_SET_BY_PEER, UDS_EVT_CTRL_POINT_SET_BY_PEER, UDS_EVT_USER_GRANT_ACCESS, UDS_EVT_REGIST_NEW_USER, UDS_EVT_DEL_USER_DATA, UDS_EVT_DEL_USERS }
| User Data Service event type. More...
enum | uds_chars_flag_bits { UDS_CHARS_WEIGHT_PRESENT = 0x01, UDS_CHARS_AGE_PRESENT = 0x02, UDS_CHARS_BIRTH_DATE_PRESENT = 0x04, UDS_CHARS_FIRST_NAME_PRESENT = 0x08, UDS_CHARS_HEIGHT_PRESENT = 0x10, UDS_CHARS_GENDER_PRESENT = 0X20 }
| UDS Characteristics Flags. More...
enum | uds_regi_user_data_flag_bits { UDS_REGI_USER_NAME_PRESENT = 0x01, UDS_USER_NAME_TRUNCATED = 0x02 }
| Registered User Data Flags. More...

## Detailed Description

## Enumeration Type Documentation

## ◆ uds_chars_flag_bits

enum uds_chars_flag_bits

UDS Characteristics Flags.

Enumerator
UDS_CHARS_WEIGHT_PRESENT | Flag bit for Weight Present.
UDS_CHARS_AGE_PRESENT | Flag bit for Age Present.
UDS_CHARS_BIRTH_DATE_PRESENT | Flag bit for Date of Birth Present.
UDS_CHARS_FIRST_NAME_PRESENT | Flag bit for First Name Present.
UDS_CHARS_HEIGHT_PRESENT | Flag bit for Height Present.
UDS_CHARS_GENDER_PRESENT | Flag bit for Gender Present.

Definition at line 172 of file uds.h.

## ◆ uds_ctrl_pt_op_code_t

enum uds_ctrl_pt_op_code_t

User Data Service Control Point Operation Code.

Enumerator
UDS_CTRL_PT_OP_RESERVED | Reserved for future use.
UDS_CTRL_PT_OP_REGIST_NEW_USER | Register New User Operation Code.
UDS_CTRL_PT_OP_CONSENT | Consent Operation Code.
UDS_CTRL_PT_OP_DEL_USER_DATA | Delete User Data Operation Code.
UDS_CTRL_PT_OP_LIST_ALL_USERS | List All Users Operation Code.
UDS_CTRL_PT_OP_DEL_USERS | Delete User(s) Operation code.
UDS_CTRL_PT_OP_RSP_CODE | Response code.

Definition at line 123 of file uds.h.

## ◆ uds_ctrl_pt_rsp_t

enum uds_ctrl_pt_rsp_t

User Data Service Control Point Response value.

Enumerator
UDS_CTRL_PT_RSP_RESERVED | Reserved value.
UDS_CTRL_PT_RSP_SUCCESS | Operation Success.
UDS_CTRL_PT_RSP_NOT_SUP | Operation Code Not Supported.
UDS_CTRL_PT_RSP_INVALID_PARAM | Invalid Parameter.
UDS_CTRL_PT_RSP_FAILED | Operation Failed.
UDS_CTRL_PT_RSP_USER_NOT_AUTH | User Not Authorized.

Definition at line 135 of file uds.h.

## ◆ uds_evt_type_t

enum uds_evt_type_t

User Data Service event type.

Enumerator
UDS_EVT_INVALID | Invalid event.
UDS_EVT_DB_CHANGE_INCR_NOTIFICATION_ENABLE | Database Change Increment Notification is enabled.
UDS_EVT_DB_CHANGE_INCR_NOTIFICATION_DISABLE | Database Change Increment Notification is disabled.
UDS_EVT_CTRL_POINT_INDICATION_ENABLE | Indicate that User Control Point indication has been enabled.
UDS_EVT_CTRL_POINT_INDICATION_DISABLE | Indicate that User Control Point indication has been disabled.
UDS_EVT_REGIST_USER_INDICATION_ENABLE | Indicate that Registered User indication has been enabled.
UDS_EVT_REGIST_USER_INDICATION_DISABLE | Indicate that Registered User indication has been disabled.
UDS_EVT_DB_CHANGE_INCR_SEND_CPLT | Indicate that Database Change Increment has been notified.
UDS_EVT_CTRL_POINT_RSP_CPLT | Indicate that User Control Point response has been indicated.
UDS_EVT_REGIST_USER_RSP_CPLT | Indicate that Registered User response has been indicated.
UDS_EVT_AGE_SET_BY_PEER | Age has been set by peer.
UDS_EVT_DATE_OF_BIRTH_SET_BY_PEER | Date of Birth has been set by peer.
UDS_EVT_FIRST_NAME_SET_BY_PEER | First Name has been set by peer.
UDS_EVT_HEIGHT_SET_BY_PEER | Height has been set by peer.
UDS_EVT_GENDER_SET_BY_PEER | Gender has been set by peer.
UDS_EVT_DB_CHANGE_INCR_SET_BY_PEER | Database Change Increment has been set by peer.
UDS_EVT_CTRL_POINT_SET_BY_PEER | User Control Point has been set by peer.
UDS_EVT_USER_GRANT_ACCESS | Indicate that User is waiting to be granted access.
UDS_EVT_REGIST_NEW_USER | Indicate that User is waiting to be granted access.
UDS_EVT_DEL_USER_DATA |
UDS_EVT_DEL_USERS |

Definition at line 146 of file uds.h.

## ◆ uds_regi_user_data_flag_bits

enum uds_regi_user_data_flag_bits

Registered User Data Flags.

Enumerator
UDS_REGI_USER_NAME_PRESENT | Flag bit for Registered User Name Present.
UDS_USER_NAME_TRUNCATED | Flag bit for User Name is truncated.

Definition at line 183 of file uds.h.