Files | |
file | ArrayView.h |
Namespaces | |
ble | |
BLEProtocol | |
SafeBool_ | |
Data Structures | |
class | CallChainOfFunctionPointersWithContext< ContextType > |
class | FunctionPointerWithContext< ContextType > |
class | SafeBool< T > |
class | UUID |
Functions | |
template<typename T , typename ContextType > | |
FunctionPointerWithContext< ContextType > | makeFunctionPointer (T *object, void(T::*member)(ContextType context)) |
template<typename T , typename U > | |
void | operator== (const SafeBool< T > &lhs, const SafeBool< U > &rhs) |
template<typename T , typename U > | |
void | operator!= (const SafeBool< T > &lhs, const SafeBool< U > &rhs) |
anonymous enum |
Assigned values for BLE UUIDs.
Enumerator | |
---|---|
BLE_UUID_UNKNOWN |
Reserved UUID. |
BLE_UUID_SERVICE_PRIMARY |
Primary Service. |
BLE_UUID_SERVICE_SECONDARY |
Secondary Service. |
BLE_UUID_SERVICE_INCLUDE |
Included service. |
BLE_UUID_CHARACTERISTIC |
Characteristic. |
BLE_UUID_DESCRIPTOR_CHAR_EXT_PROP |
Characteristic Extended Properties Descriptor. |
BLE_UUID_DESCRIPTOR_CHAR_USER_DESC |
Characteristic User Description Descriptor. |
BLE_UUID_DESCRIPTOR_CLIENT_CHAR_CONFIG |
Client Characteristic Configuration Descriptor. |
BLE_UUID_DESCRIPTOR_SERVER_CHAR_CONFIG |
Server Characteristic Configuration Descriptor. |
BLE_UUID_DESCRIPTOR_CHAR_PRESENTATION_FORMAT |
Characteristic Presentation Format Descriptor. |
BLE_UUID_DESCRIPTOR_CHAR_AGGREGATE_FORMAT |
Characteristic Aggregate Format Descriptor. |
BLE_UUID_GATT |
Generic Attribute Profile. |
BLE_UUID_GATT_CHARACTERISTIC_SERVICE_CHANGED |
Service Changed Characteristic. |
BLE_UUID_GAP |
Generic Access Profile. |
BLE_UUID_GAP_CHARACTERISTIC_DEVICE_NAME |
Device Name Characteristic. |
BLE_UUID_GAP_CHARACTERISTIC_APPEARANCE |
Appearance Characteristic. |
BLE_UUID_GAP_CHARACTERISTIC_PPF |
Peripheral Privacy Flag Characteristic. |
BLE_UUID_GAP_CHARACTERISTIC_RECONN_ADDR |
Reconnection Address Characteristic. |
BLE_UUID_GAP_CHARACTERISTIC_PPCP |
Peripheral Preferred Connection Parameters Characteristic. |
enum ble_error_t |
Error codes for the BLE API.
The value 0 means that no error was reported; therefore, it allows an API user to cleanly test for errors.
Enumerator | |
---|---|
BLE_ERROR_NONE |
No error. |
BLE_ERROR_BUFFER_OVERFLOW |
The requested action would cause a buffer overflow and has been aborted. |
BLE_ERROR_NOT_IMPLEMENTED |
Requested a feature that isn't yet implemented or isn't supported by the target HW. |
BLE_ERROR_PARAM_OUT_OF_RANGE |
One of the supplied parameters is outside the valid range. |
BLE_ERROR_INVALID_PARAM |
One of the supplied parameters is invalid. |
BLE_STACK_BUSY |
The stack is busy. |
BLE_ERROR_INVALID_STATE |
Invalid state. |
BLE_ERROR_NO_MEM |
Out of memory. |
BLE_ERROR_OPERATION_NOT_PERMITTED |
The operation requested is not permitted. |
BLE_ERROR_INITIALIZATION_INCOMPLETE |
The BLE subsystem has not completed its initialization. |
BLE_ERROR_ALREADY_INITIALIZED |
The BLE system has already been initialized. |
BLE_ERROR_UNSPECIFIED |
Unknown error. |
BLE_ERROR_INTERNAL_STACK_FAILURE |
The platform-specific stack failed. |
enum HVXType_t |
FunctionPointerWithContext<ContextType> makeFunctionPointer | ( | T * | object, |
void(T::*)(ContextType context) | member | ||
) |
Factory of adapted member function pointers.
This factory eliminates the need to invoke the qualified constructor of FunctionPointerWithContext by using automatic type deduction of function templates.
[in] | object | Instance to bound with member . |
member | The member being adapted. |
void operator!= | ( | const SafeBool< T > & | lhs, |
const SafeBool< U > & | rhs | ||
) |
Avoid conversion to bool between different classes.