C.4 Discovery: Function Set Assignment

Figure C.3—Discovery: Function Set Assignment
NOTE—The client finds a server with a validated EndDevice record. The EndDevice record is found to have a
FunctionSetAssignmentListLink with a FunctionSetAssignment record that contains the desired resource.
Table C.4—POX example: Discovery Function Set Assignment
Step | Description |
1 | (See registration examples) |
2 | (See registration examples) |
3 | (See registration examples) |
4 | (See registration examples) |
5 | (See registration examples) |
6 | Server responds with the EndDevice resource with a FunctionSetAssignmentListLink. Server sends the following response: HTTP/1.1 200 OK Content-Type: application/sep+xml Content-Length: {contentLength} <EndDevice href="/edev/3" subscribable="0" xmlns="urn:ieee:std:2030.5:ns"> <ConfigurationLink href="/edev/3/cfg"/> <DeviceInformationLink href="/edev/3/di"/> <DeviceStatusLink href="/edev/3/ds"/> <FileStatusLink href="/edev/3/fs"/> <PowerStatusLink href="/edev/3/ps"/> <sFDI>987654321005</sFDI> <changedTime>1379905200</changedTime> <FunctionSetAssignmentsListLink all="2" href="/edev/3/fsal"/> <RegistrationLink href="/edev/3/reg"/> <SubscriptionListLink all="0" href="/edev/3/subl"/> </EndDevice> |
7 | (See registration examples) |
8 | (See registration examples) |
9 | (See registration examples) |
10 | Client GETs its FunctionSetAssignment from the server as found in the EndDevice resource. Client sends the following request: GET /edev/3/fsal?l=2 HTTP/1.1 Host: {hostname} Accept: application/sep+xml |
11 | Server responds with the FunctionSetAssignment resource. Server sends the following response: HTTP/1.1 200 OK Content-Type: application/sep+xml Content-Length: {contentLength} <FunctionSetAssignmentsList all="2" href="/edev/3/fsal" results="2" subscribable="0" xmlns="urn:ieee:std:2030.5:ns"> <FunctionSetAssignments href="/edev/3/fsal/0" subscribable="0"> <DemandResponseProgramListLink all="2" href="/edev/3/fsa1/0/drpl"/> <MessagingProgramListLink all="1" href="/edev/3/fsa1/0/msgl"/> <mRID>0ED30F5A0000</mRID> <description>FunctionSetAssignment Suave</description> </FunctionSetAssignments> <FunctionSetAssignments href="/edev/3/fsal/1" subscribable="0"> <MessagingProgramListLink all="1" href="/edev/3/fsa1/1/msgl"/> <mRID>0ED30F5A0001</mRID> <description>FunctionSetAssignment Guttural</description> </FunctionSetAssignments> </FunctionSetAssignmentsList> |
12 | Client GETs its desired resource from the server as found in the FunctionSetAssignment resource. In this case, the resource of choice is a DemandResponseProgram. (See DemandResponse examples) |
13 | (See DemandResponse examples) |