Getting a Device's MAC Address.

Document created by cdnadmin on Jan 25, 2014
Version 1Show Document
  • View in full screen mode
This document was generated from CDN thread

Created by: James R on 06-05-2013 08:01:09 AM
I am using the EnergyWise Mnagement APIs and I need to get the MAC address of the devices. I dont see this done in the sample application provided. Does anyone know if this is possible and if so how ?
I know that for IP Phones the MAC Address is contained in the Name of the Phone (Call Manager does this when the phone gets registered), however this convention does not apply to other EnergyWise devices and hence can not be relied upon.
 

Subject: RE: New Message from James R in Energywise - EnergyWise General: Questions
Replied by: John Parello on 06-05-2013 12:13:15 PM
Right now there is no way to get the mac address per device in 1.2 release. We are adding more TLV values and will have that in a future release.
If you do a collect neighbor query (which gives you all the domain members) you get mac address in the structure but you'll have to hack around a bit to get it.

If you have the 1.2.8 Beta take a look at the Java and SQL  implementation. We populated the macaddress form C calls in there. I don't have any examples so you'll have to run that on your own and trace back to the C calls.

Jp


-----Original Message-----
From: Cisco Developer Community Forums [mailto:cdicuser@developer.cisco.com]
Sent: Monday, May 06, 2013 6:01 AM
To: cdicuser@developer.cisco.com
Subject: New Message from James R in Energywise - EnergyWise General: Questions and Answers: Getting a Device's MAC Address.

James R has created a new message in the forum "EnergyWise General: Questions and Answers": -------------------------------------------------------------- I am using the EnergyWise Mnagement APIs and I need to get the MAC address of the devices. I dont see this done in the sample application provided. Does anyone know if this is possible and if so how ?
I know that for IP Phones the MAC Address is contained in the Name of the Phone (Call Manager does this when the phone gets registered), however this convention does not apply to other EnergyWise devices and hence can not be relied upon.

--
To respond to this post, please click the following link: http://developer.cisco.com/web/esdk/forums/-/message_boards/view_message/14971220 or simply reply to this email.

Attachments

    Outcomes