Documentation ¶
Index ¶
- Constants
- func PlayWavLocal(filepath string) error
- type Talkiepi
- func (b *Talkiepi) ChangeChannel(ChannelName string)
- func (b *Talkiepi) CleanUp()
- func (b *Talkiepi) Connect()
- func (b *Talkiepi) Init()
- func (b *Talkiepi) LEDOff(LED gpio.Pin)
- func (b *Talkiepi) LEDOffAll()
- func (b *Talkiepi) LEDOn(LED gpio.Pin)
- func (b *Talkiepi) LEDOnAll()
- func (b *Talkiepi) OnACL(e *gumble.ACLEvent)
- func (b *Talkiepi) OnBanList(e *gumble.BanListEvent)
- func (b *Talkiepi) OnChannelChange(e *gumble.ChannelChangeEvent)
- func (b *Talkiepi) OnConnect(e *gumble.ConnectEvent)
- func (b *Talkiepi) OnContextActionChange(e *gumble.ContextActionChangeEvent)
- func (b *Talkiepi) OnDisconnect(e *gumble.DisconnectEvent)
- func (b *Talkiepi) OnPermissionDenied(e *gumble.PermissionDeniedEvent)
- func (b *Talkiepi) OnServerConfig(e *gumble.ServerConfigEvent)
- func (b *Talkiepi) OnTextMessage(e *gumble.TextMessageEvent)
- func (b *Talkiepi) OnUserChange(e *gumble.UserChangeEvent)
- func (b *Talkiepi) OnUserList(e *gumble.UserListEvent)
- func (b *Talkiepi) OpenStream()
- func (b *Talkiepi) ParticipantLEDUpdate()
- func (b *Talkiepi) ReConnect()
- func (b *Talkiepi) ResetStream()
- func (b *Talkiepi) TestStart()
- func (b *Talkiepi) TestStop()
- func (b *Talkiepi) TransmitStart()
- func (b *Talkiepi) TransmitStop()
Constants ¶
View Source
const ( SmallOnlineLEDPin uint = 6 SmallParticipantsLEDPin uint = 7 BigParticipantsLEDPin uint = 17 SmallTransmitLEDPin uint = 8 BigTransmitLEDPin uint = 4 TransmitButtonPin uint = 18 TestButtonPin uint = 14 )
Raspberry Pi GPIO pin assignments (CPU pin definitions)
Variables ¶
This section is empty.
Functions ¶
func PlayWavLocal ¶
Types ¶
type Talkiepi ¶
type Talkiepi struct { Config *gumble.Config Client *gumble.Client Address string TLSConfig tls.Config ConnectAttempts uint Stream *gumbleopenal.Stream ChannelName string IsConnected bool IsTransmitting bool IsTesting bool ParticipantCount int PttStartFile string PttStopFile string GPIOEnabled bool SmallOnlineLED gpio.Pin SmallParticipantsLED gpio.Pin BigParticipantsLED gpio.Pin SmallTransmitLED gpio.Pin BigTransmitLED gpio.Pin TransmitButton gpio.Pin TransmitButtonState uint TestButton gpio.Pin TestButtonState uint }
func (*Talkiepi) ChangeChannel ¶
func (*Talkiepi) OnBanList ¶
func (b *Talkiepi) OnBanList(e *gumble.BanListEvent)
func (*Talkiepi) OnChannelChange ¶
func (b *Talkiepi) OnChannelChange(e *gumble.ChannelChangeEvent)
func (*Talkiepi) OnConnect ¶
func (b *Talkiepi) OnConnect(e *gumble.ConnectEvent)
func (*Talkiepi) OnContextActionChange ¶
func (b *Talkiepi) OnContextActionChange(e *gumble.ContextActionChangeEvent)
func (*Talkiepi) OnDisconnect ¶
func (b *Talkiepi) OnDisconnect(e *gumble.DisconnectEvent)
func (*Talkiepi) OnPermissionDenied ¶
func (b *Talkiepi) OnPermissionDenied(e *gumble.PermissionDeniedEvent)
func (*Talkiepi) OnServerConfig ¶
func (b *Talkiepi) OnServerConfig(e *gumble.ServerConfigEvent)
func (*Talkiepi) OnTextMessage ¶
func (b *Talkiepi) OnTextMessage(e *gumble.TextMessageEvent)
func (*Talkiepi) OnUserChange ¶
func (b *Talkiepi) OnUserChange(e *gumble.UserChangeEvent)
func (*Talkiepi) OnUserList ¶
func (b *Talkiepi) OnUserList(e *gumble.UserListEvent)
func (*Talkiepi) OpenStream ¶
func (b *Talkiepi) OpenStream()
func (*Talkiepi) ParticipantLEDUpdate ¶
func (b *Talkiepi) ParticipantLEDUpdate()
func (*Talkiepi) ResetStream ¶
func (b *Talkiepi) ResetStream()
func (*Talkiepi) TransmitStart ¶
func (b *Talkiepi) TransmitStart()
func (*Talkiepi) TransmitStop ¶
func (b *Talkiepi) TransmitStop()
Click to show internal directories.
Click to hide internal directories.