Sending commands to configure device

Nikhil5 years ago

I am listening to a port and receiving the data using socket programming in node js.

I want to respond to device back by commands like [SG*8800000015*0009*UPLOAD,10], if i send the same command using socket.write() does that work same as sending sms upload123456 10 ?

does anyone know how to automate sms commands to indian mobile numbers?