Sending serial request

Dear all.

Here is sample code ; where I am sending particular request <smcb3,3>. In parse request data has to taken like smcb<device_I’d>,device_I’d instead of
<smcb3,3>
Where character has to concante and send in

If(strncmp(request,"smcb3,3",7)!=0)

How can replace the "smcb3,3"with character string or character concat
smcb<device_I’d>,device_I’d

const int BUFFER_SZ = 32;
char sendBuffer[200]; 
int Status_Out[8];
static int  Device_ID=3;
int Output_Read = 2;
int array[8][3] = {
  {
    0, 0, 0
  }
  , {
    0, 0, 1
  }
  , {
    0, 1, 0
  }
  , {
    0, 1, 1
  }
  , {
    1, 0, 0
  }
  , {
    1, 0, 1
  }
  , {
    1, 1, 0
  }
  , {
    1, 1, 1
  }
};

int SO_enable = 5;
int S1_enable = 4;
int S2_enable = 3;

int ID_Check() {

  int ID_value;
  for (int row = 0; row < 8; row++)
  {
    digitalWrite(SO_enable, array[row][0]);
    digitalWrite(S1_enable, array[row][1]);
    digitalWrite(S2_enable, array[row][2]);
    Status_Out[row] = digitalRead(Output_Read);

  }

  ID_value = 1 * Status_Out[7] + 2 * Status_Out[6] + 4 * Status_Out[5] + 8 * Status_Out[4] + 16 * Status_Out[3] + 32 * Status_Out[2] + 64 * Status_Out[1] + 128 * Status_Out[0];
  return (ID_value);

}


void parseRequest(char *request)
{
  // Check the request starts with the prefix "SMCB6,1".
  if (strncmp(request, "SMCB3,3",7) != 0) {
    Serial.println(F("Error: bad request prefix"));
    // Serial_Command1();
    return;
  }

  // Remove that known prefix.
  // Now we have either "", ",Length" or ",Timer,On_OFF"
  request += 7;

  // Format 1: ""
  if (request[0] == '\0') {
    //Serial.println(F("Received format 1"));
    //Serial_Command1();
    return;
  }

  // Remove the leading comma.
  // Now we have either "Length" or "Timer,On_OFF"
  if (request[0] != ',') {
    Serial.println(F("Error: ',' expected"));
    return;
  }
  request++;

  // Format 2: "Length", no comma.
  char * comma = strchr(request, ',');
  if (!comma) {

    int length = atoi(request);
   // Serial_Command2(length);
    //Serial.print(F("Received format 2, length = "));
    // Serial.println(length);
    return;
  }


}


void setup()
{
  Serial.begin(56000);
  Serial.println("Format 1: <SMCB3 ,2>");
  Serial.println("Format 2: <SMCB3,2,Length>");
  // Serial.println("Format 2: <SMCB3 ,8,Length,ON> ON- turn on timer ,off to turn off timer");
    if (millis() < 8000)
   {
   Device_ID = ID_Check();
   }
   Serial.println(Device_ID);
   
}



void loop()
{
  static char buffer[BUFFER_SZ];  // received chars
  static size_t pos;              // current position in buffer
  static bool insideRequest;      // are we between '<' and '>'?
  //Serial.println("Loop Begin");
  if (Serial.available()) {
    //  Serial.println("Loopsfsfsfsf executed");
    char c = Serial.read();
    if (insideRequest) {
      if (c == '>') {  // end of request received
        buffer[pos] = '\0';  // terminate the string
        parseRequest(buffer);
        pos = 0;             // get ready for the next request
        insideRequest = false;
      }
      else if (pos < BUFFER_SZ-1) {  // add char to buffer
        buffer[pos++] = c;
      }
    }
    else if (c == '<') {  // start of request
      insideRequest = true;
    }
    //  Serial.println("Loop executed");
  }
}
char *str;
str = "smcb3,3";
If(strncmp(request,str,7)!=0)

Is this what you are asking?