Ok Ill try that AT&V command.
I have peaked into the library quite a bit as you might imagine. There are some ifdef lines for whether you are using an UNO/Nano or a MEGA, because they basically activate the HWSerial.h/cpp declaration which uses Serial1 as the comm port instead of Serial of the Uno/Nano. But I have even duplicated the library and renamed the relevant files (GSM, SIM900, HWSerial & a couple of others) with a z at the end just to tell the libraries apart. Then I modified all Serial1 references in HWSerialz.h/cpp to Serial and plugged the SIM900 into the Tx/Rx pins of the nano, and comm between the sim and the nano takes place and i can see all logs. But the sms is never sent.
The one thing that stuck me from the mega implementation of that library is that _cell.begin() is only called from the #ifdef MEGA block and not from the #ifdef UNO block (GSM.h/cpp). Although _cell.begin() does get called in a none specific (Uno/Mega) block later on, in the GSM.begin() function.
Ill post later about the MEGA results and AT&V.
I just tried the sim directly to the usb again but fail!
Plugged in @:
306p: 800ms
Didnt open terminal program...want to see if itll register without that..it should...
316p: 800ms
320p: 800ms
opened coolterm...
332p: still cycling...
AT+CUSD?
+CUSD: 0
AT+CUSD=1
+CUSD: 0
CUSD worked yesterday and it was supposed to be saved because I entered AT&W like you said, but i guess not!
I tried a few more things.
336p sent AT = OK
338p sent AT+CREG=1 = OK
340p send AT&V returns:
ACTIVE PROFILE:
E1 Q0 V1 X4 &C1 &D1 +IFC= 0,0 +FCLASS0
S00:0 S03:13 S04:10 S05:8 S07:60 S08:2 S10:15
STORED PROFILE 0:
E1 Q0 V1 X4 &C1 &D1 +IFC= 0,0 +FCLASS0
S00:0 S03:13 S04:10 S05:8 S07:60 S08:2 S10:15
STORED PROFILE 1:
E1 Q0 V1 X4 &C1 &D1 +IFC= 0,0 +FCLASS0
S00:0 S03:13 S04:10 S05:8 S07:60 S08:2 S10:15
OK
348p: still nothing
630p: plugged in again, no coolterm
640p: nothing
648p: coolterm opened
658p: ? ... nothing...
700p: unplug sim, dont close coolterm, plug back in nothing...
712p CREG=2
+CREG: 1,"0033","023C"
722p
AT+CREG? 2,4
AT+COPS? 0
AT+CFUN? 1
AT+CPIN? --- slow to answer OK...last done at 747p
AT+CSQ?
AT+CSCA?
AT+CSCS? IRA
AT+CPAS?
AT+CIMI?
AT+CSPN? = TIGO, 0
I just got HEe5 at 725pm!!!
738p
AT+cnetscan=1
743p
call sim
How do I access that network message from the network to the sim?
800p
plug with coolterm/serial term open...
801p
opened coolterm again!!!! 810p it registered steady.
+CREG: 2,1,"0033","023C"
AT&V
ACTIVE PROFILE:
E1 Q0 V1 X4 &C1 &D1 +IFC= 0,0 +FCLASS0
S00:0 S03:13 S04:10 S05:8 S07:60 S08:2 S10:15
STORED PROFILE 0:
E1 Q0 V1 X4 &C1 &D1 +IFC= 0,0 +FCLASS0
S00:0 S03:13 S04:10 S05:8 S07:60 S08:2 S10:15
STORED PROFILE 1:
E1 Q0 V1 X4 &C1 &D1 +IFC= 0,0 +FCLASS0
S00:0 S03:13 S04:10 S05:8 S07:60 S08:2 S10:15
OK
+COPS: 0,0,"CELTELHND"
AT+CSQ?
+CME ERROR: operation not allowed
AT+CSCA?
+CSCA: "+5049526911",145
So it seems I need to plug in the adapter and then open cool term. Tried sending sms:
AT+CMGF=1
AT+CMGS="+50494505578"
ctrl+z
...
didnt get the message. Was it 26 or 0x1A or cmd+z instead of ctrlz
starts with cfun,cpin,creg business again at 820pm...will i get it again at 830pm?????? If so, then try opening coolterm first again.
833p clicked disconnect, then connect on coolterm...got it!!! sent sms, 26...>0x1A>cmd+z=z>ctrl+z=>RDY
still no sms
844p close coolterm, open it back up...still connected, 3 second blink
855p close coolterm, unplug...replug, open coolterm...still connected, 3 second blink
CUSD:0 again! AT&W not working
847 sent sms again, got +CMGS:48
maybe the timout between commands...
tried again as before, copying command cmgf into terminal without hitting enter, copying cmgs, and pasting and ctrlz...yup, worked again. So timing is key!
So I was thinking of modifying the gsmz.cpp file in the library to call _cell.begin()????????