Fixed -
You have to use void before() and place it before void presentation()
void before() {
pinMode (4, OUTPUT);
digitalWrite(4, HIGH);
}
void presentation()
{
// Send the Sketch Version Information to the Gateway
Serial.print("Send Sketch Info: ");
sendSketchInfo(SKETCH_NAME, SKETCH_VERSION);
Serial.print(SKETCH_NAME);
Serial.println(SKETCH_VERSION);
wait(LONG_WAIT);