Working with uint8_t*

I think what I meant by "some way thats reusable" was something like this:

    for(int i=0; i<6; i++) {
      Serial.print(BSSID[i]);
      Serial.print("|");
    }

This displays everything in base 10 and even though I have no idea if that's a safe and appropriate way of doing this, it seems to work... and I can now manually "reuse" this information (the mac address).

Also, in the scanNetwork-function, what I did is this:

 config.bssid = new uint8_t[6];
 config.bssid[0] = 128;
 config.bssid[1] = 198;
 config.bssid[2] = 171;
 config.bssid[3] = 25;
 config.bssid[4] = 182;
 config.bssid[5] = 186;

Again, the compiler seems to figure out how to interpret the values, so that's good.

Embarrassingly simple in hindsight. And as so often... I almost had it right many hours ago.