Assigning a value in a struct, then can't read it in other namespace... perhaps

yggdrasilien:
Core.cpp

namespace Core {

void processLine()
  {
    uint8_t pin, value;
      LOG("GET pin #13"); LOG(" -> "); LOG(connexions[0].value); LOGLN(';');
    if (_currentStream->available()) {
      _readUint8(pin);
      _readUint8(value);
      setValueAtPin(pin, value);
    }
      LOG("SET pin #13"); LOG(" <- "); LOG(connexions[0].value); LOGLN(';');
  }

boolean setValueAtPin(uint8_t pin, uint8_t value)
  {
    for (uint8_t i=0; i<connexions_len; i++) {
      if (connexions[i].pin == pin) {
        connexions[i].value = value;
        return true;
      }
    }
    return false;
  }
 
}




...

Core.cpp

namespace Core {
 
  void setup()
  {
    for (uint8_t i=0; i<connexions_len; i++) {
      //pinMode(connexions[i].pin, OUTPUT);
    }
  }
}

Now I'm totally confused. What does Core.cpp have in it, exactly? What you posted first? Or second?