arduino-libraries / MKRGSM

GNU Lesser General Public License v2.1
55 stars 51 forks source link

porting of ChooseRadioAccessTechnology from MKRNB #100

Closed Rocketct closed 5 years ago

Rocketct commented 5 years ago

porting of ChooseRadioAccessTechnology from MKRNB library,

Tested and works!

cc:/ @sandeepmistry could you double check and check also the coments?

Datasheet reference for allowed URAT combination(https://www.u-blox.com/sites/default/files/u-blox-CEL_ATCommands_%28UBX-13002752%29.pdf page 101):

urat: 0 - 2G only urat :2 - 3G only urat 1,0 - 2G/3G, 2G preferred urat 1,2 - 2G/3G, 3G preferred (default)

sandeepmistry commented 5 years ago

Tested this sketch and things look good. Please see my two comments and we are good to go!

terrasmart commented 5 years ago

This will be very useful, thank you.

If I may ask, the raw sequence of AT commands extracted from the code is:

AT+COPS=2 AT+URAT=2 (if you want 3G only) AT+CFUN=16

correct ?

Rocketct commented 5 years ago

Hi @terrasmart yes is correct!!