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.