Documentation ¶
Index ¶
- Constants
- type BLCU
- func (blcu *BLCU) HandlerName() string
- func (blcu *BLCU) NotifyAck()
- func (blcu *BLCU) ReadTFTP(output io.Writer, onProgress func(float64)) error
- func (blcu *BLCU) SetSendOrder(sendOrder func(o models.Order) error)
- func (blcu *BLCU) UpdateMessage(client wsModels.Client, msg wsModels.Message)
- func (blcu *BLCU) WriteTFTP(reader io.Reader, size int, onProgress func(float64)) error
- type BLCUConfig
- type Download
- type PacketData
- type Upload
Constants ¶
View Source
const ( BLCU_COMPONENT_NAME = "blcu" BLCU_BOARD_NAME = "blcu" BLCU_HANDLER_NAME = "blcu" BLCU_INPUT_CHAN_BUF = 100 BLCU_ACK_CHAN_BUF = 1 )
View Source
const FlashMemorySize = 786432
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BLCU ¶
type BLCU struct {
// contains filtered or unexported fields
}
func (*BLCU) HandlerName ¶
func (*BLCU) UpdateMessage ¶
type BLCUConfig ¶
type BLCUConfig struct { Packets struct { Upload PacketData Download PacketData Ack PacketData } DownloadPath string `toml:"download_path,omitempty"` Topics struct { Upload string Download string } }
type PacketData ¶
Click to show internal directories.
Click to hide internal directories.