Return "node.to_socket_addr()"

Dear All,

this methode
node.to_socket_addr() return
and i will used to send message to all the node and i receiver a message from all.

x = sd.sendto(“Hello, router!”, 0, dest)

but i have error:

IndentationError: unindent does not match any outer indentation level

in the forum , i see the destination like this (add-64bit, 0xe8, 0xc105, 0x11)

how can i solved this problem?!

Hello

 You do not say specifically, but I am guessing you are using python?

 Python is quite specific in indenting rules as it uses indenting to define code blocks. Where in C you'd include code between { and }

in python it is done with indentation.

For example:

if x == 1:
print ‘hello’
print ‘goodby’

hello will only be printed if the value of x is 1. goodby will be printed regardless of the value of x.

My guess is you have some indentation where you should not.

I use python to program my gateway,
i see this tuto:
http://www.digi.com/wiki/developer/index.php/Module:zigbee

destination=node.to_socket_addr()
print destination
#this mothde return

but they must retrun like this (the_add_64bit, 0xe8, 0xc105, 0x11)
#the_add_64bit,endpoint,add_short,clusterID