Skip to main content

Debugger

1.CSDevice.createAccessToken

Create token for device debug.

BDDP

ParamValueDesc
methodCSDevice.createAccessTokenCreate token for device debug
targetDevice<String,Necessary>DeviceId of the device you use
token<String,Necessary>Net token of the device you use, You can get it here
params.scope<String,Necessary>Fixed: device/raw_stream
params.expire<int,Necessary>Token validity period in seconds

BUDP

ParamValueDesc
data.access_token.access_token<String,Necessary>Access token for device debug
data.token_type<String,Necessary>Token type
data.expires_in<String,Necessary>Token expires in
data.scope<String[],Necessary>Token scope of authorization

2. Get Lora event stream

get /open/yolink/v2/stream/device_raw_event

Request Header

ParamsValueDescription
AuthorizationBearer Token <Necessary>Access Token from step1

2. Get Lora frame stream

get /open/yolink/v2/stream/device_raw_frame

Request Header

ParamsValueDescription
AuthorizationBearer Token <Necessary>Access Token from step1