Skip to content

Commit 5ad4898

Browse files
committed
Remove RS232 stuff from BeckerSocket
1 parent 5f5307a commit 5ad4898

File tree

2 files changed

+0
-12
lines changed

2 files changed

+0
-12
lines changed

lib/bus/drivewire/BeckerSocket.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ BeckerSocket::BeckerSocket() :
4343
_host(""),
4444
_ip(IPADDR_NONE),
4545
_port(BECKER_DEFAULT_PORT),
46-
_baud(DW_DEFAULT_BAUD), // not used by Becker
4746
_listening(true),
4847
_fd(-1),
4948
_listen_fd(-1),
@@ -62,7 +61,6 @@ void BeckerSocket::begin(std::string host, int baud)
6261
end();
6362

6463
_host = host;
65-
_baud = baud;
6664
read_timeout_ms = 500;
6765

6866
// listen or connect

lib/bus/drivewire/BeckerSocket.h

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ class BeckerSocket : public IOChannel
2323
in_addr_t _ip;
2424
uint16_t _port;
2525

26-
uint32_t _baud; // not used by Becker
27-
2826
// is waiting for connection (listening) or connecting to?
2927
bool _listening;
3028

@@ -74,14 +72,6 @@ class BeckerSocket : public IOChannel
7472
void begin(std::string host, int baud);
7573
void end() override;
7674

77-
void setBaudrate(uint32_t baud) override { _baud = baud; }
78-
uint32_t getBaudrate() override { return _baud; }
79-
80-
bool getDTR() { return false; }
81-
void setDSR(bool state) { return; }
82-
bool getRTS() { return false; }
83-
void setCTS(bool state) { return; }
84-
8575
void flushOutput() override;
8676

8777
void setHost(std::string host, int port);

0 commit comments

Comments
 (0)