AddDevice is a request to add a device to the OSGP database. For the list of parameters, see the .xsd file (link below).
All requests have similar response behaviour which is described in ResponseMessages
GetAddDeviceResponse returns if the result is successful from the request. The response contains the DeviceIdentification and CorrelationUid which is received from the AddDevice request.
Scenario: Add a new device When receiving a smartmetering add device request | DeviceIdentification | TEST1024000000001 | | DeviceType | SMART_METER_E | | CommunicationMethod | GPRS | | CommunicationProvider | KPN | | ICC_id | 1234 | | DSMR_version | 4.2.2 | | Supplier | Kaifa | | HLS3_active | false | | HLS4_active | false | | HLS5_active | true | | Master_key | m_key | | Authentication_key | a_key | | Encryption_key | e_key | Then the get add device response should be returned | DeviceIdentification | TEST1024000000001 | | Result | OK | And the dlms device with identification "TEST1024000000001" exists And a request to the device can be performed after activation And the stored keys are not equal to the received keys
TEST1024000000001 SMART_METER_E GPRS KPN icc_id 4.2.2 Kaifa false false true m_key e_key a_key 2017-05-17 06:16:57.07