Re: "/samples/net/coap_server" example is not working on "nrf52_pca10040" board


Luiz Augusto von Dentz
 

Hi,

On Sun, Jan 15, 2017 at 1:34 PM, Appala Raju <raju.ga(a)gmail.com> wrote:
Hi Luiz Augusto von Dentz,

Thanks for the patch. I have update the same and build for zoap_server.

LE SCAN output:
LE Scan ...
CA:2E:39:48:00:77 (unknown)
CA:2E:39:48:00:77 Test IPSP node

This is the debug output on UART:
[bt] [WRN] set_static_addr: Using temporary static random address
[bt] [INF] show_dev_info: Identity: ca:2e:39:48:00:77 (random)
[bt] [INF] show_dev_info: HCI: version 4.2 (0x08) revision 0x0000, manufacturer 0xffff
[bt] [INF] show_dev_info: LMP: version 4.2 (0x08) subver 0xffff
[bt] [DBG] bt_l2cap_le_fixed_chan_register: (0x20005020) CID 0x0004
[bt] [DBG] bt_l2cap_le_fixed_chan_register: (0x20005020) CID 0x0006
[bt] [WRN] bt_pub_key_gen: ECC HCI commands not available
[bt] [DBG] bt_l2cap_le_fixed_chan_register: (0x20005020) CID 0x0005

Then I am trying to connect to this server using following command. But it .is not connecting. What could be the reason?

echo "connect ca:2e:39:48:00:77 1" | tee /sys/kernel/debug/bluetooth/6lowpan_control
Well it seems the address is random: ca:2e:39:48:00:77 (random),
should you should pass 2 instead of 1 after the address.

--
Luiz Augusto von Dentz

Join devel@lists.zephyrproject.org to automatically receive all group messages.