Files | |
file | cos.h |
Header file for the COS functions, defines and data types. | |
Data Structures | |
struct | DOSContext |
DOS Context Structure. More... | |
Macros | |
#define | DOSCONTEXT_FLAG_ERROR_EXCEPTION |
When set, the exception represents an error exception. | |
#define | DOSCONTEXT_FLAG_INTERMEDIATE_RESPONSE |
When set, the provider's response represents an intermediate (not final) response, and the operation is still executing. | |
#define | DOSCONTEXT_FLAG_MULTICAST |
When set, the operation was received multicast. | |
#define | DOSCONTEXT_FLAG_NEW_SOURCE |
When set, an operation with a lower sequence was found, and will be used as a closer source. | |
#define | DOSCONTEXT_FLAG_OPERATION_RETRY |
When set, the received operation is a retry. | |
Functions | |
int | DOSAddress_Compare (DOSAddress self, DOSAddress addr) |
Compare the two given address and return 0 if they are identical or non-zero if not. | |
DOSAddress | DOSAddress_ConvertAddress (const uint8 *transportAddr) |
Convert a transport address into a DOSAddress. | |
void | DOSContext_Clear (void) |
Reset the DOSContext back to default values. | |
void | DOSContext_Restore (DOSContext_Saved context) |
Restores a context saved with DOSContext_Save(). | |
DOSContext_Saved | DOSContext_Save (void) |
Save context (including any data in the send buffer) so the application can make additional requests and/or send signal/change/advertise without losing the current context data. | |
void | DOSContext_SetAddress (const uint8 *transportAddr) |
Convert a transport address and set in in DOSContext. | |
Variables | |
struct DOSContext | DOSContext |
Global DOS context. | |