Go to the source code of this file.
Functions | |
SbgErrorCode | sbgEComEthernetConfParse (SbgStreamBuffer *pInputStream, SbgEComEthernetConf *pEthernetConf) |
SbgErrorCode | sbgEComEthernetConfWrite (SbgStreamBuffer *pOutputStream, const SbgEComEthernetConf *pEthernetConf) |
SbgErrorCode | sbgEComEthernetGetConf (SbgEComHandle *pHandle, SbgEComEthernetConf *pEthernetConf) |
SbgErrorCode | sbgEComEthernetInfo (SbgEComHandle *pHandle, SbgEComEthernetConf *pEthernetConf) |
SbgErrorCode | sbgEComEthernetSetConf (SbgEComHandle *pHandle, const SbgEComEthernetConf *pEthernetConf) |
SbgErrorCode sbgEComEthernetConfParse | ( | SbgStreamBuffer * | pInputStream, |
SbgEComEthernetConf * | pEthernetConf | ||
) |
Parse the input stream buffer to extract all parameters and fill the corresponding structure.
[in] | pInputStream | Pointer on the input stream buffer to read from. |
[out] | pEthernetConf | Structure used to store the parsed parameters. |
Definition at line 43 of file sbgEComCmdEthernet.c.
SbgErrorCode sbgEComEthernetConfWrite | ( | SbgStreamBuffer * | pOutputStream, |
const SbgEComEthernetConf * | pEthernetConf | ||
) |
Write in the output stream buffer, the provided Ethernet configuration.
[out] | pOutputStream | Pointer on the output stream buffer to write to. |
[in] | pEthernetConf | Structure used to hold the parameters to write to the payload buffer. |
Definition at line 13 of file sbgEComCmdEthernet.c.
SbgErrorCode sbgEComEthernetGetConf | ( | SbgEComHandle * | pHandle, |
SbgEComEthernetConf * | pEthernetConf | ||
) |
Get the configuration for the Ethernet interface. Warning: this method only returns the Ethernet configuration and NOT the ip address currently used by the device. You should rather use sbgEComEthernetInfo to retreive the current assigned IP.
[in] | pHandle | A valid sbgECom handle. |
[out] | pEthernetConf | Poiner to a SbgEComEthernetConf struct that holds the read configuration from the device. |
Definition at line 79 of file sbgEComCmdEthernet.c.
SbgErrorCode sbgEComEthernetInfo | ( | SbgEComHandle * | pHandle, |
SbgEComEthernetConf * | pEthernetConf | ||
) |
Get the current assigned and used IP address as well as network inforamtion. In opposition to sbgEComEthernetGetConf, this method will not return the Ethernet configuration. It will rather return the IP address currently used by the device.
[in] | pHandle | A valid sbgECom handle. |
[out] | pEthernetConf | Poiner to a SbgEComEthernetConf struct that holds the read IP settings from the device. |
Definition at line 229 of file sbgEComCmdEthernet.c.
SbgErrorCode sbgEComEthernetSetConf | ( | SbgEComHandle * | pHandle, |
const SbgEComEthernetConf * | pEthernetConf | ||
) |
Set the configuration for the Ethernet interface.
[in] | pHandle | A valid sbgECom handle. |
[in] | pEthernetConf | Poiner to a SbgEComEthernetConf struct that holds the new configuration to apply. |
Definition at line 152 of file sbgEComCmdEthernet.c.