$search

ros_interface Struct Reference

List of all members.

Public Member Functions

void assocFailed (const u8 *bssid, const char *s)
void assocSucceeded ()
void ifaceIdle ()
void publishNetworkList ()
void publishUnassociated ()
 ros_interface (const ros::NodeHandle &nh, wpa_supplicant *wpa_s)
void scanCompleted (wpa_scan_results *scan_res)

Static Public Member Functions

static void setCountryCode (const char *country_code)

Static Public Attributes

static char country_code [2] = {0, 0}
static struct wpa_globalglobal = NULL

Private Member Functions

bool addNetwork (wpa_supplicant_node::AddNetwork::Request &req, wpa_supplicant_node::AddNetwork::Response &rsp)
void associateCancelCallback (AssociateActionServer::GoalHandle &gh)
void associateGoalCallback (AssociateActionServer::GoalHandle &gh)
void associateWork ()
void fillRosBss (wpa_supplicant_node::Bss &ros_bss, wpa_bss &bss)
void fillRosResp (wpa_supplicant_node::ScanResult &rslt, wpa_scan_results &scan_res)
void fillSecurityInformation (wpa_supplicant_node::SecurityProperties &props, struct wpa_ie_data &ie_data)
std::string fillWpaReq (boost::shared_ptr< const wpa_supplicant_node::ScanGoal > &g, struct wpa_driver_scan_params &wpa_req)
void lockedScanTryActivate ()
void publishFrequencyList ()
bool removeNetwork (wpa_supplicant_node::RemoveNetwork::Request &req, wpa_supplicant_node::RemoveNetwork::Response &rsp)
void requestAssociateWork ()
void scanCancel (ScanActionServer::GoalHandle &gh)
void scanCancelCallback (ScanActionServer::GoalHandle &gh)
void scanGoalCallback (ScanActionServer::GoalHandle &gh)
void scanTryActivate ()
void setDriverCountry ()
bool setNetworkParameter (wpa_supplicant_node::SetNetworkParameters::Request &req, wpa_supplicant_node::SetNetworkParameters::Response &rsp)
bool setNetworkState (wpa_supplicant_node::SetNetworkState::Request &req, wpa_supplicant_node::SetNetworkState::Response &rsp)
void startActiveAssociation (AssociateActionServer::GoalHandle &gh)
void stopActiveAssociation ()

Static Private Member Functions

static void associateTimeoutHandler (void *wpa_s, void *unused)
static void delayedPublishFrequencyList (void *wpa_s, void *repeat_p)
static void scanTimeoutHandler (void *wpa_s, void *unused)

Private Attributes

AssociateActionServer aas_
AssociateActionServer::GoalHandle active_association_
ros::ServiceServer add_network_service_
std::queue
< AssociateActionServer::GoalHandle
associate_cancel_queue_
std::queue
< AssociateActionServer::GoalHandle
associate_goal_queue_
boost::recursive_mutex associate_mutex_
bool associate_work_requested_
ros::Publisher association_publisher_
ScanActionServer::GoalHandle current_scan_
std::vector< int > current_scan_frequencies_
ros::Publisher frequency_list_publisher_
ros::Publisher network_list_publisher_
ros::NodeHandle nh_
ros::ServiceServer remove_network_service_
ScanActionServer sas_
boost::recursive_mutex scan_mutex_
ros::Publisher scan_publisher_
std::queue
< ScanActionServer::GoalHandle
scan_queue_
ros::ServiceServer set_network_parameter_service_
ros::ServiceServer set_network_state_service_
wpa_supplicantwpa_s_

Detailed Description

Definition at line 202 of file wpa_supplicant_node.cpp.


Constructor & Destructor Documentation

ros_interface::ros_interface ( const ros::NodeHandle nh,
wpa_supplicant wpa_s 
) [inline]

Definition at line 240 of file wpa_supplicant_node.cpp.


Member Function Documentation

bool ros_interface::addNetwork ( wpa_supplicant_node::AddNetwork::Request req,
wpa_supplicant_node::AddNetwork::Response rsp 
) [inline, private]

Definition at line 486 of file wpa_supplicant_node.cpp.

void ros_interface::assocFailed ( const u8 bssid,
const char *  s 
) [inline]

Definition at line 331 of file wpa_supplicant_node.cpp.

void ros_interface::associateCancelCallback ( AssociateActionServer::GoalHandle gh  )  [inline, private]

Definition at line 652 of file wpa_supplicant_node.cpp.

void ros_interface::associateGoalCallback ( AssociateActionServer::GoalHandle gh  )  [inline, private]

Definition at line 644 of file wpa_supplicant_node.cpp.

static void ros_interface::associateTimeoutHandler ( void *  wpa_s,
void *  unused 
) [inline, static, private]

Definition at line 876 of file wpa_supplicant_node.cpp.

void ros_interface::associateWork (  )  [inline, private]

Definition at line 591 of file wpa_supplicant_node.cpp.

void ros_interface::assocSucceeded (  )  [inline]

Definition at line 358 of file wpa_supplicant_node.cpp.

static void ros_interface::delayedPublishFrequencyList ( void *  wpa_s,
void *  repeat_p 
) [inline, static, private]

Definition at line 427 of file wpa_supplicant_node.cpp.

void ros_interface::fillRosBss ( wpa_supplicant_node::Bss ros_bss,
wpa_bss bss 
) [inline, private]

Definition at line 701 of file wpa_supplicant_node.cpp.

void ros_interface::fillRosResp ( wpa_supplicant_node::ScanResult rslt,
wpa_scan_results scan_res 
) [inline, private]

