No communication with SIM900A using Arduino Uno
One problem I can see in your code is the following line:

while (mySerial.available() &lt; 0) {


The available() method returns the number of characters available and will never be negative, so that means your AT command will never be transmitted, in fact your main code probably isn't starting up. Also you're not terminating the command with a carriage return so try the following code:

while (mySerial.available() == 0) {
  mySerial.println("AT");
  delay(2000);
}


Often when playing around with a new GSM module I find it more convenient to be able to type things from a PC to check operation, so maybe for a start you could use something like this to pass data through:

void loop() {
  if (mySerial.available() &gt; 0)
    Serial.write(mySerial.read());
  if (Serial.available() &gt; 0)
    mySerial.write(Serial.read());
}


I used a very similar board recently with a SIM900 loaded that didn't come with much in the way of documentation and while searching I found some Arduino boards are set for auto-baud and some are fixed at 19200, so using a baud rate of 19200 that should work either way might be your best starting point.