{"action":"closed","issue":{"url":"https://api.github.com/repos/OSGP/Platform/issues/261","repository_url":"https://api.github.com/repos/OSGP/Platform","labels_url":"https://api.github.com/repos/OSGP/Platform/issues/261/labels{/name}","comments_url":"https://api.github.com/repos/OSGP/Platform/issues/261/comments","events_url":"https://api.github.com/repos/OSGP/Platform/issues/261/events","html_url":"https://github.com/OSGP/Platform/issues/261","id":121247238,"number":261,"title":"Retrieve firmware version","user":{"login":"elhachhouchi","id":14179706,"avatar_url":"https://avatars.githubusercontent.com/u/14179706?v=3","gravatar_id":"","url":"https://api.github.com/users/elhachhouchi","html_url":"https://github.com/elhachhouchi","followers_url":"https://api.github.com/users/elhachhouchi/followers","following_url":"https://api.github.com/users/elhachhouchi/following{/other_user}","gists_url":"https://api.github.com/users/elhachhouchi/gists{/gist_id}","starred_url":"https://api.github.com/users/elhachhouchi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elhachhouchi/subscriptions","organizations_url":"https://api.github.com/users/elhachhouchi/orgs","repos_url":"https://api.github.com/users/elhachhouchi/repos","events_url":"https://api.github.com/users/elhachhouchi/events{/privacy}","received_events_url":"https://api.github.com/users/elhachhouchi/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/OSGP/Platform/labels/help%20wanted","name":"help wanted","color":"159818"},{"url":"https://api.github.com/repos/OSGP/Platform/labels/ready","name":"ready","color":"ededed"},{"url":"https://api.github.com/repos/OSGP/Platform/labels/Smart%20Metering","name":"Smart Metering","color":"bfe5bf"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-09T14:07:36Z","updated_at":"2016-02-20T11:28:40Z","closed_at":"2016-02-20T11:28:40Z","body":"### Story\n```\nAs a grid operator\nI want to be able to get the firmeware version of a meter\nSo that I can see which software version is installed  on the meter \n```\n\n#### Tasks:\n- [ ] Define acceptance criteria\n- [ ] Implement scenarios handle get firmeware version request in WS adapter\n- [ ] Implement scenarios handle get firmeware version request message in Domain adapter\n- [ ] Implement scenarios handle get firmeware version request message in Platform core\n- [ ] Implement scenarios handle get firmeware version request message in Protocol adapter\n- [ ] Implement scenarios handle get firmeware version response message in Platform core\n- [ ] Implement scenarios handle get firmeware version response message in Domain adapter\n- [ ] Implement scenarios handle get firmeware version response message in WS adapter\n- [ ] Implement scenarios handle get firmeware version result request in WS adapter\n- [ ] Implement acceptance tests\n- [ ] Test\n\n\n#### Scenarios\n\nScenario: get the firmeware version from device\n```\nGiven a get firmeware version request from a client\nAnd the get firmeware version request contains device id <<<deviceid>>>\nAnd the get firmeware version request contains organisation id <<<organisationid>>>\nAnd the get firmeware version request one single query action\nWhen the get firmeware version request is received \nThen a correlation id should be sent to the client \nAnd a connection with the meter should be established\nAnd the query action should be executed on the meter\nAnd the query action result should be stored\nAnd a notification should be sent to the client\nAnd the notification should contain the correlation id\n```\n\nScenario: Receive a get firmeware version result request from the client\n```\nGiven a get firmeware version result request from a client\nWhen the request is received\nThen the firmeware version result should be retrieved from storage\nAnd a response containing the firmeware version should be returned to the client\n```\n\n\n#### OSGP Functie\n```\nFunctie: Get Firmeware version\nParameters: DeviceIdentification\n```\n\n#### Device interface (Check the objects in DMSR and DLMS)\n```\nClass: 1\nOBIS-object 1-0:0.2.0.255 \nAttribute: 2\n<<<See DSMR/DLSM documentation >>>\n```\n\n#### Input:\n```\n•\tDeviceIdentification (required)\n```\n\n#### Response:\n```\n•\tFirmware version: Octet-string \n•\tLogTime: datetime (time when the firmware version is captured from the meter)\n```"}}