|
Contiki 2.5
|
Modules | |
| Basic status report module | |
Files | |
| file | statusreport.h |
Data Structures | |
| struct | status_report_t |
| The structure of a status report as part of an administrative record. More... | |
| struct | status_report_driver |
| interface for status report modules More... | |
Macros | |
| #define | STATUSREPORT statusreport_basic |
| Which status-report driver are we going to use? | |
Functions | |
| int | statusreport_encode (status_report_t *report, uint8_t *buffer, uint8_t length) |
| Encode a bundle status report from the struct to a flat buffer. More... | |
| #define | NODE_RECEIVED_BUNDLE (0x01) |
| The status flags for the status report. | |
| #define | NO_ADDITIONAL_INFORMATION (0x00) |
| The reasons for the status report. | |
| int statusreport_encode | ( | status_report_t * | report, |
| uint8_t * | buffer, | ||
| uint8_t | length | ||
| ) |
Encode a bundle status report from the struct to a flat buffer.
TODO: We assume here, that all status reports have a timestamp. This is true in the latest version of RFC5050 but is not necessarily true in the future
Definition at line 37 of file statusreport_basic.c.
References ADMIN_FLAGS_IS_FOR_FRAGMENT, eid_create_full_length(), sdnv_encode(), and TYPE_CODE_BUNDLE_STATUS_REPORT.
Referenced by statusreport_basic_send().
1.8.3.1