Definition at line 729 of file wpa_supplicant_node.cpp.

void ros_interface::fillSecurityInformation ( wpa_supplicant_node::SecurityProperties props,
struct wpa_ie_data ie_data 
) [inline, private]

Definition at line 660 of file wpa_supplicant_node.cpp.

std::string ros_interface::fillWpaReq ( boost::shared_ptr< const wpa_supplicant_node::ScanGoal > &  g,
struct wpa_driver_scan_params wpa_req 
) [inline, private]

Definition at line 883 of file wpa_supplicant_node.cpp.

void ros_interface::ifaceIdle (  )  [inline]

Definition at line 292 of file wpa_supplicant_node.cpp.

void ros_interface::lockedScanTryActivate (  )  [inline, private]

Definition at line 813 of file wpa_supplicant_node.cpp.

void ros_interface::publishFrequencyList (  )  [inline, private]

Definition at line 435 of file wpa_supplicant_node.cpp.

void ros_interface::publishNetworkList (  )  [inline]

Definition at line 374 of file wpa_supplicant_node.cpp.

void ros_interface::publishUnassociated (  )  [inline]

Definition at line 286 of file wpa_supplicant_node.cpp.

bool ros_interface::removeNetwork ( wpa_supplicant_node::RemoveNetwork::Request req,
wpa_supplicant_node::RemoveNetwork::Response rsp 
) [inline, private]

Definition at line 498 of file wpa_supplicant_node.cpp.

void ros_interface::requestAssociateWork (  )  [inline, private]

Definition at line 533 of file wpa_supplicant_node.cpp.

void ros_interface::scanCancel ( ScanActionServer::GoalHandle gh  )  [inline, private]

Definition at line 798 of file wpa_supplicant_node.cpp.

void ros_interface::scanCancelCallback ( ScanActionServer::GoalHandle gh  )  [inline, private]

Definition at line 780 of file wpa_supplicant_node.cpp.

void ros_interface::scanCompleted ( wpa_scan_results scan_res  )  [inline]

Definition at line 296 of file wpa_supplicant_node.cpp.

void ros_interface::scanGoalCallback ( ScanActionServer::GoalHandle gh  )  [inline, private]

Definition at line 768 of file wpa_supplicant_node.cpp.

static void ros_interface::scanTimeoutHandler ( void *  wpa_s,
void *  unused 
) [inline, static, private]

Definition at line 870 of file wpa_supplicant_node.cpp.

void ros_interface::scanTryActivate (  )  [inline, private]

Definition at line 915 of file wpa_supplicant_node.cpp.

static void ros_interface::setCountryCode ( const char *  country_code  )  [inline, static]

Definition at line 268 of file wpa_supplicant_node.cpp.

void ros_interface::setDriverCountry (  )  [inline, private]

Definition at line 403 of file wpa_supplicant_node.cpp.

bool ros_interface::setNetworkParameter ( wpa_supplicant_node::SetNetworkParameters::Request req,
wpa_supplicant_node::SetNetworkParameters::Response rsp 
) [inline, private]

Definition at line 522 of file wpa_supplicant_node.cpp.

bool ros_interface::setNetworkState ( wpa_supplicant_node::SetNetworkState::Request req,
wpa_supplicant_node::SetNetworkState::Response rsp 
) [inline, private]

Definition at line 510 of file wpa_supplicant_node.cpp.

void ros_interface::startActiveAssociation ( AssociateActionServer::GoalHandle gh  )  [inline, private]

Definition at line 548 of file wpa_supplicant_node.cpp.

void ros_interface::stopActiveAssociation (  )  [inline, private]

Definition at line 539 of file wpa_supplicant_node.cpp.


Member Data Documentation

Definition at line 221 of file wpa_supplicant_node.cpp.

Definition at line 222 of file wpa_supplicant_node.cpp.

Definition at line 228 of file wpa_supplicant_node.cpp.

Definition at line 225 of file wpa_supplicant_node.cpp.

Definition at line 224 of file wpa_supplicant_node.cpp.

boost::recursive_mutex ros_interface::associate_mutex_ [private]

Definition at line 220 of file wpa_supplicant_node.cpp.

Definition at line 223 of file wpa_supplicant_node.cpp.

Definition at line 236 of file wpa_supplicant_node.cpp.

char ros_interface::country_code = {0, 0} [static]

Definition at line 204 of file wpa_supplicant_node.cpp.

Definition at line 216 of file wpa_supplicant_node.cpp.

std::vector<int> ros_interface::current_scan_frequencies_ [private]

Definition at line 217 of file wpa_supplicant_node.cpp.

Definition at line 234 of file wpa_supplicant_node.cpp.

struct wpa_global * ros_interface::global = NULL [static]

Definition at line 205 of file wpa_supplicant_node.cpp.

Definition at line 235 of file wpa_supplicant_node.cpp.

Definition at line 210 of file wpa_supplicant_node.cpp.

Definition at line 229 of file wpa_supplicant_node.cpp.

Definition at line 214 of file wpa_supplicant_node.cpp.

boost::recursive_mutex ros_interface::scan_mutex_ [private]

Definition at line 213 of file wpa_supplicant_node.cpp.

Definition at line 237 of file wpa_supplicant_node.cpp.

Definition at line 215 of file wpa_supplicant_node.cpp.

Definition at line 231 of file wpa_supplicant_node.cpp.

Definition at line 230 of file wpa_supplicant_node.cpp.

Definition at line 208 of file wpa_supplicant_node.cpp.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines


wpa_supplicant_node
Author(s): Package maintained by Blaise Gassend
autogenerated on Fri Mar 1 16:00:55 2013