patchlwIP - A Lightweight TCP/IP stack - Patches: patch #9364, RFC7668 - 6lowpan over Bluetooth...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #9364: RFC7668 - 6lowpan over Bluetooth Low Energy -- a new netif

Submitted by:  Aigner B. <aignerb>
Submitted on:  Mon 29 May 2017 04:37:21 PM UTC  
 
Category: Network driversPriority: 5 - Normal
Status: NonePrivacy: Public
Assigned to: NoneOpen/Closed: Open
Planned Release: None

Mon 29 May 2017 08:20:41 PM UTC, comment #2:

Ok, I understand.
I can extract equal functionality to a different file, if you want. Or do you recommend a different approach?

Regarding the 6lowpan implementation:
I can put shared function in an extra file, but I cannot change the 6lowpan implementation (not enough time, no equipment to test).

Who is currently maintaining the 6lowpan code?

Aigner B. <aignerb>
Mon 29 May 2017 07:24:17 PM UTC, comment #1:

The improved documentation is really a step forward for the 6lowpan code.

> Regarding the discussion on the similarity to 6lowpan:
> I think it should be separated code, due to some key
> differences on fragmentation (not used here, L2CAP takes care
> of it) and address handling.


I haven't found the time yet to compare the code in detail, but comparing your C file attached in this patch to the current version of our lowpan6.c file, there are far too many common or simila lines to keep them different!

We definitively can't afford to maintain this code twice!

Simon Goldschmidt <goldsimon>
Project Administrator
Mon 29 May 2017 04:37:21 PM UTC, original submission:

Dear lwIP team,
I've implemented a new network interface, which supports the 6lowpan over BLE network.
Currently working with MQTT-SN, ICMPv6 and UDP6 (no further protocols tested).
Test setup:
ESP32 with BTStack as Bluetooth stack + Debian PC.

A connection can be made via the bluetooth_6lowpan kernel module (see Nordic Semiconductor docs: http://developer.nordicsemi.com/nRF5_IoT_SDK/doc/0.9.0/html/a00089.html )

Further test software is available at the ESP-IDF repo:
https://github.com/espressif/esp-idf/issues/629
I will do further programming on upper layers, so there might be an update on test cases,....

Best wishes & thx for this piece of software!

PS: @Simon: Hopefully you are satisfied with my homework :-).
Regarding the discussion on the similarity to 6lowpan:
I think it should be separated code, due to some key differences on fragmentation (not used here, L2CAP takes care of it) and address handling.

Aigner B. <aignerb>

 

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by goldsimon (Posted a comment)
  • -unavailable- added by aignerb (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 29 May 2017 04:37:21 PM UTCaignerbAttached File-=>Added 0001-Added-a-RFC7668-netif.patch, #40809

    Back to the top


    Powered by Savane 3.1-cleanup1