Using c how u send sms

One of the S's in SMS is for Simple. Using C in SMS is definitely not simple.

You would have to do all your coding for the mobile receiver and pump control circuits.
What language does your pump control circuit use?
What language does your mobile phone interface use?