Must initialize with a valid signal id.
Bug:
141758481
Test: Verified connection response recieved with non-zero signal id
Change-Id: Icf0ca6a3404759da3734c2d760683a71063340a4
PendingCommand last_sent_command_;
std::queue<PendingCommand> pending_commands_;
os::Alarm alarm_;
- SignalId next_signal_id_ = kInvalidSignalId;
+ SignalId next_signal_id_ = kInitialSignalId;
};
} // namespace internal
};
constexpr SignalId kInvalidSignalId{0};
+constexpr SignalId kInitialSignalId{1};
inline bool operator==(const SignalId& lhs, const SignalId& rhs) {
return lhs.value_ == rhs.value_;