Documentation ¶
Index ¶
- Variables
- func ChAtt2Num(att string) int
- func ChDCS2Num(dcs string) int
- func ChMode2Num(mode string) int
- func ChOffsetStep2Str(offset bool) string
- func ChSq2Num(sql string) int
- func ChStep2Num(step string) int
- func ChTone2Num(tone string) int
- func Close(port serial.Port) error
- func Connect(portName string) (serial.Port, error)
- func GetPortName(portName string) (string, error)
- func ListPorts() error
- func MakeChData(dataOrg string, chData ChData) (string, error)
- func ParseBankName(str string, b string) (string, error)
- func ReadBankData(port serial.Port) (string, error)
- func ReadChData(port serial.Port, ch int) (string, error)
- func RestartCmd(port serial.Port) error
- func SJISMultiCheck(b byte) bool
- func SJIStoUTF8(str string) (string, error)
- func SendCmd(port serial.Port, cmd string) (string, error)
- func SetBankName(str string, b string, n string) (string, error)
- func UTF8toSJIS(str string) (string, error)
- func WriteBankData(port serial.Port, data string) (string, error)
- func WriteChData(port serial.Port, ch int, data string) (string, error)
- type ChData
Constants ¶
This section is empty.
Variables ¶
View Source
var BaseData = "" /* 256-byte string literal not displayed */
View Source
var ChAtt = []string{"OFF", "10db", "20db"}
View Source
var ChDCS = []string{} /* 106 elements not displayed */
View Source
var ChMode = []string{"FM", "NFM", "AM", "NAM", "T98", "T102_B54", "DMR", "T61_typ1", "T61_typ2", "T61_typ3", "T61_typ4", "", "", "dPMR", "DSTAR", "C4FM", "AIS", "ACARS", "POCSAG", "12KIF_W", "12KIF_N"}
View Source
var ChSq = []string{"OFF", "CTCSS", "DCS", "R_CTCSS", "R_DCS", "JR", "MSK"}
View Source
var ChStep = []string{"1k", "5k", "6k25", "8k33", "10k", "12k5", "15k", "20k", "25k", "30k", "50k", "100k", "125k", "200k"}
View Source
var ChTone = []string{"670", "693", "719", "744", "770", "797", "825", "854", "885", "915", "948", "974", "1000", "1035", "1072", "1109", "1148", "1188", "1230", "1273", "1318", "1355", "1413", "1462", "1415", "1567", "1598", "1622", "1655", "1679", "1713", "1738", "1773", "1799", "1835", "1862", "1899", "1928", "1966", "1995", "2035", "2065", "2107", "2181", "2257", "2291", "2336", "2418", "2503", "2541"}
Functions ¶
func ChMode2Num ¶
func ChOffsetStep2Str ¶ added in v1.3.0
func ChStep2Num ¶
func ChTone2Num ¶ added in v1.3.0
func ParseBankName ¶ added in v1.3.0
バンクデータ解析
func SJISMultiCheck ¶ added in v1.3.0
http://www5f.biglobe.ne.jp/~fuku-labo/library/program/cpp/2/076.htm ShiftJISのマルチバイト判定(1文字目)
func SetBankName ¶ added in v1.3.0
バンクデータ挿入
func WriteBankData ¶ added in v1.3.0
バンクデータ書き込み
Types ¶
Click to show internal directories.
Click to hide internal directories.