Closed ben-1975 closed 5 years ago
I just pushed 1.6.4 but I don't have a way to test it with your device. Give it a shot and let me know.
Thinking about it just now I realize I made a mistake. I’ll have to fix it tomorrow.
From: ben-1975 notifications@github.com Sent: Monday, May 13, 2019 3:38 PM To: jefffhaynes/XBee Cc: Jeff Haynes; Mention Subject: [jefffhaynes/XBee] Hardware Version 36 not Supported (#57)
@jefffhayneshttps://github.com/jefffhaynes Hope you can help.
I just bought a XBee kit to try out and to learn a bit more about XBee. I have a proof of concept project that I would like to do and your library seemed like a great way to get started.
I am getting a System.NotSupportedException "Hardware version 36 not supported." error when I try and run the controller DiscoverNetworkAsync method.
Here is the stack trace: at XBee.DeviceFactory.GetProtocol(HardwareVersion hardwareVersion, UInt16 firmwareVersion) at XBee.Core.XBeeControllerBase.InitializeAsync() at XBee.Core.XBeeControllerBase.ExecuteAsync(FrameContent frameContent) at XBee.Core.XBeeControllerBase.ExecuteMultiQueryAsync[TResponseFrame](CommandFrameContent frame, Action`1 callback, TimeSpan timeout, CancellationToken cancellationToken)"
Have to admit that your comment in the DeviceFactory above the GetProtocol method is a little intimidating: "This is a direct port from the Digi library b/c it's so frickin complicated."
If you have any advice that would be grate. Thanks Ben
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/jefffhaynes/XBee/issues/57?email_source=notifications&email_token=ACKIUR7NBGHWHXP4LDTN2C3PVG7SHA5CNFSM4HMSZ7RKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GTQJMHA, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ACKIUR274MQGS3LG5QPGGUTPVG7SHANCNFSM4HMSZ7RA.
Thanks for your help Jeff. The device is an XB8-DMUS-002 revH if you can add a fix then I'd be happy to try it out. I about to go on vacation so it might need to wait for a week or so.
ok give the latest a try when you get a chance. I don't know much about this device so it's possible you'll find that you're missing capabilities, but let me know if you do. thanks
Thanks Jeff, definitely got further than before with no error now. I'll need to investigate further once I'm back.
@jefffhaynes Hope you can help.
I just bought a XBee kit to try out and to learn a bit more about XBee. I have a proof of concept project that I would like to do and your library seemed like a great way to get started.
I am getting a System.NotSupportedException "Hardware version 36 not supported." error when I try and run the controller DiscoverNetworkAsync method.
Here is the stack trace: at XBee.DeviceFactory.GetProtocol(HardwareVersion hardwareVersion, UInt16 firmwareVersion) at XBee.Core.XBeeControllerBase.InitializeAsync() at XBee.Core.XBeeControllerBase.ExecuteAsync(FrameContent frameContent) at XBee.Core.XBeeControllerBase.ExecuteMultiQueryAsync[TResponseFrame](CommandFrameContent frame, Action`1 callback, TimeSpan timeout, CancellationToken cancellationToken)"
Have to admit that your comment in the DeviceFactory above the GetProtocol method is a little intimidating: "This is a direct port from the Digi library b/c it's so frickin complicated."
If you have any advice that would be great. Thanks Ben