Hi guys
I am having a bit trouble getting info from my GSM/GPRS A6 Board.
I finally managed initial communication, but getting the network status is being troublesome.
When I initialize my board, I get the expected "AT+CNMI=2,1"
But, seems like the board doesn't come out from the busy state, so I commented the line "If Busy = true...." in the SendCommand sub, and it performs the action as expected, and gives me as result
but the CheckRegistration sub logs "Not registred"
I wonder if this line is correct?
Form the documentation in this page, my response shows the board to be registered to home network
I am having a bit trouble getting info from my GSM/GPRS A6 Board.
I finally managed initial communication, but getting the network status is being troublesome.
When I initialize my board, I get the expected "AT+CNMI=2,1"
But, seems like the board doesn't come out from the busy state, so I commented the line "If Busy = true...." in the SendCommand sub, and it performs the action as expected, and gives me as result
B4X:
AT+CREG?
+CREG: 1?1
OK
I wonder if this line is correct?
B4X:
If bc.IndexOf(buffer, "+CREG: 0,1") > -1 Or bc.IndexOf(buffer, "+CREG: 0,5") > -1 Then
Form the documentation in this page, my response shows the board to be registered to home network