|
TR181-XPON
1.4.0
TR-181 PON manager.
|
#include <stdbool.h>#include <stdint.h>Go to the source code of this file.
Data Structures | |
| struct | _param_info |
| struct | _object_info |
Macros | |
| #define | ENABLE_PARAM "Enable" |
| #define | NAME_PARAM "Name" |
| #define | NAME_PARAM_LEN 4 |
Typedefs | |
| typedef enum _xpon_object_id | object_id_t |
| typedef struct _param_info | param_info_t |
| typedef struct _object_info | object_info_t |
Enumerations | |
| enum | _xpon_object_id { obj_id_onu = 0 , obj_id_software_image , obj_id_ethernet_uni , obj_id_ani , obj_id_gem_port , obj_id_transceiver , obj_id_ani_tc_onu_activation , obj_id_ani_tc_authentication , obj_id_ani_tc_performance_thresholds , obj_id_ani_tc_alarms , obj_id_nbr , obj_id_unknown = obj_id_nbr } |
Functions | |
| bool | dm_info_init (void) |
| object_id_t | dm_get_object_id (const char *path) |
| const object_info_t * | dm_get_object_info (object_id_t id) |
| bool | dm_get_object_param_info (object_id_t id, const param_info_t **param_info, uint32_t *size) |
Info related to the TR-181 XPON DM known at compile time.
Definition in file dm_info.h.
| typedef enum _xpon_object_id object_id_t |
| typedef struct _object_info object_info_t |
Info which is known at compile time about an object in the XPON DM.
| typedef struct _param_info param_info_t |
| enum _xpon_object_id |
Definition at line 79 of file dm_info.h.
| object_id_t dm_get_object_id | ( | const char * | path | ) |
Return the ID of an object.
| [in] | path | object path, e.g., "XPON.ONU.1.SoftwareImage". |
Example: if path is "XPON.ONU.1.SoftwareImage", the function returns obj_id_software_image
Definition at line 380 of file dm_info.c.


| const object_info_t* dm_get_object_info | ( | object_id_t | id | ) |
| bool dm_get_object_param_info | ( | object_id_t | id, |
| const param_info_t ** | param_info, | ||
| uint32_t * | size | ||
| ) |
Return info about the params of an object.
| [in] | id | object ID |
| [in,out] | param_info | function passes info about the params of the object via this param. |
| [in,out] | size | nr of elems in param_info |
Definition at line 429 of file dm_info.c.
