Skip to content
This repository has been archived by the owner on Nov 7, 2024. It is now read-only.

Commit

Permalink
Sending supported Agent information to C8Y
Browse files Browse the repository at this point in the history
  • Loading branch information
switschel committed Nov 25, 2022
1 parent 55b8516 commit 6f465c3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions c8ydm/agentmodules/agent_initializer.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ def getMessages(self):
self.logger.info(f'Agent Initializer called...')
# Will be available with 1014.28.0
version = pkg_resources.require("c8ydm")[0].version
#agent_msg = SmartRESTMessage('s/us', '122', ['DM Reference Agent',version,'https://github.com/SoftwareAG/cumulocity-devicemanagement-agent','Open Source'])
agent_msg = SmartRESTMessage('s/us', '122', ['DM Reference Agent',version,'https://github.com/SoftwareAG/cumulocity-devicemanagement-agent','Open Source'])

agent_msg = SmartRESTMessage(
's/uc/'+self.xid, self.agent_message_id, [self.serial, 'DM Reference Agent', version, ''])
#agent_msg = SmartRESTMessage(
# 's/uc/'+self.xid, self.agent_message_id, [self.serial, 'DM Reference Agent', version, ''])
return [agent_msg]

0 comments on commit 6f465c3

Please sign in to comment.