Can anyone help me with the coding of fire alert with sms800L

would recommend you use AltSoftSerial and test basic AT commnds before attempting anything complex - see basic SIM800 test