Help needed on using Arduino mega UART (Tx/Rx)

Hi, sorry for my poor grasps in the programming field...

I am using the codes below however I am still unable to receive any reply from the camera... Can you advise me?

#include <SoftwareSerial.h>
#define CMD_SIZE 6

SoftwareSerial camera(10, 11); // RX - Mega limits RX pin, TX

static const byte CMD_PREFIX = 0xAA;
static const byte CMD_SYNC = 0x0D;
static const byte CMD_ACK = 0x0E;

byte _command[CMD_SIZE];
byte _receive_cmd[CMD_SIZE];

int attempts = 0;

void setup(){
Serial.begin(9600);
camera.begin(14400);
Serial.println(camera.available());
Serial.println("Starting...");
delay(10000);
if(!sync()) {
Serial.println(" failed");
}
}

void loop(){

}

boolean sync() {
bool success = false;
int attempts = 0;
// manual indicates we might need 60 attempts at syncing
while(attempts < 60) {
createCommand(CMD_SYNC, 0x00, 0x00, 0x00, 0x00);
Serial.println("Command created!");
sendCommand();
delay(200);
receiveReply();

if(_receive_cmd[1] == CMD_ACK && _receive_cmd[2] == CMD_SYNC) {
receiveReply();
if(_receive_cmd[1] == CMD_SYNC) {
camera.flush();
createCommand(CMD_ACK, CMD_SYNC, 0x00, 0x00, 0x00);
sendCommand();
return true;
}
else {
return false;
}
}
attempts++;
}
return success;
}

void createCommand(byte cmd, byte param1, byte param2, byte param3, byte param4 ) {
_command[0] = CMD_PREFIX;
_command[1] = cmd;
_command[2] = param1;
_command[3] = param2;
_command[4] = param3;
_command[5] = param4;
}

void sendCommand() {
Serial.println("Sending command:");
for(int i = 0; i < 6; i++) {
camera.write(command*);*
//camera.print(command*,BYTE);
Serial.println(_command);*

* }*

}
boolean receiveReply() {
* delay(1000);*
* if( camera.available() > 0 )*
* {*
* for(int i = 0;i < 6; i++) {*
receive_cmd = camera.read();
* }
return true;
Serial.print("Reply is available");
}
else {
return false;
Serial.print("Reply is not available");
}
}*_