Documentation ¶
Index ¶
Constants ¶
View Source
const KILL = -1
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ADCData ¶
type ADCData struct { If1a []int16 `json:"if1a"` If2b []int16 `json:"if2b"` If1b []int16 `json:"if1b"` }
func NewADCData ¶
func NewADCData() *ADCData
type AppConfig ¶
type AppConfig struct { //Name of the application and some meta data AppName string AppVersion string AppEmail string AppIcon string AppLogo string AppColor string AppTheme string AppDebug bool AppPort int ProvisionIP string ProvisionPort int DeviceIP string DevicePort int ApplicationPath string }
func NewAppConfig ¶
func NewAppConfig() *AppConfig
type DDATData ¶
type DDATData struct {
// contains filtered or unexported fields
}
func NewDDATData ¶
func NewDDATData() *DDATData
type DDAT_struct ¶
type Device ¶
type Device struct { UUID []byte `json:"uuid"` Name string `json:"name"` IP []byte `json:"ip"` Port []byte `json:"port"` LastUsed int64 `json:"lastused"` BitRate int64 `json:"bitrate"` Mode int64 `json:"mode"` MaxVel int64 `json:"maxvel"` MaxRange int64 `json:"maxrange"` Network string `json:"network"` Protocol string `json:"protocol"` Bandwidth int64 `json:"bandwidth"` Tx int64 `json:"tx"` // contains filtered or unexported fields }
func (*Device) SetConnection ¶
func (p *Device) SetConnection(conn *net.TCPConnection)
type DeviceSettings ¶
type FFTData ¶
func NewFFTData ¶
func NewFFTData() *FFTData
type JsonRequest ¶
type JsonRequest struct { Controller string `json:"controller"` RouteKey string `json:"routekey"` SessionKey string `json:"sessionkey"` Paramaters map[string]string `json:"params"` }
func NewJsonRequest ¶
func NewJsonRequest(message string) *JsonRequest
type Logging ¶
type Logging struct {
// contains filtered or unexported fields
}
Logging framework
func NewLogging ¶
func NewLogging() *Logging
type PDATData ¶
type PDATData struct {
// contains filtered or unexported fields
}
func NewPDATData ¶
func NewPDATData() *PDATData
type PDAT_struct ¶
type PDAT_struct struct { Distance uint16 `json:"distance"` Speed uint16 `json:"speed"` Angle int16 `json:"angle"` Dbs uint16 `json:"dbs"` }
func NewPDAT_struct ¶
func NewPDAT_struct() *PDAT_struct
type RadarData ¶
type RadarData struct { ADCData *ADCData `json:"adcdata"` FFTData *FFTData `json:"fftdata"` PDATData *PDATData `json:"pdatdata"` TDATData *TDATData `json:"tdatdata"` DDATData *DDATData `json:"ddatdata"` }
func NewRadarData ¶
func NewRadarData() *RadarData
type RadarParams ¶
type RadarParams struct { Base_freq uint8 `json:"base_freq"` Max_speed uint8 `json:"Max_speed"` Max_range uint8 `json:"Max_range"` Thresh_off uint8 `json:"thresh_off"` Tracking_filter uint8 `json:"tracking_filter"` Vibration_suppress uint8 `json:"vibration_suppress"` Min_detect_dist uint8 `json:"Min_detect_dist"` Max_detect_dist uint8 `json:"Max_detect_dist"` Min_detect_angle int8 `json:"Min_detect_angle"` Max_detect_angle int8 `json:"Max_detect_angle"` Min_detect_speed uint8 `json:"Min_detect_speed"` Max_detect_speed uint8 `json:"Max_detect_speed"` Detect_dir uint8 `json:"detect_dir"` Range_thresh uint8 `json:"range_thresh"` Angle_tresh uint8 `json:"angle_tresh"` Speed_thresh uint8 `json:"speed_thresh"` D0 uint8 `json:"d0"` D1 uint8 `json:"d1"` D2 uint8 `json:"d2"` Hold_time uint16 `json:"hold_time"` Micro_retrigger uint8 `json:"micro_retrigger"` Micro_sensitivity uint8 `json:"micro_sensitivity"` // contains filtered or unexported fields }
type SessionObject ¶
type SessionObject struct { User *User `json:"user"` // contains filtered or unexported fields }
func NewSessionObject ¶
func NewSessionObject() *SessionObject
type TDATData ¶
type TDATData struct {
// contains filtered or unexported fields
}
func NewTDATData ¶
func NewTDATData() *TDATData
type TDAT_struct ¶
Click to show internal directories.
Click to hide internal directories.