I use this step-by-step guide to run nrf51 Iot SDK example on nRF51822.
First I modified app_ipv6_coap_client_pca10028 such that I can run it on nRF51822. I downloaded latest RPI Raspbian Debian Wheezy Kernel v3.18. After that I update it to Linux raspberrypi 3.18.9-v7+ which has 6lowpan support included. So I don't need to do steps 4.c, 5 and 6.d-e, 7 in "Installing required packages on the Raspberry Pi" part.
Next I got account on Sixxs(aiccu) to be able to ping device over internet because my provider don't use ipv6. So I need tunnel. I addded Sixxs prefix to interface bt0
{
AdvSendAdvert on;
prefix <Sixxs prefix>/64
{
AdvOnLink off;
AdvAutonomous on;
AdvRouterAddr on;
};
};
I also add /sbin/ip addr add ::1/64 dev bt0
After that I connected to device and can ping but after some minutes connection lost and I need do connect to device again. So auto connection is needed! And I don't know the reason why connection lost. Device lies close to RPI.
Could anybody suggest how to do auto connect and find reason of disconnection?