getBand()

描述

取得目前连线中使用的频段。在这个网页裡有 GSM 频段的资讯,以下为典型的区域设定:

-欧洲、非洲、中东:E-GSM(900)+DCS(1800)
-美国、加拿大、南美洲:GSM(850)+PCS(1900)
-墨西哥:PCS(1900)
-巴西:GSM(850)+E-GSM(900)+DCS(1800)+PCS(1900)

语法


band.getBand()

参数

无参数

回传

String:连线中网路的频段名称

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()


函式库参考主页面

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.