ACKme Logo WiConnect Host Library- API Reference Guide
 
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Groups Pages
ScanResultList.h
1 
29 #pragma once
30 
31 #include "api/WiconnectTypes.h"
32 #include "ScanResult.h"
33 
34 
35 
36 namespace wiconnect
37 {
38 
39 
47 {
48 public:
49  ScanResultList(int bufferLen = 0, void *buffer = NULL);
50  ~ScanResultList();
51 
52  void reset(void);
53  const ScanResult* getListHead() const;
54  int getCount() const;
55  const ScanResult* getResult(int i) const;
56  const ScanResult* operator [](int i) const;
57 
58 protected:
59  ScanResult *listHead, *listTail;
60  uint8_t *buffer;
61  uint8_t *bufferPtr;
62  uint16_t bufferLen;
63  uint16_t bufferRemaining;
64  int count;
65 
66  WiconnectResult add(const char *channelStr, const char *rssiStr, const char* macStr, const char *rateStr, const char *secStr, const char *ssidStr);
67 
68 
69  friend class NetworkInterface;
70 };
71 
72 
73 }
The provides an interface for joining and/or creating a network. It provides other utilities such as ...
WiconnectResult
API Result code.
List of WiFi network scan results.
Contains single entry from WiFi scan results.
Definition: ScanResult.h:46