Class for sending GigE Vision FORCEIP_CMD to camera. More...
#include <force_ip.h>
Public Types | |
| typedef SocketLinux | SocketType |
Public Member Functions | |
| ForceIP () | |
| Constructor. More... | |
| void | sendCommand (std::uint64_t mac, std::uint32_t ip, std::uint32_t subnet, std::uint32_t gateway) |
| Send FORCEIP_CMD. More... | |
Private Attributes | |
| std::vector< SocketType > | sockets_ |
Class for sending GigE Vision FORCEIP_CMD to camera.
Definition at line 26 of file force_ip.h.
Definition at line 32 of file force_ip.h.
| rcdiscover::ForceIP::ForceIP | ( | ) |
| void rcdiscover::ForceIP::sendCommand | ( | std::uint64_t | mac, |
| std::uint32_t | ip, | ||
| std::uint32_t | subnet, | ||
| std::uint32_t | gateway | ||
| ) |
Send FORCEIP_CMD.
| mac | the destination MAC address |
| ip | the desired IP address |
| subnet | the desired subnet mask |
| gateway | the desired default gateway |
ip is set to 0, the camera will perform a reconnect. Definition at line 29 of file force_ip.cc.
|
private |
Definition at line 55 of file force_ip.h.