Closed xhr0428 closed 7 years ago
I don't think COM22 is valid. COM9 is the highest system port.
From: xhr0428 notifications@github.com Sent: Tuesday, May 30, 2017 1:15:55 AM To: jefffhaynes/XBee Cc: Subscribed Subject: [jefffhaynes/XBee] How to find node identifiers of end devices? (#25)
Hello Jeff, Thank you for your help for the last issue. I'm running into a new problem now. I try to get the node identifiers of nodes in the network. I'm following your example but I see nothing but this error
An unhandled exception of type 'System.NotSupportedException' occurred in mscorlib.dll Additional information: 45 not supported.
Can you help me with this? Thanks.
This's the code I'm using:
private static void Main(string[] args) { MainAsync(); Console.ReadKey(); _xbee.Dispose(); } private static async void MainAsync() { _xbee = new XBeeController("COM22", 9600); await _xbee.OpenAsync("COM22", 9600); Console.WriteLine("Discovering network..."); _xbee.NodeDiscovered += (sender, args) => { Console.WriteLine("Discovered {0}", args.Name); }; await _xbee.DiscoverNetworkAsync(); }
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/jefffhaynes/XBee/issues/25, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AJSKR5ByxWBuIB_2r0FcuChhXgpUjU0Pks5r-6YLgaJpZM4Np1cP.
Hi Jeff, I am using COM7 instead of COM22 now. But the error is still there.
Can you please make sure you are using all the latest packages? I briefly published a dependency that caused some problems if you happen to grab it at the wrong time.
From: xhr0428 notifications@github.com Sent: Tuesday, May 30, 2017 12:54:39 PM To: jefffhaynes/XBee Cc: Jeff Haynes; Comment Subject: Re: [jefffhaynes/XBee] How to find node identifiers of end devices? (#25)
Hi Jeff, I am using COM7 instead of COM22 now. But the error is still there.
— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/jefffhaynes/XBee/issues/25#issuecomment-304940790, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AJSKRxeivmBHgF6ZTCmrzvZGuiK33L1oks5r_EnPgaJpZM4Np1cP.
Hi Jeff, I just downloaded all the latest files. I'm still seeing errors.
One time I see: An unhandled exception of type 'System.Reflection.TargetInvocationException' occurred in mscorlib.dll Additional information: Exception has been thrown by the target of an invocation.
Exception thrown: 'System.IO.IOException' in System.dll Exception thrown: 'System.IO.IOException' in BinarySerializer.dll Exception thrown: 'System.IO.IOException' in BinarySerializer.dll Exception thrown: 'System.IO.IOException' in BinarySerializer.dll Exception thrown: 'System.NotSupportedException' in XBee.dll Exception thrown: 'System.NotSupportedException' in mscorlib.dll Exception thrown: 'System.NotSupportedException' in mscorlib.dll Exception thrown: 'System.NotSupportedException' in mscorlib.dll Exception thrown: 'System.Reflection.TargetInvocationException' in mscorlib.dll An unhandled exception of type 'System.Reflection.TargetInvocationException' occurred in mscorlib.dll Additional information: Exception has been thrown by the target of an invocation.
Another time I see: Exception thrown: 'System.TimeoutException' in XBee.dll Exception thrown: 'System.TimeoutException' in mscorlib.dll Exception thrown: 'System.TimeoutException' in mscorlib.dll Exception thrown: 'System.TimeoutException' in mscorlib.dll Exception thrown: 'System.TimeoutException' in mscorlib.dll Exception thrown: 'System.TimeoutException' in mscorlib.dll
Another one: Exception thrown: 'System.IO.IOException' in System.dll Exception thrown: 'System.IO.IOException' in BinarySerializer.dll Exception thrown: 'System.IO.IOException' in BinarySerializer.dll Exception thrown: 'System.IO.IOException' in BinarySerializer.dll Exception thrown: 'System.NotSupportedException' in XBee.dll Exception thrown: 'System.NotSupportedException' in mscorlib.dll Exception thrown: 'System.NotSupportedException' in mscorlib.dll Exception thrown: 'System.NotSupportedException' in mscorlib.dll An unhandled exception of type 'System.NotSupportedException' occurred in mscorlib.dll Additional information: 45 not supported.
Can you please add this code and see what you get? Depending on what type of program this is, you may need to use Debug instead of Console.
_xbee.FrameMemberSerializing += XbeeOnFrameMemberSerializing; _xbee.FrameMemberSerialized += XbeeOnFrameMemberSerialized; _xbee.FrameMemberDeserializing += XbeeOnFrameMemberDeserializing; _xbee.FrameMemberDeserialized += XbeeOnFrameMemberDeserialized; private static void XbeeOnFrameMemberSerializing(object sender, MemberSerializingEventArgs e) { Console.CursorLeft = e.Context.Depth * 4; Console.WriteLine("S-Start: {0}", e.MemberName); }
private static void XbeeOnFrameMemberSerialized(object sender, MemberSerializedEventArgs e) { Console.CursorLeft = e.Context.Depth * 4; var value = e.Value ?? "null"; Console.WriteLine("S-End: {0} ({1})", e.MemberName, value); }
private static void XbeeOnFrameMemberDeserializing(object sender, MemberSerializingEventArgs e) { Console.CursorLeft = e.Context.Depth * 4; Console.WriteLine("D-Start: {0}", e.MemberName); }
private static void XbeeOnFrameMemberDeserialized(object sender, MemberSerializedEventArgs e) { Console.CursorLeft = e.Context.Depth * 4; var value = e.Value ?? "null"; Console.WriteLine("D-End: {0} ({1})", e.MemberName, value); }
From: xhr0428 notifications@github.com<mailto:notifications@github.com> Sent: Tuesday, May 30, 2017 8:37 PM Subject: Re: [jefffhaynes/XBee] How to find node identifiers of end devices? (#25) To: jefffhaynes/XBee xbee@noreply.github.com<mailto:xbee@noreply.github.com> Cc: Jeff Haynes feedyurhed@gmail.com<mailto:feedyurhed@gmail.com>, Comment comment@noreply.github.com<mailto:comment@noreply.github.com>
Hi Jeff, I just downloaded all the latest files. I'm still seeing errors.
One time I see: An unhandled exception of type 'System.Reflection.TargetInvocationException' occurred in mscorlib.dll Additional information: Exception has been thrown by the target of an invocation.
Exception thrown: 'System.IO.IOException' in System.dll Exception thrown: 'System.IO.IOException' in BinarySerializer.dll Exception thrown: 'System.IO.IOException' in BinarySerializer.dll Exception thrown: 'System.IO.IOException' in BinarySerializer.dll Exception thrown: 'System.NotSupportedException' in XBee.dll Exception thrown: 'System.NotSupportedException' in mscorlib.dll Exception thrown: 'System.NotSupportedException' in mscorlib.dll Exception thrown: 'System.NotSupportedException' in mscorlib.dll Exception thrown: 'System.Reflection.TargetInvocationException' in mscorlib.dll An unhandled exception of type 'System.Reflection.TargetInvocationException' occurred in mscorlib.dll Additional information: Exception has been thrown by the target of an invocation.
Another time I see: Exception thrown: 'System.TimeoutException' in XBee.dll Exception thrown: 'System.TimeoutException' in mscorlib.dll Exception thrown: 'System.TimeoutException' in mscorlib.dll Exception thrown: 'System.TimeoutException' in mscorlib.dll Exception thrown: 'System.TimeoutException' in mscorlib.dll Exception thrown: 'System.TimeoutException' in mscorlib.dll
Another one: Exception thrown: 'System.IO.IOException' in System.dll Exception thrown: 'System.IO.IOException' in BinarySerializer.dll Exception thrown: 'System.IO.IOException' in BinarySerializer.dll Exception thrown: 'System.IO.IOException' in BinarySerializer.dll Exception thrown: 'System.NotSupportedException' in XBee.dll Exception thrown: 'System.NotSupportedException' in mscorlib.dll Exception thrown: 'System.NotSupportedException' in mscorlib.dll Exception thrown: 'System.NotSupportedException' in mscorlib.dll An unhandled exception of type 'System.NotSupportedException' occurred in mscorlib.dll Additional information: 45 not supported.
— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/jefffhaynes/XBee/issues/25#issuecomment-305048033, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AJSKR0iM0HWpJz7hSzyBxXX9oe_Txismks5r_LYvgaJpZM4Np1cP.
One time the coordinator finds the end device, but it stops.
D-Start: StartDelimiter
S-Start: StartDelimiter
S-End: StartDelimiter (FrameDelimiter)
S-Start: Length
S-End: Length (4)
S-Start: Payload
S-Start: FrameType
S-End: FrameType (AtCommand)
S-Start: Content
S-Start: FrameId
S-End: FrameId (1)
S-Start: Command
S-Start: Command
S-End: Command (ND)
S-Start: Parameter
S-End: Parameter (null)
S-End: Command (XBee.Frames.AtCommands.NetworkDiscoveryCommand)
S-End: Content (XBee.Frames.AtCommandFrameContent)
S-End: Payload (XBee.FramePayload)
S-Start: Checksum
S-End: Checksum (100)
D-End: StartDelimiter (FrameDelimiter)
D-Start: Length
D-End: Length (33)
D-Start: Payload
D-Start: FrameType
D-End: FrameType (AtCommandResponse)
D-Start: Content
D-Start: FrameId
D-End: FrameId (1)
D-Start: Content
D-Start: AtCommand
D-End: AtCommand (ND)
D-Start: Status
D-End: Status (Success)
D-Start: Data
D-Start: ShortAddress
D-Start: Value
D-End: Value (0)
D-End: ShortAddress (0000)
D-Start: LongAddress
D-Start: Value
D-End: Value (5526146538198071)
D-End: LongAddress (0013A2004162D437)
D-Start: ReceivedSignalStrengthIndicator
D-End: ReceivedSignalStrengthIndicator (null)
D-Start: Name
D-End: Name (COORD)
D-Start: ExtendedInfo
D-End: ExtendedInfo (null)
D-End: Data (COORD: 0013A2004162D437)
D-End: Content (XBee.Frames.AtCommandResponseFrameContent)
D-End: Content (XBee.Frames.AtCommandResponseFrame)
D-End: Payload (XBee.FramePayload)
D-Start: Checksum
D-End: Checksum (15)
D-Start: StartDelimiter
D-End: StartDelimiter (FrameDelimiter)
D-Start: Length
D-End: Length (38)
D-Start: Payload
D-Start: FrameType
D-End: FrameType (AtCommandResponse)
D-Start: Content
D-Start: FrameId
D-End: FrameId (1)
D-Start: Content
D-Start: AtCommand
D-End: AtCommand (ND)
D-Start: Status
D-End: Status (Success)
D-Start: Data
D-Start: ShortAddress
D-Start: Value
D-End: Value (50399)
D-End: ShortAddress (C4DF)
D-Start: LongAddress
D-Start: Value
D-End: Value (5526146531121605)
D-End: LongAddress (0013A20040F6D9C5)
D-Start: ReceivedSignalStrengthIndicator
D-End: ReceivedSignalStrengthIndicator (null)
D-Start: Name
D-End: Name (END_DEVICE)
D-Start: ExtendedInfo
D-End: ExtendedInfo (null)
D-End: Data (END_DEVICE: 0013A20040F6D9C5)
D-End: Content (XBee.Frames.AtCommandResponseFrameContent)
D-End: Content (XBee.Frames.AtCommandResponseFrame)
D-End: Payload (XBee.FramePayload)
D-Start: Checksum
D-End: Checksum (214)
D-Start: StartDelimiter
S-Start: StartDelimiter
S-End: StartDelimiter (FrameDelimiter)
S-Start: Length
S-End: Length (4)
S-Start: Payload
S-Start: FrameType
S-End: FrameType (AtCommand)
S-Start: Content
S-Start: FrameId
S-End: FrameId (2)
S-Start: Command
S-Start: Command
S-End: Command (HV)
S-Start: Parameter
S-End: Parameter (null)
S-End: Command (XBee.Frames.AtCommands.HardwareVersionCommand)
S-End: Content (XBee.Frames.AtCommandFrameContent)
S-End: Payload (XBee.FramePayload)
S-Start: Checksum
S-End: Checksum (87)
D-End: StartDelimiter (FrameDelimiter)
D-Start: Length
D-End: Length (7)
D-Start: Payload
D-Start: FrameType
D-End: FrameType (AtCommandResponse)
D-Start: Content
D-Start: FrameId
D-End: FrameId (2)
D-Start: Content
D-Start: AtCommand
D-End: AtCommand (HV)
D-Start: Status
D-End: Status (Success)
D-Start: Data
D-Start: HardwareVersion
D-End: HardwareVersion (45)
D-Start: HardwareRevision
D-End: HardwareRevision (68)
D-End: Data (XBee.Frames.AtCommands.HardwareVersionResponseData)
D-End: Content (XBee.Frames.AtCommandResponseFrameContent)
D-End: Content (XBee.Frames.AtCommandResponseFrame)
D-End: Payload (XBee.FramePayload)
D-Start: Checksum
D-End: Checksum (102)
D-Start: StartDelimiter
D-Start: StartDelimiter
S-Start: StartDelimiter
S-End: StartDelimiter (FrameDelimiter)
S-Start: Length
S-End: Length (4)
S-Start: Payload
Rest of the time are like this:
D-Start: StartDelimiter
S-Start: StartDelimiter
S-End: StartDelimiter (FrameDelimiter)
S-Start: Length
S-End: Length (4)
S-Start: Payload
S-Start: FrameType
S-End: FrameType (AtCommand)
S-Start: Content
S-Start: FrameId
S-End: FrameId (1)
S-Start: Command
S-Start: Command
S-End: Command (ND)
S-Start: Parameter
S-End: Parameter (null)
S-End: Command (XBee.Frames.AtCommands.NetworkDiscoveryCommand)
S-End: Content (XBee.Frames.AtCommandFrameContent)
S-End: Payload (XBee.FramePayload)
S-Start: Checksum
S-End: Checksum (100)
D-End: StartDelimiter (FrameDelimiter)
D-Start: Length
D-End: Length (33)
D-Start: Payload
D-Start: FrameType
D-End: FrameType (AtCommandResponse)
D-Start: Content
D-Start: FrameId
D-End: FrameId (1)
D-Start: Content
D-Start: AtCommand
D-End: AtCommand (ND)
D-Start: Status
D-End: Status (Success)
D-Start: Data
D-Start: ShortAddress
D-Start: Value
D-End: Value (0)
D-End: ShortAddress (0000)
D-Start: LongAddress
D-Start: Value
D-End: Value (5526146538198071)
D-End: LongAddress (0013A2004162D437)
D-Start: ReceivedSignalStrengthIndicator
D-End: ReceivedSignalStrengthIndicator (null)
D-Start: Name
D-End: Name (COORD)
D-Start: ExtendedInfo
D-End: ExtendedInfo (null)
D-End: Data (COORD: 0013A2004162D437)
D-End: Content (XBee.Frames.AtCommandResponseFrameContent)
D-End: Content (XBee.Frames.AtCommandResponseFrame)
D-End: Payload (XBee.FramePayload)
D-Start: Checksum
D-End: Checksum (15)
D-Start: StartDelimiter
S-Start: StartDelimiter
S-End: StartDelimiter (FrameDelimiter)
S-Start: Length
S-End: Length (4)
S-Start: Payload
S-Start: FrameType
S-End: FrameType (AtCommand)
S-Start: Content
S-Start: FrameId
S-End: FrameId (2)
S-Start: Command
S-Start: Command
S-End: Command (HV)
S-Start: Parameter
S-End: Parameter (null)
S-End: Command (XBee.Frames.AtCommands.HardwareVersionCommand)
S-End: Content (XBee.Frames.AtCommandFrameContent)
S-End: Payload (XBee.FramePayload)
S-Start: Checksum
S-End: Checksum (87)
D-End: StartDelimiter (FrameDelimiter)
D-Start: Length
D-End: Length (7)
D-Start: Payload
D-Start: FrameType
D-End: FrameType (AtCommandResponse)
D-Start: Content
D-Start: FrameId
D-End: FrameId (2)
D-Start: Content
D-Start: AtCommand
D-End: AtCommand (HV)
D-Start: Status
D-End: Status (Success)
D-Start: Data
D-Start: HardwareVersion
D-End: HardwareVersion (45)
D-Start: HardwareRevision
D-End: HardwareRevision (68)
D-End: Data (XBee.Frames.AtCommands.HardwareVersionResponseData)
D-End: Content (XBee.Frames.AtCommandResponseFrameContent)
D-End: Content (XBee.Frames.AtCommandResponseFrame)
D-End: Payload (XBee.FramePayload)
D-Start: Checksum
D-End: Checksum (102)
D-Start: StartDelimiter
D-Start: StartDelimiter
That looks correct to me. Do you get the exception after all of that?
From: xhr0428 notifications@github.com Sent: Wednesday, May 31, 2017 12:13:56 AM To: jefffhaynes/XBee Cc: Jeff Haynes; Comment Subject: Re: [jefffhaynes/XBee] How to find node identifiers of end devices? (#25)
One time the coordinator finds the end device, but it stops.
D-Start: StartDelimiter S-Start: StartDelimiter S-End: StartDelimiter (FrameDelimiter) S-Start: Length S-End: Length (4) S-Start: Payload S-Start: FrameType S-End: FrameType (AtCommand) S-Start: Content S-Start: FrameId S-End: FrameId (1) S-Start: Command S-Start: Command S-End: Command (ND) S-Start: Parameter S-End: Parameter (null) S-End: Command (XBee.Frames.AtCommands.NetworkDiscoveryCommand) S-End: Content (XBee.Frames.AtCommandFrameContent) S-End: Payload (XBee.FramePayload) S-Start: Checksum S-End: Checksum (100) D-End: StartDelimiter (FrameDelimiter) D-Start: Length D-End: Length (33) D-Start: Payload D-Start: FrameType D-End: FrameType (AtCommandResponse) D-Start: Content D-Start: FrameId D-End: FrameId (1) D-Start: Content D-Start: AtCommand D-End: AtCommand (ND) D-Start: Status D-End: Status (Success) D-Start: Data D-Start: ShortAddress D-Start: Value D-End: Value (0) D-End: ShortAddress (0000) D-Start: LongAddress D-Start: Value D-End: Value (5526146538198071) D-End: LongAddress (0013A2004162D437) D-Start: ReceivedSignalStrengthIndicator D-End: ReceivedSignalStrengthIndicator (null) D-Start: Name D-End: Name (COORD) D-Start: ExtendedInfo D-End: ExtendedInfo (null) D-End: Data (COORD: 0013A2004162D437) D-End: Content (XBee.Frames.AtCommandResponseFrameContent) D-End: Content (XBee.Frames.AtCommandResponseFrame) D-End: Payload (XBee.FramePayload) D-Start: Checksum D-End: Checksum (15) D-Start: StartDelimiter D-End: StartDelimiter (FrameDelimiter) D-Start: Length D-End: Length (38) D-Start: Payload D-Start: FrameType D-End: FrameType (AtCommandResponse) D-Start: Content D-Start: FrameId D-End: FrameId (1) D-Start: Content D-Start: AtCommand D-End: AtCommand (ND) D-Start: Status D-End: Status (Success) D-Start: Data D-Start: ShortAddress D-Start: Value D-End: Value (50399) D-End: ShortAddress (C4DF) D-Start: LongAddress D-Start: Value D-End: Value (5526146531121605) D-End: LongAddress (0013A20040F6D9C5) D-Start: ReceivedSignalStrengthIndicator D-End: ReceivedSignalStrengthIndicator (null) D-Start: Name D-End: Name (END_DEVICE) D-Start: ExtendedInfo D-End: ExtendedInfo (null) D-End: Data (END_DEVICE: 0013A20040F6D9C5) D-End: Content (XBee.Frames.AtCommandResponseFrameContent) D-End: Content (XBee.Frames.AtCommandResponseFrame) D-End: Payload (XBee.FramePayload) D-Start: Checksum D-End: Checksum (214) D-Start: StartDelimiter S-Start: StartDelimiter S-End: StartDelimiter (FrameDelimiter) S-Start: Length S-End: Length (4) S-Start: Payload S-Start: FrameType S-End: FrameType (AtCommand) S-Start: Content S-Start: FrameId S-End: FrameId (2) S-Start: Command S-Start: Command S-End: Command (HV) S-Start: Parameter S-End: Parameter (null) S-End: Command (XBee.Frames.AtCommands.HardwareVersionCommand) S-End: Content (XBee.Frames.AtCommandFrameContent) S-End: Payload (XBee.FramePayload) S-Start: Checksum S-End: Checksum (87) D-End: StartDelimiter (FrameDelimiter) D-Start: Length D-End: Length (7) D-Start: Payload D-Start: FrameType D-End: FrameType (AtCommandResponse) D-Start: Content D-Start: FrameId D-End: FrameId (2) D-Start: Content D-Start: AtCommand D-End: AtCommand (HV) D-Start: Status D-End: Status (Success) D-Start: Data D-Start: HardwareVersion D-End: HardwareVersion (45) D-Start: HardwareRevision D-End: HardwareRevision (68) D-End: Data (XBee.Frames.AtCommands.HardwareVersionResponseData) D-End: Content (XBee.Frames.AtCommandResponseFrameContent) D-End: Content (XBee.Frames.AtCommandResponseFrame) D-End: Payload (XBee.FramePayload) D-Start: Checksum D-End: Checksum (102) D-Start: StartDelimiter D-Start: StartDelimiter S-Start: StartDelimiter S-End: StartDelimiter (FrameDelimiter) S-Start: Length S-End: Length (4) S-Start: Payload
Rest of the time are like this: D-Start: StartDelimiter S-Start: StartDelimiter S-End: StartDelimiter (FrameDelimiter) S-Start: Length S-End: Length (4) S-Start: Payload S-Start: FrameType S-End: FrameType (AtCommand) S-Start: Content S-Start: FrameId S-End: FrameId (1) S-Start: Command S-Start: Command S-End: Command (ND) S-Start: Parameter S-End: Parameter (null) S-End: Command (XBee.Frames.AtCommands.NetworkDiscoveryCommand) S-End: Content (XBee.Frames.AtCommandFrameContent) S-End: Payload (XBee.FramePayload) S-Start: Checksum S-End: Checksum (100) D-End: StartDelimiter (FrameDelimiter) D-Start: Length D-End: Length (33) D-Start: Payload D-Start: FrameType D-End: FrameType (AtCommandResponse) D-Start: Content D-Start: FrameId D-End: FrameId (1) D-Start: Content D-Start: AtCommand D-End: AtCommand (ND) D-Start: Status D-End: Status (Success) D-Start: Data D-Start: ShortAddress D-Start: Value D-End: Value (0) D-End: ShortAddress (0000) D-Start: LongAddress D-Start: Value D-End: Value (5526146538198071) D-End: LongAddress (0013A2004162D437) D-Start: ReceivedSignalStrengthIndicator D-End: ReceivedSignalStrengthIndicator (null) D-Start: Name D-End: Name (COORD) D-Start: ExtendedInfo D-End: ExtendedInfo (null) D-End: Data (COORD: 0013A2004162D437) D-End: Content (XBee.Frames.AtCommandResponseFrameContent) D-End: Content (XBee.Frames.AtCommandResponseFrame) D-End: Payload (XBee.FramePayload) D-Start: Checksum D-End: Checksum (15) D-Start: StartDelimiter S-Start: StartDelimiter S-End: StartDelimiter (FrameDelimiter) S-Start: Length S-End: Length (4) S-Start: Payload S-Start: FrameType S-End: FrameType (AtCommand) S-Start: Content S-Start: FrameId S-End: FrameId (2) S-Start: Command S-Start: Command S-End: Command (HV) S-Start: Parameter S-End: Parameter (null) S-End: Command (XBee.Frames.AtCommands.HardwareVersionCommand) S-End: Content (XBee.Frames.AtCommandFrameContent) S-End: Payload (XBee.FramePayload) S-Start: Checksum S-End: Checksum (87) D-End: StartDelimiter (FrameDelimiter) D-Start: Length D-End: Length (7) D-Start: Payload D-Start: FrameType D-End: FrameType (AtCommandResponse) D-Start: Content D-Start: FrameId D-End: FrameId (2) D-Start: Content D-Start: AtCommand D-End: AtCommand (HV) D-Start: Status D-End: Status (Success) D-Start: Data D-Start: HardwareVersion D-End: HardwareVersion (45) D-Start: HardwareRevision D-End: HardwareRevision (68) D-End: Data (XBee.Frames.AtCommands.HardwareVersionResponseData) D-End: Content (XBee.Frames.AtCommandResponseFrameContent) D-End: Content (XBee.Frames.AtCommandResponseFrame) D-End: Payload (XBee.FramePayload) D-Start: Checksum D-End: Checksum (102) D-Start: StartDelimiter D-Start: StartDelimiter
— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/jefffhaynes/XBee/issues/25#issuecomment-305077821, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AJSKR6m0-3nW1iplnmDE9PYAcrm4dLjuks5r_OkEgaJpZM4Np1cP.
Yes, I'm getting
Exception thrown: 'System.IO.IOException' in System.dll Exception thrown: 'System.IO.IOException' in BinarySerializer.dll Exception thrown: 'System.IO.IOException' in BinarySerializer.dll Exception thrown: 'System.IO.IOException' in BinarySerializer.dll Exception thrown: 'System.UnauthorizedAccessException' in System.dll Exception thrown: 'System.NotSupportedException' in XBee.dll Exception thrown: 'System.NotSupportedException' in mscorlib.dll Exception thrown: 'System.NotSupportedException' in mscorlib.dll Exception thrown: 'System.NotSupportedException' in mscorlib.dll An unhandled exception of type 'System.NotSupportedException' occurred in mscorlib.dll Additional information: 45 not supported.
Oh wait, what model coordinator are you using? It looks like I don't have a definition for it.
From: Jeff Haynes feedyurhed@gmail.com Sent: Wednesday, May 31, 2017 12:25:09 AM To: jefffhaynes/XBee; jefffhaynes/XBee Cc: Comment Subject: Re: [jefffhaynes/XBee] How to find node identifiers of end devices? (#25)
That looks correct to me. Do you get the exception after all of that?
From: xhr0428 notifications@github.com Sent: Wednesday, May 31, 2017 12:13:56 AM To: jefffhaynes/XBee Cc: Jeff Haynes; Comment Subject: Re: [jefffhaynes/XBee] How to find node identifiers of end devices? (#25)
One time the coordinator finds the end device, but it stops.
D-Start: StartDelimiter S-Start: StartDelimiter S-End: StartDelimiter (FrameDelimiter) S-Start: Length S-End: Length (4) S-Start: Payload S-Start: FrameType S-End: FrameType (AtCommand) S-Start: Content S-Start: FrameId S-End: FrameId (1) S-Start: Command S-Start: Command S-End: Command (ND) S-Start: Parameter S-End: Parameter (null) S-End: Command (XBee.Frames.AtCommands.NetworkDiscoveryCommand) S-End: Content (XBee.Frames.AtCommandFrameContent) S-End: Payload (XBee.FramePayload) S-Start: Checksum S-End: Checksum (100) D-End: StartDelimiter (FrameDelimiter) D-Start: Length D-End: Length (33) D-Start: Payload D-Start: FrameType D-End: FrameType (AtCommandResponse) D-Start: Content D-Start: FrameId D-End: FrameId (1) D-Start: Content D-Start: AtCommand D-End: AtCommand (ND) D-Start: Status D-End: Status (Success) D-Start: Data D-Start: ShortAddress D-Start: Value D-End: Value (0) D-End: ShortAddress (0000) D-Start: LongAddress D-Start: Value D-End: Value (5526146538198071) D-End: LongAddress (0013A2004162D437) D-Start: ReceivedSignalStrengthIndicator D-End: ReceivedSignalStrengthIndicator (null) D-Start: Name D-End: Name (COORD) D-Start: ExtendedInfo D-End: ExtendedInfo (null) D-End: Data (COORD: 0013A2004162D437) D-End: Content (XBee.Frames.AtCommandResponseFrameContent) D-End: Content (XBee.Frames.AtCommandResponseFrame) D-End: Payload (XBee.FramePayload) D-Start: Checksum D-End: Checksum (15) D-Start: StartDelimiter D-End: StartDelimiter (FrameDelimiter) D-Start: Length D-End: Length (38) D-Start: Payload D-Start: FrameType D-End: FrameType (AtCommandResponse) D-Start: Content D-Start: FrameId D-End: FrameId (1) D-Start: Content D-Start: AtCommand D-End: AtCommand (ND) D-Start: Status D-End: Status (Success) D-Start: Data D-Start: ShortAddress D-Start: Value D-End: Value (50399) D-End: ShortAddress (C4DF) D-Start: LongAddress D-Start: Value D-End: Value (5526146531121605) D-End: LongAddress (0013A20040F6D9C5) D-Start: ReceivedSignalStrengthIndicator D-End: ReceivedSignalStrengthIndicator (null) D-Start: Name D-End: Name (END_DEVICE) D-Start: ExtendedInfo D-End: ExtendedInfo (null) D-End: Data (END_DEVICE: 0013A20040F6D9C5) D-End: Content (XBee.Frames.AtCommandResponseFrameContent) D-End: Content (XBee.Frames.AtCommandResponseFrame) D-End: Payload (XBee.FramePayload) D-Start: Checksum D-End: Checksum (214) D-Start: StartDelimiter S-Start: StartDelimiter S-End: StartDelimiter (FrameDelimiter) S-Start: Length S-End: Length (4) S-Start: Payload S-Start: FrameType S-End: FrameType (AtCommand) S-Start: Content S-Start: FrameId S-End: FrameId (2) S-Start: Command S-Start: Command S-End: Command (HV) S-Start: Parameter S-End: Parameter (null) S-End: Command (XBee.Frames.AtCommands.HardwareVersionCommand) S-End: Content (XBee.Frames.AtCommandFrameContent) S-End: Payload (XBee.FramePayload) S-Start: Checksum S-End: Checksum (87) D-End: StartDelimiter (FrameDelimiter) D-Start: Length D-End: Length (7) D-Start: Payload D-Start: FrameType D-End: FrameType (AtCommandResponse) D-Start: Content D-Start: FrameId D-End: FrameId (2) D-Start: Content D-Start: AtCommand D-End: AtCommand (HV) D-Start: Status D-End: Status (Success) D-Start: Data D-Start: HardwareVersion D-End: HardwareVersion (45) D-Start: HardwareRevision D-End: HardwareRevision (68) D-End: Data (XBee.Frames.AtCommands.HardwareVersionResponseData) D-End: Content (XBee.Frames.AtCommandResponseFrameContent) D-End: Content (XBee.Frames.AtCommandResponseFrame) D-End: Payload (XBee.FramePayload) D-Start: Checksum D-End: Checksum (102) D-Start: StartDelimiter D-Start: StartDelimiter S-Start: StartDelimiter S-End: StartDelimiter (FrameDelimiter) S-Start: Length S-End: Length (4) S-Start: Payload
Rest of the time are like this: D-Start: StartDelimiter S-Start: StartDelimiter S-End: StartDelimiter (FrameDelimiter) S-Start: Length S-End: Length (4) S-Start: Payload S-Start: FrameType S-End: FrameType (AtCommand) S-Start: Content S-Start: FrameId S-End: FrameId (1) S-Start: Command S-Start: Command S-End: Command (ND) S-Start: Parameter S-End: Parameter (null) S-End: Command (XBee.Frames.AtCommands.NetworkDiscoveryCommand) S-End: Content (XBee.Frames.AtCommandFrameContent) S-End: Payload (XBee.FramePayload) S-Start: Checksum S-End: Checksum (100) D-End: StartDelimiter (FrameDelimiter) D-Start: Length D-End: Length (33) D-Start: Payload D-Start: FrameType D-End: FrameType (AtCommandResponse) D-Start: Content D-Start: FrameId D-End: FrameId (1) D-Start: Content D-Start: AtCommand D-End: AtCommand (ND) D-Start: Status D-End: Status (Success) D-Start: Data D-Start: ShortAddress D-Start: Value D-End: Value (0) D-End: ShortAddress (0000) D-Start: LongAddress D-Start: Value D-End: Value (5526146538198071) D-End: LongAddress (0013A2004162D437) D-Start: ReceivedSignalStrengthIndicator D-End: ReceivedSignalStrengthIndicator (null) D-Start: Name D-End: Name (COORD) D-Start: ExtendedInfo D-End: ExtendedInfo (null) D-End: Data (COORD: 0013A2004162D437) D-End: Content (XBee.Frames.AtCommandResponseFrameContent) D-End: Content (XBee.Frames.AtCommandResponseFrame) D-End: Payload (XBee.FramePayload) D-Start: Checksum D-End: Checksum (15) D-Start: StartDelimiter S-Start: StartDelimiter S-End: StartDelimiter (FrameDelimiter) S-Start: Length S-End: Length (4) S-Start: Payload S-Start: FrameType S-End: FrameType (AtCommand) S-Start: Content S-Start: FrameId S-End: FrameId (2) S-Start: Command S-Start: Command S-End: Command (HV) S-Start: Parameter S-End: Parameter (null) S-End: Command (XBee.Frames.AtCommands.HardwareVersionCommand) S-End: Content (XBee.Frames.AtCommandFrameContent) S-End: Payload (XBee.FramePayload) S-Start: Checksum S-End: Checksum (87) D-End: StartDelimiter (FrameDelimiter) D-Start: Length D-End: Length (7) D-Start: Payload D-Start: FrameType D-End: FrameType (AtCommandResponse) D-Start: Content D-Start: FrameId D-End: FrameId (2) D-Start: Content D-Start: AtCommand D-End: AtCommand (HV) D-Start: Status D-End: Status (Success) D-Start: Data D-Start: HardwareVersion D-End: HardwareVersion (45) D-Start: HardwareRevision D-End: HardwareRevision (68) D-End: Data (XBee.Frames.AtCommands.HardwareVersionResponseData) D-End: Content (XBee.Frames.AtCommandResponseFrameContent) D-End: Content (XBee.Frames.AtCommandResponseFrame) D-End: Payload (XBee.FramePayload) D-Start: Checksum D-End: Checksum (102) D-Start: StartDelimiter D-Start: StartDelimiter
— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/jefffhaynes/XBee/issues/25#issuecomment-305077821, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AJSKR6m0-3nW1iplnmDE9PYAcrm4dLjuks5r_OkEgaJpZM4Np1cP.
Sorry I just saw that.
From: Jeff Haynes feedyurhed@gmail.com Sent: Wednesday, May 31, 2017 12:27:29 AM To: jefffhaynes/XBee; jefffhaynes/XBee Cc: Comment Subject: Re: [jefffhaynes/XBee] How to find node identifiers of end devices? (#25)
Oh wait, what model coordinator are you using? It looks like I don't have a definition for it.
From: Jeff Haynes feedyurhed@gmail.com Sent: Wednesday, May 31, 2017 12:25:09 AM To: jefffhaynes/XBee; jefffhaynes/XBee Cc: Comment Subject: Re: [jefffhaynes/XBee] How to find node identifiers of end devices? (#25)
That looks correct to me. Do you get the exception after all of that?
From: xhr0428 notifications@github.com Sent: Wednesday, May 31, 2017 12:13:56 AM To: jefffhaynes/XBee Cc: Jeff Haynes; Comment Subject: Re: [jefffhaynes/XBee] How to find node identifiers of end devices? (#25)
One time the coordinator finds the end device, but it stops.
D-Start: StartDelimiter S-Start: StartDelimiter S-End: StartDelimiter (FrameDelimiter) S-Start: Length S-End: Length (4) S-Start: Payload S-Start: FrameType S-End: FrameType (AtCommand) S-Start: Content S-Start: FrameId S-End: FrameId (1) S-Start: Command S-Start: Command S-End: Command (ND) S-Start: Parameter S-End: Parameter (null) S-End: Command (XBee.Frames.AtCommands.NetworkDiscoveryCommand) S-End: Content (XBee.Frames.AtCommandFrameContent) S-End: Payload (XBee.FramePayload) S-Start: Checksum S-End: Checksum (100) D-End: StartDelimiter (FrameDelimiter) D-Start: Length D-End: Length (33) D-Start: Payload D-Start: FrameType D-End: FrameType (AtCommandResponse) D-Start: Content D-Start: FrameId D-End: FrameId (1) D-Start: Content D-Start: AtCommand D-End: AtCommand (ND) D-Start: Status D-End: Status (Success) D-Start: Data D-Start: ShortAddress D-Start: Value D-End: Value (0) D-End: ShortAddress (0000) D-Start: LongAddress D-Start: Value D-End: Value (5526146538198071) D-End: LongAddress (0013A2004162D437) D-Start: ReceivedSignalStrengthIndicator D-End: ReceivedSignalStrengthIndicator (null) D-Start: Name D-End: Name (COORD) D-Start: ExtendedInfo D-End: ExtendedInfo (null) D-End: Data (COORD: 0013A2004162D437) D-End: Content (XBee.Frames.AtCommandResponseFrameContent) D-End: Content (XBee.Frames.AtCommandResponseFrame) D-End: Payload (XBee.FramePayload) D-Start: Checksum D-End: Checksum (15) D-Start: StartDelimiter D-End: StartDelimiter (FrameDelimiter) D-Start: Length D-End: Length (38) D-Start: Payload D-Start: FrameType D-End: FrameType (AtCommandResponse) D-Start: Content D-Start: FrameId D-End: FrameId (1) D-Start: Content D-Start: AtCommand D-End: AtCommand (ND) D-Start: Status D-End: Status (Success) D-Start: Data D-Start: ShortAddress D-Start: Value D-End: Value (50399) D-End: ShortAddress (C4DF) D-Start: LongAddress D-Start: Value D-End: Value (5526146531121605) D-End: LongAddress (0013A20040F6D9C5) D-Start: ReceivedSignalStrengthIndicator D-End: ReceivedSignalStrengthIndicator (null) D-Start: Name D-End: Name (END_DEVICE) D-Start: ExtendedInfo D-End: ExtendedInfo (null) D-End: Data (END_DEVICE: 0013A20040F6D9C5) D-End: Content (XBee.Frames.AtCommandResponseFrameContent) D-End: Content (XBee.Frames.AtCommandResponseFrame) D-End: Payload (XBee.FramePayload) D-Start: Checksum D-End: Checksum (214) D-Start: StartDelimiter S-Start: StartDelimiter S-End: StartDelimiter (FrameDelimiter) S-Start: Length S-End: Length (4) S-Start: Payload S-Start: FrameType S-End: FrameType (AtCommand) S-Start: Content S-Start: FrameId S-End: FrameId (2) S-Start: Command S-Start: Command S-End: Command (HV) S-Start: Parameter S-End: Parameter (null) S-End: Command (XBee.Frames.AtCommands.HardwareVersionCommand) S-End: Content (XBee.Frames.AtCommandFrameContent) S-End: Payload (XBee.FramePayload) S-Start: Checksum S-End: Checksum (87) D-End: StartDelimiter (FrameDelimiter) D-Start: Length D-End: Length (7) D-Start: Payload D-Start: FrameType D-End: FrameType (AtCommandResponse) D-Start: Content D-Start: FrameId D-End: FrameId (2) D-Start: Content D-Start: AtCommand D-End: AtCommand (HV) D-Start: Status D-End: Status (Success) D-Start: Data D-Start: HardwareVersion D-End: HardwareVersion (45) D-Start: HardwareRevision D-End: HardwareRevision (68) D-End: Data (XBee.Frames.AtCommands.HardwareVersionResponseData) D-End: Content (XBee.Frames.AtCommandResponseFrameContent) D-End: Content (XBee.Frames.AtCommandResponseFrame) D-End: Payload (XBee.FramePayload) D-Start: Checksum D-End: Checksum (102) D-Start: StartDelimiter D-Start: StartDelimiter S-Start: StartDelimiter S-End: StartDelimiter (FrameDelimiter) S-Start: Length S-End: Length (4) S-Start: Payload
Rest of the time are like this: D-Start: StartDelimiter S-Start: StartDelimiter S-End: StartDelimiter (FrameDelimiter) S-Start: Length S-End: Length (4) S-Start: Payload S-Start: FrameType S-End: FrameType (AtCommand) S-Start: Content S-Start: FrameId S-End: FrameId (1) S-Start: Command S-Start: Command S-End: Command (ND) S-Start: Parameter S-End: Parameter (null) S-End: Command (XBee.Frames.AtCommands.NetworkDiscoveryCommand) S-End: Content (XBee.Frames.AtCommandFrameContent) S-End: Payload (XBee.FramePayload) S-Start: Checksum S-End: Checksum (100) D-End: StartDelimiter (FrameDelimiter) D-Start: Length D-End: Length (33) D-Start: Payload D-Start: FrameType D-End: FrameType (AtCommandResponse) D-Start: Content D-Start: FrameId D-End: FrameId (1) D-Start: Content D-Start: AtCommand D-End: AtCommand (ND) D-Start: Status D-End: Status (Success) D-Start: Data D-Start: ShortAddress D-Start: Value D-End: Value (0) D-End: ShortAddress (0000) D-Start: LongAddress D-Start: Value D-End: Value (5526146538198071) D-End: LongAddress (0013A2004162D437) D-Start: ReceivedSignalStrengthIndicator D-End: ReceivedSignalStrengthIndicator (null) D-Start: Name D-End: Name (COORD) D-Start: ExtendedInfo D-End: ExtendedInfo (null) D-End: Data (COORD: 0013A2004162D437) D-End: Content (XBee.Frames.AtCommandResponseFrameContent) D-End: Content (XBee.Frames.AtCommandResponseFrame) D-End: Payload (XBee.FramePayload) D-Start: Checksum D-End: Checksum (15) D-Start: StartDelimiter S-Start: StartDelimiter S-End: StartDelimiter (FrameDelimiter) S-Start: Length S-End: Length (4) S-Start: Payload S-Start: FrameType S-End: FrameType (AtCommand) S-Start: Content S-Start: FrameId S-End: FrameId (2) S-Start: Command S-Start: Command S-End: Command (HV) S-Start: Parameter S-End: Parameter (null) S-End: Command (XBee.Frames.AtCommands.HardwareVersionCommand) S-End: Content (XBee.Frames.AtCommandFrameContent) S-End: Payload (XBee.FramePayload) S-Start: Checksum S-End: Checksum (87) D-End: StartDelimiter (FrameDelimiter) D-Start: Length D-End: Length (7) D-Start: Payload D-Start: FrameType D-End: FrameType (AtCommandResponse) D-Start: Content D-Start: FrameId D-End: FrameId (2) D-Start: Content D-Start: AtCommand D-End: AtCommand (HV) D-Start: Status D-End: Status (Success) D-Start: Data D-Start: HardwareVersion D-End: HardwareVersion (45) D-Start: HardwareRevision D-End: HardwareRevision (68) D-End: Data (XBee.Frames.AtCommands.HardwareVersionResponseData) D-End: Content (XBee.Frames.AtCommandResponseFrameContent) D-End: Content (XBee.Frames.AtCommandResponseFrame) D-End: Payload (XBee.FramePayload) D-Start: Checksum D-End: Checksum (102) D-Start: StartDelimiter D-Start: StartDelimiter
— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/jefffhaynes/XBee/issues/25#issuecomment-305077821, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AJSKR6m0-3nW1iplnmDE9PYAcrm4dLjuks5r_OkEgaJpZM4Np1cP.
Do you know what model you have? I can't find a reference for what 45 is.
From: Jeff Haynes feedyurhed@gmail.com Sent: Wednesday, May 31, 2017 12:28:14 AM To: jefffhaynes/XBee; jefffhaynes/XBee Cc: Comment Subject: Re: [jefffhaynes/XBee] How to find node identifiers of end devices? (#25)
Sorry I just saw that.
From: Jeff Haynes feedyurhed@gmail.com Sent: Wednesday, May 31, 2017 12:27:29 AM To: jefffhaynes/XBee; jefffhaynes/XBee Cc: Comment Subject: Re: [jefffhaynes/XBee] How to find node identifiers of end devices? (#25)
Oh wait, what model coordinator are you using? It looks like I don't have a definition for it.
From: Jeff Haynes feedyurhed@gmail.com Sent: Wednesday, May 31, 2017 12:25:09 AM To: jefffhaynes/XBee; jefffhaynes/XBee Cc: Comment Subject: Re: [jefffhaynes/XBee] How to find node identifiers of end devices? (#25)
That looks correct to me. Do you get the exception after all of that?
From: xhr0428 notifications@github.com Sent: Wednesday, May 31, 2017 12:13:56 AM To: jefffhaynes/XBee Cc: Jeff Haynes; Comment Subject: Re: [jefffhaynes/XBee] How to find node identifiers of end devices? (#25)
One time the coordinator finds the end device, but it stops.
D-Start: StartDelimiter S-Start: StartDelimiter S-End: StartDelimiter (FrameDelimiter) S-Start: Length S-End: Length (4) S-Start: Payload S-Start: FrameType S-End: FrameType (AtCommand) S-Start: Content S-Start: FrameId S-End: FrameId (1) S-Start: Command S-Start: Command S-End: Command (ND) S-Start: Parameter S-End: Parameter (null) S-End: Command (XBee.Frames.AtCommands.NetworkDiscoveryCommand) S-End: Content (XBee.Frames.AtCommandFrameContent) S-End: Payload (XBee.FramePayload) S-Start: Checksum S-End: Checksum (100) D-End: StartDelimiter (FrameDelimiter) D-Start: Length D-End: Length (33) D-Start: Payload D-Start: FrameType D-End: FrameType (AtCommandResponse) D-Start: Content D-Start: FrameId D-End: FrameId (1) D-Start: Content D-Start: AtCommand D-End: AtCommand (ND) D-Start: Status D-End: Status (Success) D-Start: Data D-Start: ShortAddress D-Start: Value D-End: Value (0) D-End: ShortAddress (0000) D-Start: LongAddress D-Start: Value D-End: Value (5526146538198071) D-End: LongAddress (0013A2004162D437) D-Start: ReceivedSignalStrengthIndicator D-End: ReceivedSignalStrengthIndicator (null) D-Start: Name D-End: Name (COORD) D-Start: ExtendedInfo D-End: ExtendedInfo (null) D-End: Data (COORD: 0013A2004162D437) D-End: Content (XBee.Frames.AtCommandResponseFrameContent) D-End: Content (XBee.Frames.AtCommandResponseFrame) D-End: Payload (XBee.FramePayload) D-Start: Checksum D-End: Checksum (15) D-Start: StartDelimiter D-End: StartDelimiter (FrameDelimiter) D-Start: Length D-End: Length (38) D-Start: Payload D-Start: FrameType D-End: FrameType (AtCommandResponse) D-Start: Content D-Start: FrameId D-End: FrameId (1) D-Start: Content D-Start: AtCommand D-End: AtCommand (ND) D-Start: Status D-End: Status (Success) D-Start: Data D-Start: ShortAddress D-Start: Value D-End: Value (50399) D-End: ShortAddress (C4DF) D-Start: LongAddress D-Start: Value D-End: Value (5526146531121605) D-End: LongAddress (0013A20040F6D9C5) D-Start: ReceivedSignalStrengthIndicator D-End: ReceivedSignalStrengthIndicator (null) D-Start: Name D-End: Name (END_DEVICE) D-Start: ExtendedInfo D-End: ExtendedInfo (null) D-End: Data (END_DEVICE: 0013A20040F6D9C5) D-End: Content (XBee.Frames.AtCommandResponseFrameContent) D-End: Content (XBee.Frames.AtCommandResponseFrame) D-End: Payload (XBee.FramePayload) D-Start: Checksum D-End: Checksum (214) D-Start: StartDelimiter S-Start: StartDelimiter S-End: StartDelimiter (FrameDelimiter) S-Start: Length S-End: Length (4) S-Start: Payload S-Start: FrameType S-End: FrameType (AtCommand) S-Start: Content S-Start: FrameId S-End: FrameId (2) S-Start: Command S-Start: Command S-End: Command (HV) S-Start: Parameter S-End: Parameter (null) S-End: Command (XBee.Frames.AtCommands.HardwareVersionCommand) S-End: Content (XBee.Frames.AtCommandFrameContent) S-End: Payload (XBee.FramePayload) S-Start: Checksum S-End: Checksum (87) D-End: StartDelimiter (FrameDelimiter) D-Start: Length D-End: Length (7) D-Start: Payload D-Start: FrameType D-End: FrameType (AtCommandResponse) D-Start: Content D-Start: FrameId D-End: FrameId (2) D-Start: Content D-Start: AtCommand D-End: AtCommand (HV) D-Start: Status D-End: Status (Success) D-Start: Data D-Start: HardwareVersion D-End: HardwareVersion (45) D-Start: HardwareRevision D-End: HardwareRevision (68) D-End: Data (XBee.Frames.AtCommands.HardwareVersionResponseData) D-End: Content (XBee.Frames.AtCommandResponseFrameContent) D-End: Content (XBee.Frames.AtCommandResponseFrame) D-End: Payload (XBee.FramePayload) D-Start: Checksum D-End: Checksum (102) D-Start: StartDelimiter D-Start: StartDelimiter S-Start: StartDelimiter S-End: StartDelimiter (FrameDelimiter) S-Start: Length S-End: Length (4) S-Start: Payload
Rest of the time are like this: D-Start: StartDelimiter S-Start: StartDelimiter S-End: StartDelimiter (FrameDelimiter) S-Start: Length S-End: Length (4) S-Start: Payload S-Start: FrameType S-End: FrameType (AtCommand) S-Start: Content S-Start: FrameId S-End: FrameId (1) S-Start: Command S-Start: Command S-End: Command (ND) S-Start: Parameter S-End: Parameter (null) S-End: Command (XBee.Frames.AtCommands.NetworkDiscoveryCommand) S-End: Content (XBee.Frames.AtCommandFrameContent) S-End: Payload (XBee.FramePayload) S-Start: Checksum S-End: Checksum (100) D-End: StartDelimiter (FrameDelimiter) D-Start: Length D-End: Length (33) D-Start: Payload D-Start: FrameType D-End: FrameType (AtCommandResponse) D-Start: Content D-Start: FrameId D-End: FrameId (1) D-Start: Content D-Start: AtCommand D-End: AtCommand (ND) D-Start: Status D-End: Status (Success) D-Start: Data D-Start: ShortAddress D-Start: Value D-End: Value (0) D-End: ShortAddress (0000) D-Start: LongAddress D-Start: Value D-End: Value (5526146538198071) D-End: LongAddress (0013A2004162D437) D-Start: ReceivedSignalStrengthIndicator D-End: ReceivedSignalStrengthIndicator (null) D-Start: Name D-End: Name (COORD) D-Start: ExtendedInfo D-End: ExtendedInfo (null) D-End: Data (COORD: 0013A2004162D437) D-End: Content (XBee.Frames.AtCommandResponseFrameContent) D-End: Content (XBee.Frames.AtCommandResponseFrame) D-End: Payload (XBee.FramePayload) D-Start: Checksum D-End: Checksum (15) D-Start: StartDelimiter S-Start: StartDelimiter S-End: StartDelimiter (FrameDelimiter) S-Start: Length S-End: Length (4) S-Start: Payload S-Start: FrameType S-End: FrameType (AtCommand) S-Start: Content S-Start: FrameId S-End: FrameId (2) S-Start: Command S-Start: Command S-End: Command (HV) S-Start: Parameter S-End: Parameter (null) S-End: Command (XBee.Frames.AtCommands.HardwareVersionCommand) S-End: Content (XBee.Frames.AtCommandFrameContent) S-End: Payload (XBee.FramePayload) S-Start: Checksum S-End: Checksum (87) D-End: StartDelimiter (FrameDelimiter) D-Start: Length D-End: Length (7) D-Start: Payload D-Start: FrameType D-End: FrameType (AtCommandResponse) D-Start: Content D-Start: FrameId D-End: FrameId (2) D-Start: Content D-Start: AtCommand D-End: AtCommand (HV) D-Start: Status D-End: Status (Success) D-Start: Data D-Start: HardwareVersion D-End: HardwareVersion (45) D-Start: HardwareRevision D-End: HardwareRevision (68) D-End: Data (XBee.Frames.AtCommands.HardwareVersionResponseData) D-End: Content (XBee.Frames.AtCommandResponseFrameContent) D-End: Content (XBee.Frames.AtCommandResponseFrame) D-End: Payload (XBee.FramePayload) D-Start: Checksum D-End: Checksum (102) D-Start: StartDelimiter D-Start: StartDelimiter
— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/jefffhaynes/XBee/issues/25#issuecomment-305077821, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AJSKR6m0-3nW1iplnmDE9PYAcrm4dLjuks5r_OkEgaJpZM4Np1cP.
I'm using PRO S2C with ZigBee firmware
Weird, for some reason Digi lists that as the XBee Pro S2C DIP. My library doesn't have the DIP version, whatever that means. Does that mean anything to you? Their documentation on some of this is pretty bad.
I can add it as another S2C module. I just want to make sure there aren't differences. I'm assuming DIP is dual inline package but I didn't know that was a thing.
From: xhr0428 notifications@github.com Sent: Wednesday, May 31, 2017 12:35:54 AM To: jefffhaynes/XBee Cc: Jeff Haynes; Comment Subject: Re: [jefffhaynes/XBee] How to find node identifiers of end devices? (#25)
I'm using PRO S2C with ZigBee firmware
— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/jefffhaynes/XBee/issues/25#issuecomment-305080442, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AJSKR7PlWzDQYIrt2dJ9PmGd750tgbENks5r_O4qgaJpZM4Np1cP.
I realized I was probably just missing that enum since I had a second DIP part already defined. I just pushed 4.2.1. Try that and see if it works for you.
From: Jeff Haynes feedyurhed@gmail.com Sent: Wednesday, May 31, 2017 12:50:20 AM To: jefffhaynes/XBee; jefffhaynes/XBee Cc: Comment Subject: Re: [jefffhaynes/XBee] How to find node identifiers of end devices? (#25)
Weird, for some reason Digi lists that as the XBee Pro S2C DIP. My library doesn't have the DIP version, whatever that means. Does that mean anything to you? Their documentation on some of this is pretty bad.
I can add it as another S2C module. I just want to make sure there aren't differences. I'm assuming DIP is dual inline package but I didn't know that was a thing.
From: xhr0428 notifications@github.com Sent: Wednesday, May 31, 2017 12:35:54 AM To: jefffhaynes/XBee Cc: Jeff Haynes; Comment Subject: Re: [jefffhaynes/XBee] How to find node identifiers of end devices? (#25)
I'm using PRO S2C with ZigBee firmware
— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/jefffhaynes/XBee/issues/25#issuecomment-305080442, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AJSKR7PlWzDQYIrt2dJ9PmGd750tgbENks5r_O4qgaJpZM4Np1cP.
Just tried 4.2.1, that 45 not supported error is gone. Another question, it looks like the node discovered handle is never called
_xbee.NodeDiscovered += (sender, args) => { Console.WriteLine("Discovered {0}", args.Name); };
and I'm still seeing
Exception thrown: 'System.TimeoutException' in XBee.dll Exception thrown: 'System.TimeoutException' in mscorlib.dll Exception thrown: 'System.TimeoutException' in mscorlib.dll Exception thrown: 'System.TimeoutException' in mscorlib.dll Exception thrown: 'System.TimeoutException' in mscorlib.dll Exception thrown: 'System.TimeoutException' in XBee.dll Exception thrown: 'System.TimeoutException' in mscorlib.dll Exception thrown: 'System.TimeoutException' in mscorlib.dll Exception thrown: 'System.TimeoutException' in mscorlib.dll Exception thrown: 'System.TimeoutException' in mscorlib.dll Exception thrown: 'System.TimeoutException' in XBee.dll Exception thrown: 'System.TimeoutException' in mscorlib.dll Exception thrown: 'System.TimeoutException' in mscorlib.dll
Ok, sorry about that. I'll try to look at it as soon as possible. It may be that there's something different about that model.
From: xhr0428 notifications@github.com Sent: Wednesday, May 31, 2017 1:34:17 AM To: jefffhaynes/XBee Cc: Jeff Haynes; Comment Subject: Re: [jefffhaynes/XBee] How to find node identifiers of end devices? (#25)
Just tried 4.2.1, that 45 not supported error is gone. Another question, it looks like the node discovered handle is never called
_xbee.NodeDiscovered += (sender, args) => { Console.WriteLine("Discovered {0}", args.Name); };
and I'm still seeing
Exception thrown: 'System.TimeoutException' in XBee.dll Exception thrown: 'System.TimeoutException' in mscorlib.dll Exception thrown: 'System.TimeoutException' in mscorlib.dll Exception thrown: 'System.TimeoutException' in mscorlib.dll Exception thrown: 'System.TimeoutException' in mscorlib.dll Exception thrown: 'System.TimeoutException' in XBee.dll Exception thrown: 'System.TimeoutException' in mscorlib.dll Exception thrown: 'System.TimeoutException' in mscorlib.dll Exception thrown: 'System.TimeoutException' in mscorlib.dll Exception thrown: 'System.TimeoutException' in mscorlib.dll Exception thrown: 'System.TimeoutException' in XBee.dll Exception thrown: 'System.TimeoutException' in mscorlib.dll Exception thrown: 'System.TimeoutException' in mscorlib.dll
— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/jefffhaynes/XBee/issues/25#issuecomment-305088003, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AJSKR8mMJyZB1_Bv9oEMA1SGenXMMJl0ks5r_PvZgaJpZM4Np1cP.
Hi Jeff, I just tried using a regular S2C module as coordinator, there was a new error
Exception thrown: 'System.IO.IOException' in System.dll Exception thrown: 'System.IO.IOException' in BinarySerializer.dll Exception thrown: 'System.IO.IOException' in BinarySerializer.dll Exception thrown: 'System.IO.IOException' in BinarySerializer.dll Exception thrown: 'System.NotSupportedException' in XBee.dll Exception thrown: 'System.NotSupportedException' in mscorlib.dll Exception thrown: 'System.NotSupportedException' in mscorlib.dll An unhandled exception of type 'System.NotSupportedException' occurred in mscorlib.dll Additional information: XBee24S2C not supported.
Can you try the original module with the debug tracing? The problem is I don't have one of those so it's tough to say what's going on...
When the coordinator and router are both TH S2C, there is no error, but there is no guarantee that this function is called,
_xbee.NodeDiscovered += (sender, args) => { Console.WriteLine("Discovered {0}", args.Name); };
When I use the TH Pro S2C module as coordinator, there is also no error but the nodediscovered function is never called.
When I use a regular TH S2C module as coordinator and a SMD S2C module as router, there is "XBee24S2C not supported" error. That's what I see when using the debug tracing: Discovering network... D-Start: StartDelimiter S-Start: StartDelimiter S-End: StartDelimiter (FrameDelimiter) S-Start: Length S-End: Length (4) S-Start: Payload S-Start: FrameType S-End: FrameType (AtCommand) S-Start: Content S-Start: FrameId S-End: FrameId (1) S-Start: Command S-Start: Command S-End: Command (ND) S-Start: Parameter S-End: Parameter (null) S-End: Command (XBee.Frames.AtCommands.NetworkDiscoveryCommand) S-End: Content (XBee.Frames.AtCommandFrameContent) S-End: Payload (XBee.FramePayload) S-Start: Checksum S-End: Checksum (100) D-End: StartDelimiter (FrameDelimiter) D-Start: Length D-End: Length (34) D-Start: Payload D-Start: FrameType D-End: FrameType (AtCommandResponse) D-Start: Content D-Start: FrameId D-End: FrameId (1) D-Start: Content D-Start: AtCommand D-End: AtCommand (ND) D-Start: Status D-End: Status (Success) D-Start: Data D-Start: ShortAddress D-Start: Value D-End: Value (0) D-End: ShortAddress (0000) D-Start: LongAddress D-Start: Value D-End: Value (5526146531078865) D-End: LongAddress (0013A20040F632D1) D-Start: ReceivedSignalStrengthIndicator D-End: ReceivedSignalStrengthIndicator (null) D-Start: Name D-End: Name ( COORD) D-Start: ExtendedInfo D-End: ExtendedInfo (null) D-End: Data ( COORD: 0013A20040F632D1) D-End: Content (XBee.Frames.AtCommandResponseFrameContent) D-End: Content (XBee.Frames.AtCommandResponseFrame) D-End: Payload (XBee.FramePayload) D-Start: Checksum D-End: Checksum (100) D-Start: StartDelimiter S-Start: StartDelimiter S-End: StartDelimiter (FrameDelimiter) S-Start: Length S-End: Length (4) S-Start: Payload S-Start: FrameType S-End: FrameType (AtCommand) S-Start: Content S-Start: FrameId S-End: FrameId (2) S-Start: Command S-Start: Command S-End: Command (HV) S-Start: Parameter S-End: Parameter (null) S-End: Command (XBee.Frames.AtCommands.HardwareVersionCommand) S-End: Content (XBee.Frames.AtCommandFrameContent) S-End: Payload (XBee.FramePayload) S-Start: Checksum S-End: Checksum (87) D-End: StartDelimiter (FrameDelimiter) D-Start: Length D-End: Length (7) D-Start: Payload D-Start: FrameType D-End: FrameType (AtCommandResponse) D-Start: Content D-Start: FrameId D-End: FrameId (2) D-Start: Content D-Start: AtCommand D-End: AtCommand (HV) D-Start: Status D-End: Status (Success) D-Start: Data D-Start: HardwareVersion D-End: HardwareVersion (XBee24C) D-Start: HardwareRevision D-End: HardwareRevision (70) D-End: Data (XBee.Frames.AtCommands.HardwareVersionResponseData) D-End: Content (XBee.Frames.AtCommandResponseFrameContent) D-End: Content (XBee.Frames.AtCommandResponseFrame) D-End: Payload (XBee.FramePayload) D-Start: Checksum D-End: Checksum (99) D-Start: StartDelimiter D-Start: StartDelimiter S-Start: StartDelimiter S-End: StartDelimiter (FrameDelimiter) S-Start: Length S-End: Length (15) S-Start: Payload S-Start: FrameType S-End: FrameType (RemoteAtCommand) S-Start: Content S-Start: FrameId S-End: FrameId (3) S-Start: LongAddress S-Start: Value S-End: Value (5526146531078865) S-End: LongAddress (0013A20040F632D1) S-Start: ShortAddress S-Start: Value S-End: Value (65534) S-End: ShortAddress (FFFE) S-Start: Options S-End: Options (Commit) S-Start: Command S-Start: Command S-End: Command (HV) S-Start: Parameter S-End: Parameter (null) S-End: Command (XBee.Frames.AtCommands.HardwareVersionCommand) S-End: Content (XBee.Frames.RemoteAtCommandFrameContent) S-End: Payload (XBee.FramePayload) S-Start: Checksum S-End: Checksum (90) D-End: StartDelimiter (FrameDelimiter) D-Start: Length D-End: Length (15) D-Start: Payload D-Start: FrameType D-End: FrameType (RemoteAtCommandResponse) D-Start: Content D-Start: FrameId D-End: FrameId (3) D-Start: LongAddress D-Start: Value D-End: Value (5526146531078865) D-End: LongAddress (0013A20040F632D1) D-Start: ShortAddress D-Start: Value D-End: Value (65534) D-End: ShortAddress (FFFE) D-Start: Content D-Start: AtCommand D-End: AtCommand (HV) D-Start: Status D-End: Status (NoResponse) D-Start: Data D-Start: HardwareVersion D-End: Data (null) D-End: Content (XBee.Frames.AtCommandResponseFrameContent) D-End: Content (XBee.Frames.RemoteAtCommandResponseFrame) D-End: Payload (XBee.FramePayload) D-Start: Checksum D-End: Checksum (216) D-Start: StartDelimiter S-Start: StartDelimiter S-End: StartDelimiter (FrameDelimiter) S-Start: Length S-End: Length (15) S-Start: Payload S-Start: FrameType S-End: FrameType (RemoteAtCommand) S-Start: Content S-Start: FrameId S-End: FrameId (4) S-Start: LongAddress S-Start: Value S-End: Value (5526146531078865) S-End: LongAddress (0013A20040F632D1) S-Start: ShortAddress S-Start: Value S-End: Value (65534) S-End: ShortAddress (FFFE) S-Start: Options S-End: Options (Commit) S-Start: Command S-Start: Command S-End: Command (HV) S-Start: Parameter S-End: Parameter (null) S-End: Command (XBee.Frames.AtCommands.HardwareVersionCommand) S-End: Content (XBee.Frames.RemoteAtCommandFrameContent) S-End: Payload (XBee.FramePayload) S-Start: Checksum S-End: Checksum (89) D-End: StartDelimiter (FrameDelimiter) D-Start: Length D-End: Length (15) D-Start: Payload D-Start: FrameType D-End: FrameType (RemoteAtCommandResponse) D-Start: Content D-Start: FrameId D-End: FrameId (4) D-Start: LongAddress D-Start: Value D-End: Value (5526146531078865) D-End: LongAddress (0013A20040F632D1) D-Start: ShortAddress D-Start: Value D-End: Value (65534) D-End: ShortAddress (FFFE) D-Start: Content D-Start: AtCommand D-End: AtCommand (HV) D-Start: Status D-End: Status (NoResponse) D-Start: Data D-Start: HardwareVersion D-End: Data (null) D-End: Content (XBee.Frames.AtCommandResponseFrameContent) D-End: Content (XBee.Frames.RemoteAtCommandResponseFrame) D-End: Payload (XBee.FramePayload) D-Start: Checksum D-End: Checksum (215) D-Start: StartDelimiter S-Start: StartDelimiter S-End: StartDelimiter (FrameDelimiter) S-Start: Length S-End: Length (15) S-Start: Payload S-Start: FrameType S-End: FrameType (RemoteAtCommand) S-Start: Content S-Start: FrameId S-End: FrameId (5) S-Start: LongAddress S-Start: Value S-End: Value (5526146531078865) S-End: LongAddress (0013A20040F632D1) S-Start: ShortAddress S-Start: Value S-End: Value (65534) S-End: ShortAddress (FFFE) S-Start: Options S-End: Options (Commit) S-Start: Command S-Start: Command S-End: Command (HV) S-Start: Parameter S-End: Parameter (null) S-End: Command (XBee.Frames.AtCommands.HardwareVersionCommand) S-End: Content (XBee.Frames.RemoteAtCommandFrameContent) S-End: Payload (XBee.FramePayload) S-Start: Checksum S-End: Checksum (88) D-End: StartDelimiter (FrameDelimiter) D-Start: Length D-End: Length (15) D-Start: Payload D-Start: FrameType D-End: FrameType (RemoteAtCommandResponse) D-Start: Content D-Start: FrameId D-End: FrameId (5) D-Start: LongAddress D-Start: Value D-End: Value (5526146531078865) D-End: LongAddress (0013A20040F632D1) D-Start: ShortAddress D-Start: Value D-End: Value (65534) D-End: ShortAddress (FFFE) D-Start: Content D-Start: AtCommand D-End: AtCommand (HV) D-Start: Status D-End: Status (NoResponse) D-Start: Data D-Start: HardwareVersion D-End: Data (null) D-End: Content (XBee.Frames.AtCommandResponseFrameContent) D-End: Content (XBee.Frames.RemoteAtCommandResponseFrame) D-End: Payload (XBee.FramePayload) D-Start: Checksum D-End: Checksum (214) D-Start: StartDelimiter S-Start: StartDelimiter S-End: StartDelimiter (FrameDelimiter) S-Start: Length S-End: Length (15) S-Start: Payload S-Start: FrameType S-End: FrameType (RemoteAtCommand) S-Start: Content S-Start: FrameId S-End: FrameId (6) S-Start: LongAddress S-Start: Value S-End: Value (5526146531078865) S-End: LongAddress (0013A20040F632D1) S-Start: ShortAddress S-Start: Value S-End: Value (65534) S-End: ShortAddress (FFFE) S-Start: Options S-End: Options (Commit) S-Start: Command S-Start: Command S-End: Command (HV) S-Start: Parameter S-End: Parameter (null) S-End: Command (XBee.Frames.AtCommands.HardwareVersionCommand) S-End: Content (XBee.Frames.RemoteAtCommandFrameContent) S-End: Payload (XBee.FramePayload) S-Start: Checksum S-End: Checksum (87) D-End: StartDelimiter (FrameDelimiter) D-Start: Length D-End: Length (15) D-Start: Payload D-Start: FrameType D-End: FrameType (RemoteAtCommandResponse) D-Start: Content D-Start: FrameId D-End: FrameId (6) D-Start: LongAddress D-Start: Value D-End: Value (5526146531078865) D-End: LongAddress (0013A20040F632D1) D-Start: ShortAddress D-Start: Value D-End: Value (65534) D-End: ShortAddress (FFFE) D-Start: Content D-Start: AtCommand D-End: AtCommand (HV) D-Start: Status D-End: Status (NoResponse) D-Start: Data D-Start: HardwareVersion D-End: Data (null) D-End: Content (XBee.Frames.AtCommandResponseFrameContent) D-End: Content (XBee.Frames.RemoteAtCommandResponseFrame) D-End: Payload (XBee.FramePayload) D-Start: Checksum D-End: Checksum (213) D-Start: StartDelimiter S-Start: StartDelimiter S-End: StartDelimiter (FrameDelimiter) S-Start: Length S-End: Length (15) S-Start: Payload S-Start: FrameType S-End: FrameType (RemoteAtCommand) S-Start: Content S-Start: FrameId S-End: FrameId (7) S-Start: LongAddress S-Start: Value S-End: Value (5526146531078865) S-End: LongAddress (0013A20040F632D1) S-Start: ShortAddress S-Start: Value S-End: Value (65534) S-End: ShortAddress (FFFE) S-Start: Options S-End: Options (Commit) S-Start: Command S-Start: Command S-End: Command (HV) S-Start: Parameter S-End: Parameter (null) S-End: Command (XBee.Frames.AtCommands.HardwareVersionCommand) S-End: Content (XBee.Frames.RemoteAtCommandFrameContent) S-End: Payload (XBee.FramePayload) S-Start: Checksum S-End: Checksum (86) D-End: StartDelimiter (FrameDelimiter) D-Start: Length D-End: Length (15) D-Start: Payload D-Start: FrameType D-End: FrameType (RemoteAtCommandResponse) D-Start: Content D-Start: FrameId D-End: FrameId (7) D-Start: LongAddress D-Start: Value D-End: Value (5526146531078865) D-End: LongAddress (0013A20040F632D1) D-Start: ShortAddress D-Start: Value D-End: Value (65534) D-End: ShortAddress (FFFE) D-Start: Content D-Start: AtCommand D-End: AtCommand (HV) D-Start: Status D-End: Status (NoResponse) D-Start: Data D-Start: HardwareVersion D-End: Data (null) D-End: Content (XBee.Frames.AtCommandResponseFrameContent) D-End: Content (XBee.Frames.RemoteAtCommandResponseFrame) D-End: Payload (XBee.FramePayload) D-Start: Checksum D-End: Checksum (212) D-Start: StartDelimiter D-End: StartDelimiter (FrameDelimiter) D-Start: Length D-End: Length (38) D-Start: Payload D-Start: FrameType D-End: FrameType (AtCommandResponse) D-Start: Content D-Start: FrameId D-End: FrameId (1) D-Start: Content D-Start: AtCommand D-End: AtCommand (ND) D-Start: Status D-End: Status (Success) D-Start: Data D-Start: ShortAddress D-Start: Value D-End: Value (2302) D-End: ShortAddress (08FE) D-Start: LongAddress D-Start: Value D-End: Value (5526146531121605) D-End: LongAddress (0013A20040F6D9C5) D-Start: ReceivedSignalStrengthIndicator D-End: ReceivedSignalStrengthIndicator (null) D-Start: Name D-End: Name (END_DEVICE) D-Start: ExtendedInfo D-End: ExtendedInfo (null) D-End: Data (END_DEVICE: 0013A20040F6D9C5) D-End: Content (XBee.Frames.AtCommandResponseFrameContent) D-End: Content (XBee.Frames.AtCommandResponseFrame) D-End: Payload (XBee.FramePayload) D-Start: Checksum D-End: Checksum (115) D-Start: StartDelimiter S-Start: StartDelimiter S-End: StartDelimiter (FrameDelimiter) S-Start: Length S-End: Length (15) S-Start: Payload S-Start: FrameType S-End: FrameType (RemoteAtCommand) S-Start: Content S-Start: FrameId S-End: FrameId (8) S-Start: LongAddress S-Start: Value S-End: Value (5526146531078865) S-End: LongAddress (0013A20040F632D1) S-Start: ShortAddress S-Start: Value S-End: Value (65534) S-End: ShortAddress (FFFE) S-Start: Options S-End: Options (Commit) S-Start: Command S-Start: Command S-End: Command (HV) S-Start: Parameter S-End: Parameter (null) S-End: Command (XBee.Frames.AtCommands.HardwareVersionCommand) S-End: Content (XBee.Frames.RemoteAtCommandFrameContent) S-End: Payload (XBee.FramePayload) S-Start: Checksum S-End: Checksum (85) D-End: StartDelimiter (FrameDelimiter) D-Start: Length D-End: Length (15) D-Start: Payload D-Start: FrameType D-End: FrameType (RemoteAtCommandResponse) D-Start: Content D-Start: FrameId D-End: FrameId (8) D-Start: LongAddress D-Start: Value D-End: Value (5526146531078865) D-End: LongAddress (0013A20040F632D1) D-Start: ShortAddress D-Start: Value D-End: Value (65534) D-End: ShortAddress (FFFE) D-Start: Content D-Start: AtCommand D-End: AtCommand (HV) D-Start: Status D-End: Status (NoResponse) D-Start: Data D-Start: HardwareVersion D-End: Data (null) D-End: Content (XBee.Frames.AtCommandResponseFrameContent) D-End: Content (XBee.Frames.RemoteAtCommandResponseFrame) D-End: Payload (XBee.FramePayload) D-Start: Checksum D-End: Checksum (211) D-Start: StartDelimiter S-Start: StartDelimiter S-End: StartDelimiter (FrameDelimiter) S-Start: Length S-End: Length (15) S-Start: Payload S-Start: FrameType S-End: FrameType (RemoteAtCommand) S-Start: Content S-Start: FrameId S-End: FrameId (9) S-Start: LongAddress S-Start: Value S-End: Value (5526146531078865) S-End: LongAddress (0013A20040F632D1) S-Start: ShortAddress S-Start: Value S-End: Value (65534) S-End: ShortAddress (FFFE) S-Start: Options S-End: Options (Commit) S-Start: Command S-Start: Command S-End: Command (HV) S-Start: Parameter S-End: Parameter (null) S-End: Command (XBee.Frames.AtCommands.HardwareVersionCommand) S-End: Content (XBee.Frames.RemoteAtCommandFrameContent) S-End: Payload (XBee.FramePayload) S-Start: Checksum S-End: Checksum (84) D-End: StartDelimiter (FrameDelimiter) D-Start: Length D-End: Length (15) D-Start: Payload D-Start: FrameType D-End: FrameType (RemoteAtCommandResponse) D-Start: Content D-Start: FrameId D-End: FrameId (9) D-Start: LongAddress D-Start: Value D-End: Value (5526146531078865) D-End: LongAddress (0013A20040F632D1) D-Start: ShortAddress D-Start: Value D-End: Value (65534) D-End: ShortAddress (FFFE) D-Start: Content D-Start: AtCommand D-End: AtCommand (HV) D-Start: Status D-End: Status (NoResponse) D-Start: Data D-Start: HardwareVersion D-End: Data (null) D-End: Content (XBee.Frames.AtCommandResponseFrameContent) D-End: Content (XBee.Frames.RemoteAtCommandResponseFrame) D-End: Payload (XBee.FramePayload) D-Start: Checksum D-End: Checksum (210) D-Start: StartDelimiter S-Start: StartDelimiter S-End: StartDelimiter (FrameDelimiter) S-Start: Length S-End: Length (15) S-Start: Payload S-Start: FrameType S-End: FrameType (RemoteAtCommand) S-Start: Content S-Start: FrameId S-End: FrameId (10) S-Start: LongAddress S-Start: Value S-End: Value (5526146531121605) S-End: LongAddress (0013A20040F6D9C5) S-Start: ShortAddress S-Start: Value S-End: Value (65534) S-End: ShortAddress (FFFE) S-Start: Options S-End: Options (Commit) S-Start: Command S-Start: Command S-End: Command (HV) S-Start: Parameter S-End: Parameter (null) S-End: Command (XBee.Frames.AtCommands.HardwareVersionCommand) S-End: Content (XBee.Frames.RemoteAtCommandFrameContent) S-End: Payload (XBee.FramePayload) S-Start: Checksum S-End: Checksum (184) S-Start: StartDelimiter S-End: StartDelimiter (FrameDelimiter) S-Start: Length S-End: Length (15) S-Start: Payload S-Start: FrameType S-End: FrameType (RemoteAtCommand) S-Start: Content S-Start: FrameId S-End: FrameId (11) S-Start: LongAddress S-Start: Value S-End: Value (5526146531078865) S-End: LongAddress (0013A20040F632D1) S-Start: ShortAddress S-Start: Value S-End: Value (65534) S-End: ShortAddress (FFFE) S-Start: Options S-End: Options (Commit) S-Start: Command S-Start: Command S-End: Command (HV) S-Start: Parameter S-End: Parameter (null) S-End: Command (XBee.Frames.AtCommands.HardwareVersionCommand) S-End: Content (XBee.Frames.RemoteAtCommandFrameContent) S-End: Payload (XBee.FramePayload) S-Start: Checksum S-End: Checksum (82) D-End: StartDelimiter (FrameDelimiter) D-Start: Length D-End: Length (17) D-Start: Payload D-Start: FrameType D-End: FrameType (RemoteAtCommandResponse) D-Start: Content D-Start: FrameId D-End: FrameId (10) D-Start: LongAddress D-Start: Value D-End: Value (5526146531121605) D-End: LongAddress (0013A20040F6D9C5) D-Start: ShortAddress D-Start: Value D-End: Value (2302) D-End: ShortAddress (08FE) D-Start: Content D-Start: AtCommand D-End: AtCommand (HV) D-Start: Status D-End: Status (Success) D-Start: Data D-Start: HardwareVersion D-End: HardwareVersion (XBee24S2C) D-Start: HardwareRevision D-End: HardwareRevision (77) D-End: Data (XBee.Frames.AtCommands.HardwareVersionResponseData) D-End: Content (XBee.Frames.AtCommandResponseFrameContent) D-End: Content (XBee.Frames.RemoteAtCommandResponseFrame) D-End: Payload (XBee.FramePayload) D-Start: Checksum D-End: Checksum (194) D-Start: StartDelimiter D-End: StartDelimiter (FrameDelimiter) D-Start: Length D-End: Length (15) D-Start: Payload D-Start: FrameType
Exception thrown: 'System.IO.IOException' in System.dll Exception thrown: 'System.IO.IOException' in BinarySerializer.dll Exception thrown: 'System.IO.IOException' in BinarySerializer.dll Exception thrown: 'System.IO.IOException' in BinarySerializer.dll Exception thrown: 'System.IO.EndOfStreamException' in mscorlib.dll Exception thrown: 'System.IO.EndOfStreamException' in BinarySerializer.dll Exception thrown: 'XBee.Frames.AtCommandException' in XBee.dll Exception thrown: 'XBee.Frames.AtCommandException' in mscorlib.dll Exception thrown: 'XBee.Frames.AtCommandException' in mscorlib.dll Exception thrown: 'XBee.Frames.AtCommandException' in mscorlib.dll Exception thrown: 'System.IO.EndOfStreamException' in mscorlib.dll Exception thrown: 'System.IO.EndOfStreamException' in BinarySerializer.dll Exception thrown: 'XBee.Frames.AtCommandException' in XBee.dll Exception thrown: 'XBee.Frames.AtCommandException' in mscorlib.dll Exception thrown: 'XBee.Frames.AtCommandException' in mscorlib.dll Exception thrown: 'XBee.Frames.AtCommandException' in mscorlib.dll Exception thrown: 'System.IO.EndOfStreamException' in mscorlib.dll Exception thrown: 'System.IO.EndOfStreamException' in BinarySerializer.dll Exception thrown: 'XBee.Frames.AtCommandException' in XBee.dll Exception thrown: 'XBee.Frames.AtCommandException' in mscorlib.dll Exception thrown: 'XBee.Frames.AtCommandException' in mscorlib.dll Exception thrown: 'XBee.Frames.AtCommandException' in mscorlib.dll Exception thrown: 'System.IO.EndOfStreamException' in mscorlib.dll Exception thrown: 'System.IO.EndOfStreamException' in BinarySerializer.dll Exception thrown: 'XBee.Frames.AtCommandException' in XBee.dll Exception thrown: 'XBee.Frames.AtCommandException' in mscorlib.dll Exception thrown: 'XBee.Frames.AtCommandException' in mscorlib.dll Exception thrown: 'XBee.Frames.AtCommandException' in mscorlib.dll Exception thrown: 'System.IO.EndOfStreamException' in mscorlib.dll Exception thrown: 'System.IO.EndOfStreamException' in BinarySerializer.dll Exception thrown: 'XBee.Frames.AtCommandException' in XBee.dll Exception thrown: 'XBee.Frames.AtCommandException' in mscorlib.dll Exception thrown: 'XBee.Frames.AtCommandException' in mscorlib.dll Exception thrown: 'XBee.Frames.AtCommandException' in mscorlib.dll Exception thrown: 'System.IO.EndOfStreamException' in mscorlib.dll Exception thrown: 'System.IO.EndOfStreamException' in BinarySerializer.dll Exception thrown: 'XBee.Frames.AtCommandException' in XBee.dll Exception thrown: 'XBee.Frames.AtCommandException' in mscorlib.dll Exception thrown: 'XBee.Frames.AtCommandException' in mscorlib.dll Exception thrown: 'XBee.Frames.AtCommandException' in mscorlib.dll Exception thrown: 'System.IO.EndOfStreamException' in mscorlib.dll Exception thrown: 'System.IO.EndOfStreamException' in BinarySerializer.dll Exception thrown: 'XBee.Frames.AtCommandException' in XBee.dll Exception thrown: 'XBee.Frames.AtCommandException' in mscorlib.dll Exception thrown: 'XBee.Frames.AtCommandException' in mscorlib.dll Exception thrown: 'XBee.Frames.AtCommandException' in mscorlib.dll Exception thrown: 'System.NotSupportedException' in XBee.dll Exception thrown: 'System.NotSupportedException' in mscorlib.dll Exception thrown: 'System.NotSupportedException' in mscorlib.dll An unhandled exception of type 'System.NotSupportedException' occurred in mscorlib.dll Additional information: XBee24S2C not supported.
Ok I'll take a look. I also ordered the part so I should be able to figure it out when it shows up.
From: xhr0428 notifications@github.com Sent: Sunday, June 4, 2017 4:35:39 PM To: jefffhaynes/XBee Cc: Jeff Haynes; Comment Subject: Re: [jefffhaynes/XBee] How to find node identifiers of end devices? (#25)
That's what I see when using a regular TH S2C module as coordinator and a SMD S2C module as router Discovering network... D-Start: StartDelimiter S-Start: StartDelimiter S-End: StartDelimiter (FrameDelimiter) S-Start: Length S-End: Length (4) S-Start: Payload S-Start: FrameType S-End: FrameType (AtCommand) S-Start: Content S-Start: FrameId S-End: FrameId (1) S-Start: Command S-Start: Command S-End: Command (ND) S-Start: Parameter S-End: Parameter (null) S-End: Command (XBee.Frames.AtCommands.NetworkDiscoveryCommand) S-End: Content (XBee.Frames.AtCommandFrameContent) S-End: Payload (XBee.FramePayload) S-Start: Checksum S-End: Checksum (100) D-End: StartDelimiter (FrameDelimiter) D-Start: Length D-End: Length (34) D-Start: Payload D-Start: FrameType D-End: FrameType (AtCommandResponse) D-Start: Content D-Start: FrameId D-End: FrameId (1) D-Start: Content D-Start: AtCommand D-End: AtCommand (ND) D-Start: Status D-End: Status (Success) D-Start: Data D-Start: ShortAddress D-Start: Value D-End: Value (0) D-End: ShortAddress (0000) D-Start: LongAddress D-Start: Value D-End: Value (5526146531078865) D-End: LongAddress (0013A20040F632D1) D-Start: ReceivedSignalStrengthIndicator D-End: ReceivedSignalStrengthIndicator (null) D-Start: Name D-End: Name ( COORD) D-Start: ExtendedInfo D-End: ExtendedInfo (null) D-End: Data ( COORD: 0013A20040F632D1) D-End: Content (XBee.Frames.AtCommandResponseFrameContent) D-End: Content (XBee.Frames.AtCommandResponseFrame) D-End: Payload (XBee.FramePayload) D-Start: Checksum D-End: Checksum (100) D-Start: StartDelimiter S-Start: StartDelimiter S-End: StartDelimiter (FrameDelimiter) S-Start: Length S-End: Length (4) S-Start: Payload S-Start: FrameType S-End: FrameType (AtCommand) S-Start: Content S-Start: FrameId S-End: FrameId (2) S-Start: Command S-Start: Command S-End: Command (HV) S-Start: Parameter S-End: Parameter (null) S-End: Command (XBee.Frames.AtCommands.HardwareVersionCommand) S-End: Content (XBee.Frames.AtCommandFrameContent) S-End: Payload (XBee.FramePayload) S-Start: Checksum S-End: Checksum (87) D-End: StartDelimiter (FrameDelimiter) D-Start: Length D-End: Length (7) D-Start: Payload D-Start: FrameType D-End: FrameType (AtCommandResponse) D-Start: Content D-Start: FrameId D-End: FrameId (2) D-Start: Content D-Start: AtCommand D-End: AtCommand (HV) D-Start: Status D-End: Status (Success) D-Start: Data D-Start: HardwareVersion D-End: HardwareVersion (XBee24C) D-Start: HardwareRevision D-End: HardwareRevision (70) D-End: Data (XBee.Frames.AtCommands.HardwareVersionResponseData) D-End: Content (XBee.Frames.AtCommandResponseFrameContent) D-End: Content (XBee.Frames.AtCommandResponseFrame) D-End: Payload (XBee.FramePayload) D-Start: Checksum D-End: Checksum (99) D-Start: StartDelimiter D-Start: StartDelimiter S-Start: StartDelimiter S-End: StartDelimiter (FrameDelimiter) S-Start: Length S-End: Length (15) S-Start: Payload S-Start: FrameType S-End: FrameType (RemoteAtCommand) S-Start: Content S-Start: FrameId S-End: FrameId (3) S-Start: LongAddress S-Start: Value S-End: Value (5526146531078865) S-End: LongAddress (0013A20040F632D1) S-Start: ShortAddress S-Start: Value S-End: Value (65534) S-End: ShortAddress (FFFE) S-Start: Options S-End: Options (Commit) S-Start: Command S-Start: Command S-End: Command (HV) S-Start: Parameter S-End: Parameter (null) S-End: Command (XBee.Frames.AtCommands.HardwareVersionCommand) S-End: Content (XBee.Frames.RemoteAtCommandFrameContent) S-End: Payload (XBee.FramePayload) S-Start: Checksum S-End: Checksum (90) D-End: StartDelimiter (FrameDelimiter) D-Start: Length D-End: Length (15) D-Start: Payload D-Start: FrameType D-End: FrameType (RemoteAtCommandResponse) D-Start: Content D-Start: FrameId D-End: FrameId (3) D-Start: LongAddress D-Start: Value D-End: Value (5526146531078865) D-End: LongAddress (0013A20040F632D1) D-Start: ShortAddress D-Start: Value D-End: Value (65534) D-End: ShortAddress (FFFE) D-Start: Content D-Start: AtCommand D-End: AtCommand (HV) D-Start: Status D-End: Status (NoResponse) D-Start: Data D-Start: HardwareVersion D-End: Data (null) D-End: Content (XBee.Frames.AtCommandResponseFrameContent) D-End: Content (XBee.Frames.RemoteAtCommandResponseFrame) D-End: Payload (XBee.FramePayload) D-Start: Checksum D-End: Checksum (216) D-Start: StartDelimiter S-Start: StartDelimiter S-End: StartDelimiter (FrameDelimiter) S-Start: Length S-End: Length (15) S-Start: Payload S-Start: FrameType S-End: FrameType (RemoteAtCommand) S-Start: Content S-Start: FrameId S-End: FrameId (4) S-Start: LongAddress S-Start: Value S-End: Value (5526146531078865) S-End: LongAddress (0013A20040F632D1) S-Start: ShortAddress S-Start: Value S-End: Value (65534) S-End: ShortAddress (FFFE) S-Start: Options S-End: Options (Commit) S-Start: Command S-Start: Command S-End: Command (HV) S-Start: Parameter S-End: Parameter (null) S-End: Command (XBee.Frames.AtCommands.HardwareVersionCommand) S-End: Content (XBee.Frames.RemoteAtCommandFrameContent) S-End: Payload (XBee.FramePayload) S-Start: Checksum S-End: Checksum (89) D-End: StartDelimiter (FrameDelimiter) D-Start: Length D-End: Length (15) D-Start: Payload D-Start: FrameType D-End: FrameType (RemoteAtCommandResponse) D-Start: Content D-Start: FrameId D-End: FrameId (4) D-Start: LongAddress D-Start: Value D-End: Value (5526146531078865) D-End: LongAddress (0013A20040F632D1) D-Start: ShortAddress D-Start: Value D-End: Value (65534) D-End: ShortAddress (FFFE) D-Start: Content D-Start: AtCommand D-End: AtCommand (HV) D-Start: Status D-End: Status (NoResponse) D-Start: Data D-Start: HardwareVersion D-End: Data (null) D-End: Content (XBee.Frames.AtCommandResponseFrameContent) D-End: Content (XBee.Frames.RemoteAtCommandResponseFrame) D-End: Payload (XBee.FramePayload) D-Start: Checksum D-End: Checksum (215) D-Start: StartDelimiter S-Start: StartDelimiter S-End: StartDelimiter (FrameDelimiter) S-Start: Length S-End: Length (15) S-Start: Payload S-Start: FrameType S-End: FrameType (RemoteAtCommand) S-Start: Content S-Start: FrameId S-End: FrameId (5) S-Start: LongAddress S-Start: Value S-End: Value (5526146531078865) S-End: LongAddress (0013A20040F632D1) S-Start: ShortAddress S-Start: Value S-End: Value (65534) S-End: ShortAddress (FFFE) S-Start: Options S-End: Options (Commit) S-Start: Command S-Start: Command S-End: Command (HV) S-Start: Parameter S-End: Parameter (null) S-End: Command (XBee.Frames.AtCommands.HardwareVersionCommand) S-End: Content (XBee.Frames.RemoteAtCommandFrameContent) S-End: Payload (XBee.FramePayload) S-Start: Checksum S-End: Checksum (88) D-End: StartDelimiter (FrameDelimiter) D-Start: Length D-End: Length (15) D-Start: Payload D-Start: FrameType D-End: FrameType (RemoteAtCommandResponse) D-Start: Content D-Start: FrameId D-End: FrameId (5) D-Start: LongAddress D-Start: Value D-End: Value (5526146531078865) D-End: LongAddress (0013A20040F632D1) D-Start: ShortAddress D-Start: Value D-End: Value (65534) D-End: ShortAddress (FFFE) D-Start: Content D-Start: AtCommand D-End: AtCommand (HV) D-Start: Status D-End: Status (NoResponse) D-Start: Data D-Start: HardwareVersion D-End: Data (null) D-End: Content (XBee.Frames.AtCommandResponseFrameContent) D-End: Content (XBee.Frames.RemoteAtCommandResponseFrame) D-End: Payload (XBee.FramePayload) D-Start: Checksum D-End: Checksum (214) D-Start: StartDelimiter S-Start: StartDelimiter S-End: StartDelimiter (FrameDelimiter) S-Start: Length S-End: Length (15) S-Start: Payload S-Start: FrameType S-End: FrameType (RemoteAtCommand) S-Start: Content S-Start: FrameId S-End: FrameId (6) S-Start: LongAddress S-Start: Value S-End: Value (5526146531078865) S-End: LongAddress (0013A20040F632D1) S-Start: ShortAddress S-Start: Value S-End: Value (65534) S-End: ShortAddress (FFFE) S-Start: Options S-End: Options (Commit) S-Start: Command S-Start: Command S-End: Command (HV) S-Start: Parameter S-End: Parameter (null) S-End: Command (XBee.Frames.AtCommands.HardwareVersionCommand) S-End: Content (XBee.Frames.RemoteAtCommandFrameContent) S-End: Payload (XBee.FramePayload) S-Start: Checksum S-End: Checksum (87) D-End: StartDelimiter (FrameDelimiter) D-Start: Length D-End: Length (15) D-Start: Payload D-Start: FrameType D-End: FrameType (RemoteAtCommandResponse) D-Start: Content D-Start: FrameId D-End: FrameId (6) D-Start: LongAddress D-Start: Value D-End: Value (5526146531078865) D-End: LongAddress (0013A20040F632D1) D-Start: ShortAddress D-Start: Value D-End: Value (65534) D-End: ShortAddress (FFFE) D-Start: Content D-Start: AtCommand D-End: AtCommand (HV) D-Start: Status D-End: Status (NoResponse) D-Start: Data D-Start: HardwareVersion D-End: Data (null) D-End: Content (XBee.Frames.AtCommandResponseFrameContent) D-End: Content (XBee.Frames.RemoteAtCommandResponseFrame) D-End: Payload (XBee.FramePayload) D-Start: Checksum D-End: Checksum (213) D-Start: StartDelimiter S-Start: StartDelimiter S-End: StartDelimiter (FrameDelimiter) S-Start: Length S-End: Length (15) S-Start: Payload S-Start: FrameType S-End: FrameType (RemoteAtCommand) S-Start: Content S-Start: FrameId S-End: FrameId (7) S-Start: LongAddress S-Start: Value S-End: Value (5526146531078865) S-End: LongAddress (0013A20040F632D1) S-Start: ShortAddress S-Start: Value S-End: Value (65534) S-End: ShortAddress (FFFE) S-Start: Options S-End: Options (Commit) S-Start: Command S-Start: Command S-End: Command (HV) S-Start: Parameter S-End: Parameter (null) S-End: Command (XBee.Frames.AtCommands.HardwareVersionCommand) S-End: Content (XBee.Frames.RemoteAtCommandFrameContent) S-End: Payload (XBee.FramePayload) S-Start: Checksum S-End: Checksum (86) D-End: StartDelimiter (FrameDelimiter) D-Start: Length D-End: Length (15) D-Start: Payload D-Start: FrameType D-End: FrameType (RemoteAtCommandResponse) D-Start: Content D-Start: FrameId D-End: FrameId (7) D-Start: LongAddress D-Start: Value D-End: Value (5526146531078865) D-End: LongAddress (0013A20040F632D1) D-Start: ShortAddress D-Start: Value D-End: Value (65534) D-End: ShortAddress (FFFE) D-Start: Content D-Start: AtCommand D-End: AtCommand (HV) D-Start: Status D-End: Status (NoResponse) D-Start: Data D-Start: HardwareVersion D-End: Data (null) D-End: Content (XBee.Frames.AtCommandResponseFrameContent) D-End: Content (XBee.Frames.RemoteAtCommandResponseFrame) D-End: Payload (XBee.FramePayload) D-Start: Checksum D-End: Checksum (212) D-Start: StartDelimiter D-End: StartDelimiter (FrameDelimiter) D-Start: Length D-End: Length (38) D-Start: Payload D-Start: FrameType D-End: FrameType (AtCommandResponse) D-Start: Content D-Start: FrameId D-End: FrameId (1) D-Start: Content D-Start: AtCommand D-End: AtCommand (ND) D-Start: Status D-End: Status (Success) D-Start: Data D-Start: ShortAddress D-Start: Value D-End: Value (2302) D-End: ShortAddress (08FE) D-Start: LongAddress D-Start: Value D-End: Value (5526146531121605) D-End: LongAddress (0013A20040F6D9C5) D-Start: ReceivedSignalStrengthIndicator D-End: ReceivedSignalStrengthIndicator (null) D-Start: Name D-End: Name (END_DEVICE) D-Start: ExtendedInfo D-End: ExtendedInfo (null) D-End: Data (END_DEVICE: 0013A20040F6D9C5) D-End: Content (XBee.Frames.AtCommandResponseFrameContent) D-End: Content (XBee.Frames.AtCommandResponseFrame) D-End: Payload (XBee.FramePayload) D-Start: Checksum D-End: Checksum (115) D-Start: StartDelimiter S-Start: StartDelimiter S-End: StartDelimiter (FrameDelimiter) S-Start: Length S-End: Length (15) S-Start: Payload S-Start: FrameType S-End: FrameType (RemoteAtCommand) S-Start: Content S-Start: FrameId S-End: FrameId (8) S-Start: LongAddress S-Start: Value S-End: Value (5526146531078865) S-End: LongAddress (0013A20040F632D1) S-Start: ShortAddress S-Start: Value S-End: Value (65534) S-End: ShortAddress (FFFE) S-Start: Options S-End: Options (Commit) S-Start: Command S-Start: Command S-End: Command (HV) S-Start: Parameter S-End: Parameter (null) S-End: Command (XBee.Frames.AtCommands.HardwareVersionCommand) S-End: Content (XBee.Frames.RemoteAtCommandFrameContent) S-End: Payload (XBee.FramePayload) S-Start: Checksum S-End: Checksum (85) D-End: StartDelimiter (FrameDelimiter) D-Start: Length D-End: Length (15) D-Start: Payload D-Start: FrameType D-End: FrameType (RemoteAtCommandResponse) D-Start: Content D-Start: FrameId D-End: FrameId (8) D-Start: LongAddress D-Start: Value D-End: Value (5526146531078865) D-End: LongAddress (0013A20040F632D1) D-Start: ShortAddress D-Start: Value D-End: Value (65534) D-End: ShortAddress (FFFE) D-Start: Content D-Start: AtCommand D-End: AtCommand (HV) D-Start: Status D-End: Status (NoResponse) D-Start: Data D-Start: HardwareVersion D-End: Data (null) D-End: Content (XBee.Frames.AtCommandResponseFrameContent) D-End: Content (XBee.Frames.RemoteAtCommandResponseFrame) D-End: Payload (XBee.FramePayload) D-Start: Checksum D-End: Checksum (211) D-Start: StartDelimiter S-Start: StartDelimiter S-End: StartDelimiter (FrameDelimiter) S-Start: Length S-End: Length (15) S-Start: Payload S-Start: FrameType S-End: FrameType (RemoteAtCommand) S-Start: Content S-Start: FrameId S-End: FrameId (9) S-Start: LongAddress S-Start: Value S-End: Value (5526146531078865) S-End: LongAddress (0013A20040F632D1) S-Start: ShortAddress S-Start: Value S-End: Value (65534) S-End: ShortAddress (FFFE) S-Start: Options S-End: Options (Commit) S-Start: Command S-Start: Command S-End: Command (HV) S-Start: Parameter S-End: Parameter (null) S-End: Command (XBee.Frames.AtCommands.HardwareVersionCommand) S-End: Content (XBee.Frames.RemoteAtCommandFrameContent) S-End: Payload (XBee.FramePayload) S-Start: Checksum S-End: Checksum (84) D-End: StartDelimiter (FrameDelimiter) D-Start: Length D-End: Length (15) D-Start: Payload D-Start: FrameType D-End: FrameType (RemoteAtCommandResponse) D-Start: Content D-Start: FrameId D-End: FrameId (9) D-Start: LongAddress D-Start: Value D-End: Value (5526146531078865) D-End: LongAddress (0013A20040F632D1) D-Start: ShortAddress D-Start: Value D-End: Value (65534) D-End: ShortAddress (FFFE) D-Start: Content D-Start: AtCommand D-End: AtCommand (HV) D-Start: Status D-End: Status (NoResponse) D-Start: Data D-Start: HardwareVersion D-End: Data (null) D-End: Content (XBee.Frames.AtCommandResponseFrameContent) D-End: Content (XBee.Frames.RemoteAtCommandResponseFrame) D-End: Payload (XBee.FramePayload) D-Start: Checksum D-End: Checksum (210) D-Start: StartDelimiter S-Start: StartDelimiter S-End: StartDelimiter (FrameDelimiter) S-Start: Length S-End: Length (15) S-Start: Payload S-Start: FrameType S-End: FrameType (RemoteAtCommand) S-Start: Content S-Start: FrameId S-End: FrameId (10) S-Start: LongAddress S-Start: Value S-End: Value (5526146531121605) S-End: LongAddress (0013A20040F6D9C5) S-Start: ShortAddress S-Start: Value S-End: Value (65534) S-End: ShortAddress (FFFE) S-Start: Options S-End: Options (Commit) S-Start: Command S-Start: Command S-End: Command (HV) S-Start: Parameter S-End: Parameter (null) S-End: Command (XBee.Frames.AtCommands.HardwareVersionCommand) S-End: Content (XBee.Frames.RemoteAtCommandFrameContent) S-End: Payload (XBee.FramePayload) S-Start: Checksum S-End: Checksum (184) S-Start: StartDelimiter S-End: StartDelimiter (FrameDelimiter) S-Start: Length S-End: Length (15) S-Start: Payload S-Start: FrameType S-End: FrameType (RemoteAtCommand) S-Start: Content S-Start: FrameId S-End: FrameId (11) S-Start: LongAddress S-Start: Value S-End: Value (5526146531078865) S-End: LongAddress (0013A20040F632D1) S-Start: ShortAddress S-Start: Value S-End: Value (65534) S-End: ShortAddress (FFFE) S-Start: Options S-End: Options (Commit) S-Start: Command S-Start: Command S-End: Command (HV) S-Start: Parameter S-End: Parameter (null) S-End: Command (XBee.Frames.AtCommands.HardwareVersionCommand) S-End: Content (XBee.Frames.RemoteAtCommandFrameContent) S-End: Payload (XBee.FramePayload) S-Start: Checksum S-End: Checksum (82) D-End: StartDelimiter (FrameDelimiter) D-Start: Length D-End: Length (17) D-Start: Payload D-Start: FrameType D-End: FrameType (RemoteAtCommandResponse) D-Start: Content D-Start: FrameId D-End: FrameId (10) D-Start: LongAddress D-Start: Value D-End: Value (5526146531121605) D-End: LongAddress (0013A20040F6D9C5) D-Start: ShortAddress D-Start: Value D-End: Value (2302) D-End: ShortAddress (08FE) D-Start: Content D-Start: AtCommand D-End: AtCommand (HV) D-Start: Status D-End: Status (Success) D-Start: Data D-Start: HardwareVersion D-End: HardwareVersion (XBee24S2C) D-Start: HardwareRevision D-End: HardwareRevision (77) D-End: Data (XBee.Frames.AtCommands.HardwareVersionResponseData) D-End: Content (XBee.Frames.AtCommandResponseFrameContent) D-End: Content (XBee.Frames.RemoteAtCommandResponseFrame) D-End: Payload (XBee.FramePayload) D-Start: Checksum D-End: Checksum (194) D-Start: StartDelimiter D-End: StartDelimiter (FrameDelimiter) D-Start: Length D-End: Length (15) D-Start: Payload D-Start: FrameType
Exception thrown: 'System.IO.IOException' in System.dll Exception thrown: 'System.IO.IOException' in BinarySerializer.dll Exception thrown: 'System.IO.IOException' in BinarySerializer.dll Exception thrown: 'System.IO.IOException' in BinarySerializer.dll Exception thrown: 'System.IO.EndOfStreamException' in mscorlib.dll Exception thrown: 'System.IO.EndOfStreamException' in BinarySerializer.dll Exception thrown: 'XBee.Frames.AtCommandException' in XBee.dll Exception thrown: 'XBee.Frames.AtCommandException' in mscorlib.dll Exception thrown: 'XBee.Frames.AtCommandException' in mscorlib.dll Exception thrown: 'XBee.Frames.AtCommandException' in mscorlib.dll Exception thrown: 'System.IO.EndOfStreamException' in mscorlib.dll Exception thrown: 'System.IO.EndOfStreamException' in BinarySerializer.dll Exception thrown: 'XBee.Frames.AtCommandException' in XBee.dll Exception thrown: 'XBee.Frames.AtCommandException' in mscorlib.dll Exception thrown: 'XBee.Frames.AtCommandException' in mscorlib.dll Exception thrown: 'XBee.Frames.AtCommandException' in mscorlib.dll Exception thrown: 'System.IO.EndOfStreamException' in mscorlib.dll Exception thrown: 'System.IO.EndOfStreamException' in BinarySerializer.dll Exception thrown: 'XBee.Frames.AtCommandException' in XBee.dll Exception thrown: 'XBee.Frames.AtCommandException' in mscorlib.dll Exception thrown: 'XBee.Frames.AtCommandException' in mscorlib.dll Exception thrown: 'XBee.Frames.AtCommandException' in mscorlib.dll Exception thrown: 'System.IO.EndOfStreamException' in mscorlib.dll Exception thrown: 'System.IO.EndOfStreamException' in BinarySerializer.dll Exception thrown: 'XBee.Frames.AtCommandException' in XBee.dll Exception thrown: 'XBee.Frames.AtCommandException' in mscorlib.dll Exception thrown: 'XBee.Frames.AtCommandException' in mscorlib.dll Exception thrown: 'XBee.Frames.AtCommandException' in mscorlib.dll Exception thrown: 'System.IO.EndOfStreamException' in mscorlib.dll Exception thrown: 'System.IO.EndOfStreamException' in BinarySerializer.dll Exception thrown: 'XBee.Frames.AtCommandException' in XBee.dll Exception thrown: 'XBee.Frames.AtCommandException' in mscorlib.dll Exception thrown: 'XBee.Frames.AtCommandException' in mscorlib.dll Exception thrown: 'XBee.Frames.AtCommandException' in mscorlib.dll Exception thrown: 'System.IO.EndOfStreamException' in mscorlib.dll Exception thrown: 'System.IO.EndOfStreamException' in BinarySerializer.dll Exception thrown: 'XBee.Frames.AtCommandException' in XBee.dll Exception thrown: 'XBee.Frames.AtCommandException' in mscorlib.dll Exception thrown: 'XBee.Frames.AtCommandException' in mscorlib.dll Exception thrown: 'XBee.Frames.AtCommandException' in mscorlib.dll Exception thrown: 'System.IO.EndOfStreamException' in mscorlib.dll Exception thrown: 'System.IO.EndOfStreamException' in BinarySerializer.dll Exception thrown: 'XBee.Frames.AtCommandException' in XBee.dll Exception thrown: 'XBee.Frames.AtCommandException' in mscorlib.dll Exception thrown: 'XBee.Frames.AtCommandException' in mscorlib.dll Exception thrown: 'XBee.Frames.AtCommandException' in mscorlib.dll Exception thrown: 'System.NotSupportedException' in XBee.dll Exception thrown: 'System.NotSupportedException' in mscorlib.dll Exception thrown: 'System.NotSupportedException' in mscorlib.dll An unhandled exception of type 'System.NotSupportedException' occurred in mscorlib.dll Additional information: XBee24S2C not supported.
When the router is also TH S2C, there is no error, but there is no guarantee that this function is called,
_xbee.NodeDiscovered += (sender, args) => { Console.WriteLine("Discovered {0}", args.Name); };
When I use the TH Pro S2C module as coordinator, there is also no error but the nodediscovered function is never called.
- You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/jefffhaynes/XBee/issues/25#issuecomment-306065178, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AJSKR5Ri_j8UYseBLjg3RTtvc3VjWK1xks5sAxUbgaJpZM4Np1cP.
What is the model of the remote node you're trying to discover? It looks like it isn't responding to a HV command to get the hardware version. Is it also a S2C?
Also, does discovery work using XCTU?
All the modules are S2C, the TH version can be found sometimes, the SMD version always causes XBee24S2C not supported error.
Ok, I added the S2C to 4.2.2. I'm not sure that's the only problem but see if it's any better.
I just pushed 4.3.1, which seems to work with the S2C. Please give it a try and see if you have better luck. I did have to make some minor changes. Thanks.
Hi Jeff, Sorry for replying late. I was distracted by other projects.
I couldn't update to 5.0, saying target=4.5 not compatible. Anyway, I just tried 4.3.1, it worked for normal S2C, but for S2C Pro module, it showed 48 not supported.
Right, are you able to upgrade your framework to 4.6 or no? If not I'll look at adding support to the 4.x series.
On Sun, Jun 25, 2017 at 8:32 PM, xhr0428 notifications@github.com wrote:
Hi Jeff, Sorry for replying late. I was distracted by other projects.
I couldn't update to 5.0, saying target=4.5 not compatible. Anyway, I just tried 4.3.1, it worked for normal S2C, but for S2C Pro module, it showed 48 not supported.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jefffhaynes/XBee/issues/25#issuecomment-310943264, or mute the thread https://github.com/notifications/unsubscribe-auth/AJSKR8haGseaP0s-qy3n-J-xVYaGmyGIks5sHwoSgaJpZM4Np1cP .
-- If you want to build a ship, don't drum up people together to collect wood and don't assign them tasks and work, but rather teach them to long for the endless immensity of the sea.
Antoine de Saint-Exupery
Hi Jeff, sorry for the late reply. I'm just back to this project. I cannot make .NET 4.6 or higher. Could you please add support for .NET 4.5? Thanks
Sorry, I think I misunderstood originally. I pushed the S2C SMT support in 4.3.4. I have no way of testing it but give it a try.
Hi Jeff, thank you for your help. I just tried 4.3.4, it does support S2C SMT, but still doesn't work for S2CPRO SMT.
One more question, when I call DiscoverNetworkAsync() to discover nodes, does network discovery run endlessly? Is there another function to terminate it? Say if I want to discover nodes for 5 seconds, then stop, how could I do it?
I think you can pass a cancellation token, no? Can you tell me what the hardware version for the s2cpro smt is?
From: xhr0428 notifications@github.com Sent: Saturday, August 5, 2017 11:39:08 AM To: jefffhaynes/XBee Cc: Jeff Haynes; State change Subject: Re: [jefffhaynes/XBee] How to find node identifiers of end devices? (#25)
Hi Jeff, thank you for your help. I just tried 4.3.4, it does support S2C SMT, but still doesn't work for S2CPRO SMT.
One more question, when I call DiscoverNetworkAsync() to discover nodes, does network discovery run endlessly? Is there another function to terminate it?
— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHubhttps://github.com/jefffhaynes/XBee/issues/25#issuecomment-320450488, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AJSKR0nKJVmr1DQmuNyQvE6rs-KY6-HKks5sVIycgaJpZM4Np1cP.
Hi Jeff, how to a pass a cancellation token?
Hardware version for s2cpro smt is XBeeProS2C D-Start: Data D-Start: HardwareVersion D-End: HardwareVersion (XBeeProS2C) D-Start: HardwareRevision D-End: HardwareRevision (75) D-End: Data (XBee.Frames.AtCommands.HardwareVersionResponseData)
I keep forgetting you're on the 4.x series. You can't pass a cancellation token but you can specify a timeout by calling DiscoverNetworkAsync(TimeSpan.FromSeconds(5)), for example.
What is the behavior with the XBeeProS2C? It looks like it is trying to work...
Adding timespan works. Does it run endlessly if I just use DiscoverNetworkAsync( )?
Here is the full information from console searching for XBeeProS2C Discovering network... D-Start: StartDelimiter S-Start: StartDelimiter S-End: StartDelimiter (FrameDelimiter) S-Start: Length S-End: Length (4) S-Start: Payload S-Start: FrameType S-End: FrameType (AtCommand) S-Start: Content S-Start: FrameId S-End: FrameId (1) S-Start: Command S-Start: Command S-End: Command (ND) S-Start: Parameter S-End: Parameter (null) S-End: Command (XBee.Frames.AtCommands.NetworkDiscoveryCommand) S-End: Content (XBee.Frames.AtCommandFrameContent) S-End: Payload (XBee.FramePayload) S-Start: Checksum S-End: Checksum (100) D-End: StartDelimiter (FrameDelimiter) D-Start: Length D-End: Length (33) D-Start: Payload D-Start: FrameType D-End: FrameType (AtCommandResponse) D-Start: Content D-Start: FrameId D-End: FrameId (1) D-Start: Content D-Start: AtCommand D-End: AtCommand (ND) D-Start: Status D-End: Status (Success) D-Start: Data D-Start: ShortAddress D-Start: Value D-End: Value (40563) D-End: ShortAddress (9E73) D-Start: LongAddress D-Start: Value D-End: Value (5526146534085277) D-End: LongAddress (0013A2004124129D) D-Start: ReceivedSignalStrengthIndicator D-End: ReceivedSignalStrengthIndicator (null) D-Start: Name D-End: Name (S2CPROSMT) D-Start: ExtendedInfo D-Start: ParentNetworkAddress D-Start: Value D-End: Value (65534) D-End: ParentNetworkAddress (FFFE) D-Start: DeviceType D-End: DeviceType (Router) D-Start: ReservedStatus D-End: ReservedStatus (0) D-Start: ProfileId D-End: ProfileId (49413) D-Start: ManufactureId D-End: ManufactureId (4126) D-Start: OptionalData D-End: OptionalData (null) D-End: ExtendedInfo (XBee.Frames.AtCommands.NetworkDiscoveryResponseDataExtendedInfo) D-End: Data (S2CPROSMT: 0013A2004124129D) D-End: Content (XBee.Frames.AtCommandResponseFrameContent) D-End: Content (XBee.Frames.AtCommandResponseFrame) D-End: Payload (XBee.FramePayload) D-Start: Checksum D-End: Checksum (107) D-Start: StartDelimiter S-Start: StartDelimiter S-End: StartDelimiter (FrameDelimiter) S-Start: Length S-End: Length (4) S-Start: Payload S-Start: FrameType S-End: FrameType (AtCommand) S-Start: Content S-Start: FrameId S-End: FrameId (2) S-Start: Command S-Start: Command S-End: Command (HV) S-Start: Parameter S-End: Parameter (null) S-End: Command (XBee.Frames.AtCommands.HardwareVersionCommand) S-End: Content (XBee.Frames.AtCommandFrameContent) S-End: Payload (XBee.FramePayload) S-Start: Checksum S-End: Checksum (87) D-End: StartDelimiter (FrameDelimiter) D-Start: Length D-End: Length (7) D-Start: Payload D-Start: FrameType D-End: FrameType (AtCommandResponse) D-Start: Content D-Start: FrameId D-End: FrameId (2) D-Start: Content D-Start: AtCommand D-End: AtCommand (HV) D-Start: Status D-End: Status (Success) D-Start: Data D-Start: HardwareVersion D-End: HardwareVersion (XBeeProS2B) D-Start: HardwareRevision D-End: HardwareRevision (71) D-End: Data (XBee.Frames.AtCommands.HardwareVersionResponseData) D-End: Content (XBee.Frames.AtCommandResponseFrameContent) D-End: Content (XBee.Frames.AtCommandResponseFrame) D-End: Payload (XBee.FramePayload) D-Start: Checksum D-End: Checksum (114) D-Start: StartDelimiter D-Start: StartDelimiter S-Start: StartDelimiter S-End: StartDelimiter (FrameDelimiter) S-Start: Length S-End: Length (15) S-Start: Payload S-Start: FrameType S-End: FrameType (RemoteAtCommand) S-Start: Content S-Start: FrameId S-End: FrameId (3) S-Start: LongAddress S-Start: Value S-End: Value (5526146534085277) S-End: LongAddress (0013A2004124129D) S-Start: ShortAddress S-Start: Value S-End: Value (40563) S-End: ShortAddress (9E73) S-Start: Options S-End: Options (Commit) S-Start: Command S-Start: Command S-End: Command (HV) S-Start: Parameter S-End: Parameter (null) S-End: Command (XBee.Frames.AtCommands.HardwareVersionCommand) S-End: Content (XBee.Frames.RemoteAtCommandFrameContent) S-End: Payload (XBee.FramePayload) S-Start: Checksum S-End: Checksum (107) D-End: StartDelimiter (FrameDelimiter) D-Start: Length D-End: Length (17) D-Start: Payload D-Start: FrameType D-End: FrameType (RemoteAtCommandResponse) D-Start: Content D-Start: FrameId D-End: FrameId (3) D-Start: LongAddress D-Start: Value D-End: Value (5526146534085277) D-End: LongAddress (0013A2004124129D) D-Start: ShortAddress D-Start: Value D-End: Value (40563) D-End: ShortAddress (9E73) D-Start: Content D-Start: AtCommand D-End: AtCommand (HV) D-Start: Status D-End: Status (Success) D-Start: Data D-Start: HardwareVersion D-End: HardwareVersion (XBeeProS2C) D-Start: HardwareRevision D-End: HardwareRevision (75) D-End: Data (XBee.Frames.AtCommands.HardwareVersionResponseData) D-End: Content (XBee.Frames.AtCommandResponseFrameContent) D-End: Content (XBee.Frames.RemoteAtCommandResponseFrame) D-End: Payload (XBee.FramePayload) D-Start: Checksum D-End: Checksum (129) D-Start: StartDelimiter
Hello Jeff, Thank you for your help for the last issue. I'm running into a new problem now. I try to get the node identifiers of nodes in the network. I'm following your example but I see nothing but this error
An unhandled exception of type 'System.NotSupportedException' occurred in mscorlib.dll Additional information: 45 not supported.
Can you help me with this? Thanks.
This's the code I'm using: