Skip to content
Discussion options

You must be logged in to vote

@faanskit, Thank you.
So, is it like this?

#include <Arduino.h>
#include <vector>
#include <WiFi.h>
#include <WebServer.h>
#include <AutoConnect.h>

AutoConnect portal;

void getProviderMenuStr(std::vector<String>& providers) {
  providers.push_back("foo");
  providers.push_back("bar");
  providers.push_back("qux");
}

void getMarketMenuStr(std::vector<String>& areas) {
  areas.push_back("Johnson City");
  areas.push_back("East HIlls");
  areas.push_back("North Castle");
}

class MyPortal {
 public:
  MyPortal() {}
  ~MyPortal() {}
  AutoConnectAux* configPage(void);
};

AutoConnectAux* MyPortal::configPage(void) {
  std::vector<String> providers;
  std::vector<String> areas;
  getProvide…

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
5 replies
@faanskit
Comment options

@Hieromon
Comment options

@faanskit
Comment options

@faanskit
Comment options

@Hieromon
Comment options

Answer selected by Hieromon
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants