Documentation ¶
Index ¶
- Constants
- type GSMModem
- func (m *GSMModem) Connect() (err error)
- func (m *GSMModem) ExpectAnswer() (string, error)
- func (m *GSMModem) Read(n int) string
- func (m *GSMModem) Send(command string)
- func (m *GSMModem) SendCommand(command string, waitForOk bool) string
- func (m *GSMModem) SendSMS(mobile string, message string) string
Constants ¶
View Source
const ( SMSStatusOk = "OK" SMSStatusError = "Error" )
ответы получаемые от модема
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.