From: zarbon r on
I want to interface my gprs modem to my pc.I connected the modem to my pc through the serial port-COM1.I created an object and connected it to the device using fopen..
then I sent an 'at' command to the modem using fprintf function but I could get any reply with fscanf. when I used the "pinstatus" function I got this :

>> s1.pinstatus

ans =

CarrierDetect: 'off'
ClearToSend: 'on'
DataSetReady: 'off'
RingIndicator: 'off'

the datasetready status is still 'off'..

couldnt find wats wrong with it.. plz help