Functions related to system status and control.
More...
Functions related to system status and control.
◆ Bs120xEnet_GetStatus()
Gets the status of the unit.
- Note
- The BS120x unit must have UDP data broadcast enabled for this method to return valid data.
- Parameters
-
| [in] | handle | Ethernet client handle. |
| [out] | status_out | Pointer to the returned status. |
- Returns
- 0 on success or a negative error code.
◆ Bs120xEnet_Reset()
Commands the unit to reset.
- Note
- Disconnect and Connect must be called after this method to establish a new connection.
- Parameters
-
| [in] | handle | Ethernet client handle. |
- Returns
- 0 on success or a negative error code.
◆ Bs120xEnet_SetOpModeConfig()
Configures the operating mode of the unit.
- Parameters
-
| [in] | handle | Ethernet client handle. |
| [in] | config | The operating mode options to set. |
- Returns
- 0 on success or a negative error code.