User Guide

209
Standard NetLinx API (SNAPI) R 1.8.0
Receiver Functions (Cont.)
Name Component Channel Level Command Constant Notes
processDebugEvent(int) IModuleComponentListener DEBUG-<state> Debug state changed where <state> is 1-4
for ERROR, WARNING, DEBUG, INFO
processDeviceOnLineEvent(boolean) IModuleComponentListener 251 DEVICE_COMMUNICATING Feedback Channel: Communication is
established with device while channel is on
processPassbackEvent(byte[]) IModuleComponentListener When passback is on, each string received
form the device is sent to the NetLinx pro-
gram as a string. Use a DATA_EVENT
event with a STRING handler to caputre
the data from the device.
cyclePower() IPowerComponent 9 POWER Momentary Function Channel: Cycle power
when channel is activated
setPower(ON) IPowerComponent 27 PWR_ON Momentary Function Channel: Power is
turned on when channel is activated
setPower(OFF) IPowerComponent 28 PWR_OFF Momentary Function Channel: Power is
turned off when channel is activated
setPower(ps) IPowerComponent 255 POWER_ON Discrete Function Channel: Power is on
while channel is active
setPowerSensor(nld,nIOChan) IPowerComponent IOLINK-<dps>,<chan-
nel>
Associate a Power Sensor with the device
where <dps> is the DPS in string form, i.e.
17:1:0, and <channel> is the channel on
the IO device to which the power sensor is
connected.
processPowerEvent(ON) IPowerComponentListener 255 POWER_FB Feedback Channel: Power state changed,
power is on while channel is on
adjustBalance(1) IPreAmpComponent 164 BALANCE_UP Ramping Channel: Balance is incremented
when channel is activated
adjustBalance(-1) IPreAmpComponent 165 BALANCE_DN Ramping Channel: Balance is decre-
mented when channel is activated
adjustBass(1) IPreAmpComponent 166 BASS_UP Ramping Channel: Bass is incremented
when channel is activated
adjustBass(-1) IPreAmpComponent 167 BASS_DN Ramping Channel: Bass is decremented
when channel is activated
adjustTreble(1) IPreAmpComponent 168 TREBLE_UP Ramping Channel: Treble is incremented
when channel is activated
adjustTreble(-1) IPreAmpComponent 169 TREBLE_DN Ramping Channel: Treble is decremented
when channel is activated
cycleLoudness() IPreAmpComponent 206 LOUDNESS Momentary Function Channel: Cycle loud-
ness when channel is activated
getSurroundMode() IPreAmpComponent ?SURROUND Query surround mode, responds with SUR-
ROUND-<mode>, where <mode> is
MOVIE,MUSIC,OFF