Documentation ¶
Index ¶
- type Auth
- type Blood
- func (p *Blood) GetBlood(query *query.BloodGetQuery) (*result.BloodGetResult, error)
- func (p *Blood) GetBloodUpload(query *query.BloodUploadGetQuery) (*result.TemperatureUploadResult, error)
- func (p *Blood) GetBloods(query *query.BloodsGetQuery) (*result.BloodsGetResult, error)
- func (p *Blood) UpdateBloodUpload(param *query.BloodUploadSetQuery) (*result.Result, error)
- type Config
- type Device
- func (p *Device) BindDevice(query *query.DeviceBindQuery) (*result.Result, error)
- func (p *Device) DeviceUpdate(query *query.DeviceUpdateQuery) (*result.Result, error)
- func (p *Device) GetDevice(query *query.DeviceGetQuery) (*result.DeviceGetResult, error)
- func (p *Device) GetDeviceIsOnline(query *query.DeviceIsOnlineQuery) (*result.DeviceIsOnlineResult, error)
- func (p *Device) GetDeviceModules(query *query.DeviceModulesQuery) (*result.DeviceModulesResult, error)
- func (p *Device) GetDevices(query *query.DevicesGetQuery) (*result.DevicesResult, error)
- func (p *Device) SendDnd(query *query.DeviceDndQuery) (*result.Result, error)
- func (p *Device) SendFamily(query *query.DeviceFamilyQuery) (*result.Result, error)
- func (p *Device) SendFindDevice(query *query.DeviceFindQuery) (*result.Result, error)
- func (p *Device) SendHost(query *query.DeviceHostQuery) (*result.Result, error)
- func (p *Device) SendLocate(query *query.DeviceLocateQuery) (*result.Result, error)
- func (p *Device) SendLocateMode(query *query.DeviceLocateModeQuery) (*result.Result, error)
- func (p *Device) SendLocateUpload(query *query.DeviceLocateUploadQuery) (*result.Result, error)
- func (p *Device) SendMessage(query *query.DeviceMessageQuery) (*result.Result, error)
- func (p *Device) SendMonitor(query *query.DeviceMonitorQuery) (*result.Result, error)
- func (p *Device) SendPowerOff(query *query.DevicePowerOffQuery) (*result.Result, error)
- func (p *Device) SendRestart(query *query.DeviceRestartQuery) (*result.Result, error)
- func (p *Device) SendUdtime(query *query.DeviceUdtimeQuery) (*result.Result, error)
- func (p *Device) UnBindDevice(query *query.DeviceUnBindQuery) (*result.Result, error)
- type Fence
- type Heart
- func (p *Heart) GetHeart(query *query.HeartGetQuery) (*result.HeartResult, error)
- func (p *Heart) GetHeartUpload(query *query.HeartUploadGetQuery) (*result.HeartUploadResult, error)
- func (p *Heart) GetHearts(query *query.HeartsGetQuery) (*result.HeartsResult, error)
- func (p *Heart) UpdateHeartUpload(param *query.HeartUploadSetQuery) (*result.Result, error)
- type Sleep
- type Step
- type Temperature
- func (p *Temperature) GetTemperature(query *query.TemperatureGetQuery) (*result.TemperatureResult, error)
- func (p *Temperature) GetTemperatureUpload(query *query.TemperatureUploadGetQuery) (*result.TemperatureUploadResult, error)
- func (p *Temperature) GetTemperatures(query *query.TemperaturesGetQuery) (*result.TemperaturesResult, error)
- func (p *Temperature) UpdateTemperatureUpload(param *query.TemperatureUploadSetQuery) (*result.Result, error)
- type Track
- type Tsp
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Blood ¶ added in v1.0.1
type Blood struct {
Cfg *Config
}
func (*Blood) GetBlood ¶ added in v1.0.1
func (p *Blood) GetBlood(query *query.BloodGetQuery) (*result.BloodGetResult, error)
获取最新血压数据
func (*Blood) GetBloodUpload ¶ added in v1.0.11
func (p *Blood) GetBloodUpload(query *query.BloodUploadGetQuery) (*result.TemperatureUploadResult, error)
获取血压测量间隔时间
func (*Blood) GetBloods ¶ added in v1.0.1
func (p *Blood) GetBloods(query *query.BloodsGetQuery) (*result.BloodsGetResult, error)
获取血压列表
func (*Blood) UpdateBloodUpload ¶ added in v1.0.11
设置血压测量间隔时间
type Device ¶
type Device struct {
Cfg *Config
}
func (*Device) BindDevice ¶ added in v1.0.1
设备绑定
func (*Device) DeviceUpdate ¶ added in v1.0.7
更新设备信息
func (*Device) GetDevice ¶ added in v1.0.1
func (p *Device) GetDevice(query *query.DeviceGetQuery) (*result.DeviceGetResult, error)
设备详情
func (*Device) GetDeviceIsOnline ¶ added in v1.0.1
func (p *Device) GetDeviceIsOnline(query *query.DeviceIsOnlineQuery) (*result.DeviceIsOnlineResult, error)
判断设备是否在线
func (*Device) GetDeviceModules ¶ added in v1.0.1
func (p *Device) GetDeviceModules(query *query.DeviceModulesQuery) (*result.DeviceModulesResult, error)
获取设备功能清单
func (*Device) GetDevices ¶ added in v1.0.1
func (p *Device) GetDevices(query *query.DevicesGetQuery) (*result.DevicesResult, error)
获取设备列表
func (*Device) SendFamily ¶ added in v1.0.1
下发设置亲情号码指令
func (*Device) SendFindDevice ¶ added in v1.0.1
下发设备寻找指令
func (*Device) SendLocate ¶ added in v1.0.1
下发定位指令到终端
func (*Device) SendLocateMode ¶ added in v1.0.1
下发设置定位模式指令
func (*Device) SendLocateUpload ¶ added in v1.0.1
下发定位上报间隔指令
func (*Device) SendMessage ¶ added in v1.0.1
透传报文
func (*Device) SendMonitor ¶ added in v1.0.6
下发聆听指令
func (*Device) SendPowerOff ¶ added in v1.0.1
下发关机指令
func (*Device) SendRestart ¶ added in v1.0.1
下发重启指令
func (*Device) SendUdtime ¶ added in v1.0.1
下发定位时间段指令
func (*Device) UnBindDevice ¶ added in v1.0.1
设备解绑
type Fence ¶ added in v1.0.1
type Fence struct {
Cfg *Config
}
func (*Fence) CreateFence ¶ added in v1.0.1
func (p *Fence) CreateFence(query *query.FenceCreateQuery) (*result.FenceCreateResult, error)
创建围栏
func (*Fence) DeleteFence ¶ added in v1.0.1
删除围栏
func (*Fence) GetFences ¶ added in v1.0.1
func (p *Fence) GetFences(query *query.FencesGetQuery) (*result.FencesGetResult, error)
获取围栏列表
type Heart ¶ added in v1.0.1
type Heart struct {
Cfg *Config
}
func (*Heart) GetHeart ¶ added in v1.0.1
func (p *Heart) GetHeart(query *query.HeartGetQuery) (*result.HeartResult, error)
获取最新心率数据
func (*Heart) GetHeartUpload ¶ added in v1.0.1
func (p *Heart) GetHeartUpload(query *query.HeartUploadGetQuery) (*result.HeartUploadResult, error)
获取心率测量间隔时间
func (*Heart) GetHearts ¶ added in v1.0.1
func (p *Heart) GetHearts(query *query.HeartsGetQuery) (*result.HeartsResult, error)
获取心率列表
func (*Heart) UpdateHeartUpload ¶ added in v1.0.1
设置心率测量间隔时间
type Sleep ¶ added in v1.0.1
type Sleep struct {
Cfg *Config
}
func (*Sleep) GetSleeps ¶ added in v1.0.1
func (p *Sleep) GetSleeps(query *query.SleepsGetQuery) (*result.SleepsResult, error)
获取睡眠列表
type Step ¶ added in v1.0.1
type Step struct {
Cfg *Config
}
func (*Step) GetSteps ¶ added in v1.0.1
func (p *Step) GetSteps(query *query.StepsGetQuery) (*result.StepsResult, error)
获取计步列表
type Temperature ¶
type Temperature struct {
Cfg *Config
}
func (*Temperature) GetTemperature ¶
func (p *Temperature) GetTemperature(query *query.TemperatureGetQuery) (*result.TemperatureResult, error)
获取最新体温数据
func (*Temperature) GetTemperatureUpload ¶
func (p *Temperature) GetTemperatureUpload(query *query.TemperatureUploadGetQuery) (*result.TemperatureUploadResult, error)
获取体温测量间隔时间
func (*Temperature) GetTemperatures ¶
func (p *Temperature) GetTemperatures(query *query.TemperaturesGetQuery) (*result.TemperaturesResult, error)
获取体温列表
func (*Temperature) UpdateTemperatureUpload ¶
func (p *Temperature) UpdateTemperatureUpload(param *query.TemperatureUploadSetQuery) (*result.Result, error)
设置体温测量间隔时间
type Track ¶ added in v1.0.1
type Track struct {
Cfg *Config
}
func (*Track) GetTracks ¶ added in v1.0.1
func (p *Track) GetTracks(query *query.TracksGetQuery) (*result.TracksGetResult, error)
获取轨迹列表
Source Files ¶
Click to show internal directories.
Click to hide internal directories.