setBand()

Description

Sets the frequency band the modem connects to. Check here for general GSM band information. Typical regional configurations are :

-Europe, Africa, Middle East: E-GSM(900)+DCS(1800)
-USA, Canada, South America: GSM(850)+PCS(1900)
-Mexico: PCS(1900)
-Brazil: GSM(850)+E-GSM(900)+DCS(1800)+PCS(1900)

Syntax


band.setBand(type)

Parameters

type : String identifying what frequency band the modem should connect to

GSM_MODE_UNDEFINED
GSM_MODE_EGSM
GSM_MODE_DCS
GSM_MODE_PCS
GSM_MODE_EGSM_DCS
GSM_MODE_GSM850_PCS
GSM_MODE_GSM850_EGSM_DCS_PCS

Returns

boolean : returns true if the process is successful, false if it is not

See also

getBand()


Libraries Reference Home

The text of the 86Duino reference is a modification of the Arduino reference, and is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.