Documentation
¶
Index ¶
- Constants
- type CRCLENGTH
- type DATARATE
- type PA_DBM
- type R
- func (r *R) Available() bool
- func (r *R) AvailablePipe() (bool, uint8)
- func (r *R) Begin()
- func (r *R) Delete()
- func (r *R) DisableCRC()
- func (r *R) EnableAckPayload()
- func (r *R) EnableDynamicPayloads()
- func (r *R) GetCRCLength() CRCLENGTH
- func (r *R) GetDataRate() DATARATE
- func (r *R) GetDynamicPayloadSize() uint8
- func (r *R) GetPALevel() PA_DBM
- func (r *R) GetPayloadSize() uint8
- func (r *R) IsAckPayloadAvailable() bool
- func (r *R) IsPVariant() bool
- func (r *R) OpenReadingPipe(pipe uint8, address uint64)
- func (r *R) OpenWritingPipe(address uint64)
- func (r *R) PowerDown()
- func (r *R) PowerUp()
- func (r *R) PrintDetails()
- func (r *R) Read(length uint8) []byte
- func (r *R) ResetCfg()
- func (r *R) SetAutoAck(enable bool)
- func (r *R) SetAutoAckPipe(pipe uint8, enable bool)
- func (r *R) SetCRCLength(length CRCLENGTH)
- func (r *R) SetChannel(channel uint8)
- func (r *R) SetDataRate(rate DATARATE)
- func (r *R) SetPALevel(level PA_DBM)
- func (r *R) SetPayloadSize(size uint8)
- func (r *R) SetRetries(delay uint8, count uint8)
- func (r *R) StartListening()
- func (r *R) StartWrite(data []byte, length uint8, multicast bool)
- func (r *R) StopListening()
- func (r *R) TestCarrier() bool
- func (r *R) TestRPD() bool
- func (r *R) WhatHappened() (tx_ok, tx_fail, rx_ready bool)
- func (r *R) Write(data []byte, length uint8) bool
- func (r *R) WriteAckPayload(pipe uint8, data []byte, length uint8)
Constants ¶
View Source
const ( CRC_DISABLED = iota CRC_8BIT CRC_16BIT )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type R ¶
type R struct {
// contains filtered or unexported fields
}
func (*R) AvailablePipe ¶
TODO: create Pipe type, make this a func on Pipe
func (*R) DisableCRC ¶
func (r *R) DisableCRC()
func (*R) EnableAckPayload ¶
func (r *R) EnableAckPayload()
func (*R) EnableDynamicPayloads ¶
func (r *R) EnableDynamicPayloads()
func (*R) GetCRCLength ¶
func (*R) GetDataRate ¶
func (*R) GetDynamicPayloadSize ¶
func (*R) GetPALevel ¶
func (*R) GetPayloadSize ¶
func (*R) IsAckPayloadAvailable ¶
func (*R) IsPVariant ¶
func (*R) OpenReadingPipe ¶
func (*R) OpenWritingPipe ¶
func (*R) SetAutoAck ¶
func (*R) SetAutoAckPipe ¶
func (*R) SetCRCLength ¶
func (*R) SetChannel ¶
func (*R) SetDataRate ¶
func (*R) SetPALevel ¶
Is there any way to use the rf24_pa_dbm_e enum type directly
func (*R) SetPayloadSize ¶
func (*R) SetRetries ¶
func (*R) StartListening ¶
func (r *R) StartListening()
func (*R) StopListening ¶
func (r *R) StopListening()
func (*R) TestCarrier ¶
func (*R) WhatHappened ¶
Click to show internal directories.
Click to hide internal directories.