53 void connect(
const std::string& btAddress,
55 const std::function<
void(
const SocketAddress&, core::socket::State)>& onStatus)
const {
56 Super::getConfig().Remote::setBtAddress(btAddress).setChannel(channel);
58 connect(SocketAddress(btAddress, channel), onStatus);
61 void connect(
const std::string& btAddress,
63 const std::string& bindBtAddress,
64 const std::function<
void(
const SocketAddress&, core::socket::State)>& onStatus)
const {
65 Super::getConfig().Remote::setBtAddress(btAddress).setChannel(channel);
66 Super::getConfig().Local::setBtAddress(bindBtAddress);
81 void connect(
const std::string& btAddress,
83 const std::string& bindBtAddress,
85 const std::function<
void(
const SocketAddress&, core::socket::State)>& onStatus)
const {
86 Super::getConfig().Remote::setBtAddress(btAddress).setChannel(channel);
87 Super::getConfig().Local::setBtAddress(bindBtAddress).setChannel(bindChannel);