request

package
v3.0.0-beta1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 23, 2022 License: MIT Imports: 0 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Device

type Device struct {
	ID                string `json:"id"`
	Mac               string `json:"mac"`
	ConnectProtocol   string `json:"connect_protocol"`
	AuthKey           string `json:"auth_key"`
	CloseStrategy     string `json:"close_strategy"`
	ConnStrategy      string `json:"conn_strategy"`
	CryptMethod       string `json:"crypt_method"`
	AuthVer           string `json:"auth_ver"`
	ManuMacPos        string `json:"manu_mac_pos"`
	SerMacPos         string `json:"ser_mac_pos"`
	BleSimpleProtocol string `json:"ble_simple_protocol"`
}

type RequestDeviceAuthorize

type RequestDeviceAuthorize struct {
	DeviceNum  string    `json:"device_num"`
	DeviceList []*Device `json:"device_list"`
	OpType     string    `json:"op_type"`
	ProductID  string    `json:"product_id"`
}

type RequestDeviceMessage

type RequestDeviceMessage struct {
	DeviceType string `json:"device_type"`
	DeviceID   string `json:"device_id"`
	OpenID     string `json:"open_id"`
	Content    string `json:"content"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL