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.
Fork of OmniWheels by
MIB2
[SNMPv2c agent]
Functions | |
| void | snmp_mib2_set_sysdescr (const u8_t *str, const u16_t *len) |
| Initializes sysDescr pointers. | |
| void | snmp_mib2_set_syscontact (u8_t *ocstr, u16_t *ocstrlen, u16_t bufsize) |
| Initializes sysContact pointers. | |
| void | snmp_mib2_set_syscontact_readonly (const u8_t *ocstr, const u16_t *ocstrlen) |
| see snmp_mib2_set_syscontact but set pointer to readonly memory | |
| void | snmp_mib2_set_sysname (u8_t *ocstr, u16_t *ocstrlen, u16_t bufsize) |
| Initializes sysName pointers. | |
| void | snmp_mib2_set_sysname_readonly (const u8_t *ocstr, const u16_t *ocstrlen) |
| see snmp_mib2_set_sysname but set pointer to readonly memory | |
| void | snmp_mib2_set_syslocation (u8_t *ocstr, u16_t *ocstrlen, u16_t bufsize) |
| Initializes sysLocation pointers. | |
| void | snmp_mib2_set_syslocation_readonly (const u8_t *ocstr, const u16_t *ocstrlen) |
| see snmp_mib2_set_syslocation but set pointer to readonly memory | |
Function Documentation
| void snmp_mib2_set_syscontact | ( | u8_t * | ocstr, |
| u16_t * | ocstrlen, | ||
| u16_t | bufsize | ||
| ) |
Initializes sysContact pointers.
- Parameters:
-
ocstr if non-NULL then copy str pointer ocstrlen points to string length, excluding zero terminator. if set to NULL it is assumed that ocstr is NULL-terminated. bufsize size of the buffer in bytes. (this is required because the buffer can be overwritten by snmp-set) if ocstrlen is NULL buffer needs space for terminating 0 byte. otherwise complete buffer is used for string. if bufsize is set to 0, the value is regarded as read-only.
Definition at line 118 of file lwip_snmp_mib2_system.c.
| void snmp_mib2_set_syscontact_readonly | ( | const u8_t * | ocstr, |
| const u16_t * | ocstrlen | ||
| ) |
see snmp_mib2_set_syscontact but set pointer to readonly memory
Definition at line 134 of file lwip_snmp_mib2_system.c.
| void snmp_mib2_set_sysdescr | ( | const u8_t * | str, |
| const u16_t * | len | ||
| ) |
Initializes sysDescr pointers.
- Parameters:
-
str if non-NULL then copy str pointer len points to string length, excluding zero terminator
Definition at line 96 of file lwip_snmp_mib2_system.c.
| void snmp_mib2_set_syslocation | ( | u8_t * | ocstr, |
| u16_t * | ocstrlen, | ||
| u16_t | bufsize | ||
| ) |
Initializes sysLocation pointers.
- Parameters:
-
ocstr if non-NULL then copy str pointer ocstrlen points to string length, excluding zero terminator. if set to NULL it is assumed that ocstr is NULL-terminated. bufsize size of the buffer in bytes. (this is required because the buffer can be overwritten by snmp-set) if ocstrlen is NULL buffer needs space for terminating 0 byte. otherwise complete buffer is used for string. if bufsize is set to 0, the value is regarded as read-only.
Definition at line 201 of file lwip_snmp_mib2_system.c.
| void snmp_mib2_set_syslocation_readonly | ( | const u8_t * | ocstr, |
| const u16_t * | ocstrlen | ||
| ) |
see snmp_mib2_set_syslocation but set pointer to readonly memory
Definition at line 217 of file lwip_snmp_mib2_system.c.
| void snmp_mib2_set_sysname | ( | u8_t * | ocstr, |
| u16_t * | ocstrlen, | ||
| u16_t | bufsize | ||
| ) |
Initializes sysName pointers.
- Parameters:
-
ocstr if non-NULL then copy str pointer ocstrlen points to string length, excluding zero terminator. if set to NULL it is assumed that ocstr is NULL-terminated. bufsize size of the buffer in bytes. (this is required because the buffer can be overwritten by snmp-set) if ocstrlen is NULL buffer needs space for terminating 0 byte. otherwise complete buffer is used for string. if bufsize is set to 0, the value is regarded as read-only.
Definition at line 160 of file lwip_snmp_mib2_system.c.
| void snmp_mib2_set_sysname_readonly | ( | const u8_t * | ocstr, |
| const u16_t * | ocstrlen | ||
| ) |
see snmp_mib2_set_sysname but set pointer to readonly memory
Definition at line 176 of file lwip_snmp_mib2_system.c.
Generated on Fri Jul 22 2022 04:54:09 by
1.7.2
