getBand()

Description

Gets and returns the frequency band the modem is currently connected 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.getBand()

Parameters

none

Returns

String : name of the frequency band the modem connects 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

See also

setBand()


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.