Click here to Skip to main content
15,896,489 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hey guys this can someone help me? i cant receive message using this codes:


VB
Public Sub receive()
       If srPort.IsOpen = True Then
           Try

               With srPort
                   .WriteLine("AT")
                   .WriteLine("AT+CMGF=1" & Chr(34) & vbCrLf)
                   .WriteLine("AT+CSCS=""PCCP437""" & Chr(34) & vbCrLf)
                   .WriteLine("AT+CPMS=""SM""" & Chr(34) & vbCrLf)
                   .WriteLine("AT+CMGL=""REC UNREAD""" & receiveRT.Text & vbCrLf)


               End With
           Catch ex As Exception

           End Try

       End If
   End Sub


can someone help me fix this codes? i am using broadband as sender and receiver..

I really need this code for my thesis...getting desperate....

Thanks in Advance..
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900