jefffhaynes / XBee

A .NET library for XBee wireless controllers
MIT License
40 stars 17 forks source link

Device Information (Pan ID) #34

Closed graemegets closed 7 years ago

graemegets commented 7 years ago

Hi,

Im trying to collect the device info from the S2 connected to Pc (via USB). I can connect to the device and retrieve the Identifier and MAC address. But I want to bet more info than that.

From what I can see, the 'local' variable does not expose the methods to retrieve things like PANID.

I tries the GetNodeAsync with the Address of the device, but just get an error.

How can I retrieve the connected devices info?

Thanks

graemegets commented 7 years ago

Ah - i see what I was doing wrong.

I needed to cast the Device (XBeeController) as XbeeSeries2 and then it works just fine.