75 void connect(
const std::string& btAddress,
77 const std::function<
void(
const SocketAddress&, core::socket::State)>& onStatus)
const {
78 Super::getConfig().Remote::setBtAddress(btAddress).setChannel(channel);
80 connect(SocketAddress(btAddress, channel), onStatus);
83 void connect(
const std::string& btAddress,
85 const std::string& bindBtAddress,
86 const std::function<
void(
const SocketAddress&, core::socket::State)>& onStatus)
const {
87 Super::getConfig().Remote::setBtAddress(btAddress).setChannel(channel);
88 Super::getConfig().Local::setBtAddress(bindBtAddress);
103 void connect(
const std::string& btAddress,
105 const std::string& bindBtAddress,
107 const std::function<
void(
const SocketAddress&, core::socket::State)>& onStatus)
const {
108 Super::getConfig().Remote::setBtAddress(btAddress).setChannel(channel);
109 Super::getConfig().Local::setBtAddress(bindBtAddress).setChannel(bindChannel);