Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GetStatus ¶
type GetStatus struct { Client *driver.BleClient Status string // contains filtered or unexported fields }
GetStatus is the timer structure for getting device status.
type TwinData ¶
type TwinData struct { BleClient *driver.BleClient Name string Type string BleVisitorConfig configmap.BleVisitorConfig Result string Topic string FindedCharacteristic interface{} }
TwinData is the timer structure for getting twin/data.
func (*TwinData) ConvertReadData ¶
ConvertReadData is the function responsible to convert the data read from the device into meaningful data. If currently logic of converting data is not suitable for your device, you can change ConvertReadData function manually.
Click to show internal directories.
Click to hide internal directories.