E1.20 RDM (Remote Device Management) Protocol Forums  

Go Back   E1.20 RDM (Remote Device Management) Protocol Forums > RDM Developer Forums > RDM General Implementation Discussion

RDM General Implementation Discussion General Discussion and questions relating to implementing RDM in a product.

Reply
 
Thread Tools Search this Thread Display Modes
Old April 16th, 2020   #1
sergeychk
Junior Member
 
Join Date: Apr 2014
Posts: 9
Default Sensor commands

Hello, please check responder action/answers for sensors for all cases.
Especially for case 3 which responce would be correct: a or b; and same for case 9: response c or d?
The following table shows the variety of cases and case number for sensors comands.
-------------------------------------------------------------
Sensor PID | Dir_ |id==(0..Sensors-1) | id>Sensors-1 | id==FF |
-------------------------------------------------------------
Definition _| Get |________1_______|_____ 2______|___3___|
Definition _| Set |________4_______|______5______|___6___|
Value ____| Get |________7_______|______8______|___9___|
Value ____| Set |_______10_______|_____11______|__11___|
Record ___| Get |_______13_______|_____14______|__15___|
Record ___| Set |_______16_______|_____17______|__18___|
-------------------------------------------------------------
Detailed description for all cases from the table above:
Case Responder action

1 Definition get(id==(0..Sensors-1)) __| [Answer(sens#8,type8,unit8,prefix8,rmin16,rmax16,nmin16,nmax16,rvs8,des cr8*n(where 0<n<=32))]
2 Definition get(id>Sensors-1) _______| [Answer(NACKR(NR_DATA_OUT_OF_RANGE))]
3 Definition get(id==FF) ____________| a)??? [Answer(NACKR(NR_DATA_OUT_OF_RANGE))] or ???
________________________________| b)??? [Answer(forEach of sensors{sens#8,type8,unit8,prefix8,rmin16,rmax16,nmin16,nmax16,rvs8,de scr8*n(where 0<n<=32)})] ???

4 Definition set(id==(0..Sensors-1)) __| [Answer(NACKR(NR_UNSUPPORTED_COMMAND_CLASS))]
5 Definition set(id>(Sensors-1)) _____| [Answer(NACKR(NR_UNSUPPORTED_COMMAND_CLASS))]
6 Definition set(id==FF) ____________| [Answer(NACKR(NR_UNSUPPORTED_COMMAND_CLASS))]

7 Value get(id==(0..Sensors-1)) _____| [Answer(present, min, max, record)]
8 Value get(id>Sensors-1) __________| [Answer(NACKR(NR_DATA_OUT_OF_RANGE))]
9 Value get(id==FF) _______________| c)??? [Answer(NACKR(NR_DATA_OUT_OF_RANGE))] or ???
________________________________| d)??? [Answer(forEach of sensors(from 0 to quantity of sensors){present, min, max, record})] ???

10 Value set(id==(0..Sensors-1)) ____| [Make(sensor(id){min = max = record = present}, Answer(ACK, id, present, min, max, record)]
11 Value set(id>Sensors-1) _________| [Answer(NACKR(NR_DATA_OUT_OF_RANGE))]
12 Value set(id==FF) ______________| [Make(foreach of sensors{min = max = record = present}), Answer(ACK, id=ff, present=any_value, min=any_value, max=any_value, record=any_value)]

13 Record get(id==(0..Sensors-1)) ___| [Answer(NACKR(NR_UNSUPPORTED_COMMAND_CLASS))]
14 Record get(id>Sensors-1) ________| [Answer(NACKR(NR_UNSUPPORTED_COMMAND_CLASS))]
15 Record get(id==ff) ______________| [Answer(NACKR(NR_UNSUPPORTED_COMMAND_CLASS))]

16 Record set(id==(0..Sensors-1) ____| [(record = present), Answer(ACK, pdl=0)]
17 Record set(id>Sensors-1) ________| [Answer(NACKR(NR_DATA_OUT_OF_RANGE))]
18 Record set(id==ff) ______________| [(for all senors{record = present}), Answer(ACK, pdl=0)]

Last edited by sergeychk; April 16th, 2020 at 04:34 AM.
sergeychk is offline   Reply With Quote
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sensor type and Sensor unit for No of Phases question berntd RDM General Implementation Discussion 1 October 1st, 2009 10:04 PM
Sensor type and Sensor unit for DMX rate question berntd RDM General Implementation Discussion 3 October 1st, 2009 12:41 AM


All times are GMT -6. The time now is 02:12 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.