Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
AttributeOpcode Struct Reference
Operation code defined for attribute operations. More...
#include <AttServerMessage.h>
Public Types | |
enum | Code { , EXCHANGE_MTU_REQUEST = 0x02 , FIND_INFORMATION_REQUEST = 0x04 , FIND_BY_TYPE_VALUE_REQUEST = 0x06 , READ_BY_TYPE_REQUEST = 0x08 , READ_REQUEST = 0x0A , READ_BLOB_REQUEST = 0x0C , READ_MULTIPLE_REQUEST = 0x0E , READ_BY_GROUP_TYPE_REQUEST = 0x10 , WRITE_REQUEST = 0x12 , WRITE_COMMAND = 0x52 , EXECUTE_WRITE_REQUEST = 0x18 , HANDLE_VALUE_NOTIFICATION = 0x1B } |
Public Member Functions | |
AttributeOpcode (Code value) | |
Construct an AttributeOpcode from a Code. | |
operator uint8_t () const | |
implicit cast to uint8_t. | |
Friends | |
bool | operator== (AttributeOpcode lhs, AttributeOpcode rhs) |
Equality comparison operator between two AttributeOpcode. | |
bool | operator!= (AttributeOpcode lhs, AttributeOpcode rhs) |
Non equality comparison operator between two AttributeOpcode. |
Detailed Description
Operation code defined for attribute operations.
- Note:
- see: BLUETOOTH SPECIFICATION Version 5.0 | Vol 3, Part F Section 3.4.8
Definition at line 30 of file AttServerMessage.h.
Member Enumeration Documentation
enum Code |
- Enumerator:
EXCHANGE_MTU_REQUEST Opcode of an AttErrorResponse.
FIND_INFORMATION_REQUEST OpCode of an AttExchangeMTUResponse.
FIND_BY_TYPE_VALUE_REQUEST OpCode of an AttFindInformationResponse.
READ_BY_TYPE_REQUEST OpCode of an AttFindByTypeValueResponse.
READ_REQUEST Opcode of an AttReadByTypeResponse.
READ_BLOB_REQUEST Opcode of an AttReadResponse.
READ_MULTIPLE_REQUEST Opcode of an AttReadBlobResponse.
READ_BY_GROUP_TYPE_REQUEST Opcode of an AttReadMultipleResponse.
WRITE_REQUEST Opcode of an AttReadByGroupTypeResponse.
WRITE_COMMAND Opcode of an AttWriteResponse.
EXECUTE_WRITE_REQUEST Opcode of an AttPrepareWriteResponse.
HANDLE_VALUE_NOTIFICATION Opcode of an AttExecuteWriteResponse.
Definition at line 31 of file AttServerMessage.h.
Constructor & Destructor Documentation
AttributeOpcode | ( | Code | value ) |
Construct an AttributeOpcode from a Code.
Definition at line 64 of file AttServerMessage.h.
Member Function Documentation
operator uint8_t | ( | ) | const |
implicit cast to uint8_t.
Allows AttributeOpcode to be used in switch statements.
Definition at line 84 of file AttServerMessage.h.
Friends And Related Function Documentation
bool operator!= | ( | AttributeOpcode | lhs, |
AttributeOpcode | rhs | ||
) | [friend] |
Non equality comparison operator between two AttributeOpcode.
Definition at line 76 of file AttServerMessage.h.
bool operator== | ( | AttributeOpcode | lhs, |
AttributeOpcode | rhs | ||
) | [friend] |
Equality comparison operator between two AttributeOpcode.
Definition at line 69 of file AttServerMessage.h.
Generated on Tue Jul 12 2022 14:26:57 by
