This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

6LoWPAN with Android/iOS Mobile devices

Hi,

I'm trying to create a local network between an nrf51-DK and a mobile phone, android or iOS. The main goal is to be able to get TCP/IP connection between the nrf5x device and the mobile phone using Bluetooth and just the software provided by default by the phone, so NO application will be installed in the phone. For example I should be able to access an http server running in the device from the mobile phone using an IP address.

I've tried some examples from the IoT SDK, and the BLE connection is successful, however the interface never goes up according to the output of the nrf51-DK board.

(from CoAP examples of the IoT SDK)

LED 1	      LED 2	
Blinking	Off	         Device advertising as BLE peripheral.
On	      Blinking	 BLE link established, IPv6 interface down.
Off	         On	         BLE link established, IPv6 interface up.
On	         On	         Assertion failure in the application.

Does IOs/Android need to implement something in their side or I'm missing something

Is there any option to create a TCP/IP connection between the nodes?

I know that using IPv4 and making the mobile a hot spot I can get an IP address from the mobile DHCP server but I would like to avoid the mobile to become a hotspot.

Thanks in advance

Parents
  • The IPSP and 6LoWPAN libraries in the IoT SDK supports node role. The IoT SoftDevice supports Connection Oriented Channels with the Credit Based Flow Control Mode, which is needed for transport of IPv6 packets. This SoftDevice can take a GAP peripheral role.

    The Android/iOS device must then be in the router role which means it must support Connection Oriented Channels with the Credit Based Flow Control Mode and that it can take a GAP central role. As far as I know this is not supported by Android/iOS.

    In addition they would need to support the IPSP profile and 6LoWPAN, which as far as I know, they don't.

  • Not really, but I understand why the last paragraph in the link confuses you.

    Connection Oriented Channels with the Credit Based Flow Control Mode is not a mandatory feature for 4.2.

    IPSP and 6LoWPAN isn't even part of the spec, IPSP is a profile.

Reply Children
No Data
Related