adaan
Newbie level 1
- Joined
- Jun 25, 2009
- Messages
- 1
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Location
- South Africa
- Activity points
- 1,301
olimex pic gsm source code
Hello,
Please help me, I am interfacing a GSM/GPRS modem with a PIC16f887 microcontroller using assembly language.
I can successfully send SMS messages using the PIC, but I can't receive any modem repsonse.
With modem echo ON I only receive "At" and with modem echo OFF I only receive CR LF, when I am expecting an OK.
Part of my receive routine:
Hello,
Please help me, I am interfacing a GSM/GPRS modem with a PIC16f887 microcontroller using assembly language.
I can successfully send SMS messages using the PIC, but I can't receive any modem repsonse.
With modem echo ON I only receive "At" and with modem echo OFF I only receive CR LF, when I am expecting an OK.
Part of my receive routine:
Code:
INCF BufferSize,1
BANKSEL PIR1
BTFSS PIR1,RCIF
GOTO $-1
banksel RCREG
movf RCREG, W
movwf RXchr
goto BUFFER_ROUTINE