Home Reference Source

Typedef

Static Public Summary
public

ADC 모듈

public

가속도 센서

public

미세먼지 센서

public

IO 모듈

public

암모니아 센서

public

이산화질소 센서

public

센서

public

공기질 센서

public

온습도 센서

public

배터리

Static Public

public ADC: Object source

ADC 모듈

Properties:

NameTypeAttributeDescription
moduleNumber string

비콘에 연결된 ADC 모듈의 식별 번호

value Array<number>

실제 값 (배열의 인덱스 순서대로 각각 ADC 모듈의 0 ~ 3 채널을 통해 입력된 값)

public Accelerometer: Object source

가속도 센서

Properties:

NameTypeAttributeDescription
x Object

x 축 기울기

x.value number

실제 값

x.unit string

단위

y Object

y 축 기울기

y.value number

실제 값

y.unit string

단위

z Object

z 축 기울기

z.value number

실제 값

z.unit string

단위

motion Array<string>

감지된 움직임 (Tap, Double Tap, Free Fall)

public FineDust: Object source

미세먼지 센서

Properties:

NameTypeAttributeDescription
PM_1.0 Object

PM 1.0

PM_1.0.value number

실제 값

PM_1.0.unit string

단위

PM_2.5 Object

PM 2.5

PM_2.5.value number

실제 값

PM_2.5.unit string

단위

PM_10.0 Object

PM 10.0

PM_10.0.value number

실제 값

PM_10.0.unit string

단위

public IO: Object source

IO 모듈

Properties:

NameTypeAttributeDescription
moduleNumber string

비콘에 연결된 IO 모듈의 식별 번호

input Array<number>

입력값 (배열의 인덱스 순서대로 각각 IO 모듈의 0 ~ 7 채널을 통해 입력되는 값)

output Array<number>

출력값 (배열의 인덱스 순서대로 각각 IO 모듈의 0 ~ 7 채널을 통해 출력되는 값)

public NH3: Object source

암모니아 센서

Properties:

NameTypeAttributeDescription
value number

실제 값

unit string

단위

public NO2: Object source

이산화질소 센서

Properties:

NameTypeAttributeDescription
value number

실제 값

unit string

단위

public Sensor: Object source

센서

Properties:

NameTypeAttributeDescription
type string

센서 타입

data Accelerometer | Temperature_Humidity | TVOC | NH3 | NO2 | IO | ADC | FineDust

센서 데이터

public TVOC: Object source

공기질 센서

Properties:

NameTypeAttributeDescription
value number

실제 값

unit string

단위

public Temperature_Humidity: Object source

온습도 센서

Properties:

NameTypeAttributeDescription
temperature Object

온도

temperature.value number

실제 값

temperature.unit string

단위

humidity Object

습도

humidity.value number

실제 값

humidity.unit string

단위

public Vbatt: Object source

배터리

Properties:

NameTypeAttributeDescription
voltage Object

배터리 전압

voltage.value number

실제 값

voltage.unit string

단위

percentage Object

배터리 남은 사용량 백분율

percentage.value number

실제 값

percentage.unit string

단위