Hi,
I am have successfully ran samples 1 and 2, however I cannot get 3.simple_data to print "Hello" for me..
My xbees are configured differently from the default configuration as follows;
coordinator
DH - 13A200
DL - 40920E8B
MY - FFFF
NI - 01
BD - 57600
AP - 1
D6 - 1
CE - 1 (although I've read CE has no effect for series 1, correct?)
end-point
DH - 13A200
DL - 409AA188
MY - FFFF
NI - 02
BD - 57600
AP - 1
D6 - 1
I have recompiled with the following lines in '
config.mk' uncommented;
OPTIONS+= XBEE_LOG_LEVEL=100
OPTIONS+= XBEE_LOG_RX
OPTIONS+= XBEE_LOG_TX
The output of sample 3 with debugging is as follows;
jeff@cadmium ~/code/libxbee.libxbee-v3/sample/xbee1/3.simple_data $ ./main
6#[conn.c:423] _xbee_conNew() 0x224c1f0: Created new '64-bit Data' type connection
8#[conn.c:179] xbee_conLogAddress() 0x224c1f0: address @ 0x7fff9f6cd8c0...
8#[conn.c:183] xbee_conLogAddress() 0x224c1f0: 16-bit address: --
8#[conn.c:188] xbee_conLogAddress() 0x224c1f0: 64-bit address: 0x0013A200 0x40920E8B
8#[conn.c:195] xbee_conLogAddress() 0x224c1f0: endpoints: --
8#[conn.c:200] xbee_conLogAddress() 0x224c1f0: profile ID: ----
8#[conn.c:205] xbee_conLogAddress() 0x224c1f0: cluster ID: ----
15#[thread.c:68] threadFunc() 0x224c1f0: starting thread 0x224fe20, function xbee_rxHandler()...
15#[thread.c:68] threadFunc() 0x224c1f0: starting thread 0x224ffe0, function xbee_tx()...
15#[thread.c:68] threadFunc() 0x224c1f0: starting thread 0x224fc60, function xbee_rx()...
I have the endpoint connected to another computer with a serial terminal open. When I type into the endpoint, I'm expecting to see "Hello" printed on the terminal of the computer connected to the coordinator, correct? I am not seeing anything, nor is the debugging logging anything on the rx line. The xbee-usb adapters that I am using have indicators for rx and tx. I can see the end-point transmitting when I type into it, however the rx light on the coordinator does not blink.
Using the default firmware settings, I can create a serial connection and communicate between them using only serial terminals, if that helps.
My biggest doubt is how the xbees are configures (although I've played with several different settings).
Any help is greatly appreciated.
-Jeff