Example #1
0
func (sm *StateMachine) IsConnected() bool {
	return C.GSM_IsConnected(sm.g) != 0
}
Example #2
0
// Checks if phone is connected
func (g *GSM) IsConnected() bool {
	return int(C.GSM_IsConnected(g.sm)) != 0
}