This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

LAUNCHXL-CC1350: Router cc1350 contiki + Radio Node cc1350+ CC1350 slip BBB = Mesh Network

Part Number: LAUNCHXL-CC1350
Other Parts Discussed in Thread: CC1350, HDC1000, OPT3001

Hi all,
sorry for intrusion but I have a similar problem.
I realize one mesh network composed of:
-Border Router+ Gateway= CC1350(slip radio)+BBBWireless: On my PC
-Router= CC1350(cc26xx-web-demo, contiki-ng):5 metres from my pc
-Radio Node=CC1350(firmware of mine that send MQTT messages to my BBB) 12 metres form my pc
Now If I take out the router with lynx [bbbb::100] I don't se anything nor the router and nor the radio node.
Instead If I put the router I see all with lynx, but the radio node doesn't send MQTT messages.
The IPv6 address of node is always the same or with or without router.
Anyone could give me any suggestion?
Thanks in advance

  • If you replace Radio Node=CC1350(firmware of mine that send MQTT messages to my BBB) with another CC1350(cc26xx-web-demo, contiki-ng), can this new CC1350(cc26xx-web-demo, contiki-ng) send MQTT messages? I would suggest you to set up sensniff to check what happens over the air.

  • Thaks for your fast reply Yikai,

    However I have a doubt. My firmware is running on Contiki 3.0, instead my router, cc26xx-web-demo is on Contiki-ng. Could It be that one the problem?

    Anyway, I tried to move My firmware from "C:\cygwin64\home\user\contiki_MTX\examples\cc26xx\190619_MTX_DOME -" to

    "C:\cygwin64\home\user\contiki-ng-develop\examples\platform-specific\cc26x0-cc13x0\190619_MTX_DOME -"(MTX_DOME is my firmware) with

    corresponding platform and I compiled with this commando:

    make TARGET=cc26x0-cc13x0 BOARD=launchpad/cc1350_mtx_dome  mtx_dome.bin

    but it doesn't work. . this is the error: Makefile.include:no such file or directory

    1. Can I change Contiki?

    2. Could it be this the problem?

    3 Which is the command?

    thanks in advance

  • Yes, this will be problem. You don't think you can mix Contiki-NG with Contiki together. I would suggest you to use Contiki-NG.

  • thanks for fast reply  But I tried to compile with this command


    make TARGET=cc26x0-cc13x0 BOARD=launchpad/cc1350_mtx_dome  mtx_dome.bin


    but  Makefile.include:no such file or directory

    Which is the problem?

     Thanks in advance

  • What is "BOARD=launchpad/cc1350_mtx_dome"? Is this your custom board define?

  • Yes I did some modifies, but it is similar to launchpad/cc1350. I tried also with launchpad/cc1350 but It doesn't work.

    How can I do?

    Thanks in advance

  • I suppose you should make sure your clone everything in LaunchPad/CC1350 if you want to do this. If you cannot make it, the alternative is to revise LaunchPad/CC1350 directly.

  • I think that the problem is that my firmware is for the Contiki 3.0. How can I adapter my firmware for contiki ng?

    Thanks in advance

  • Basically, the code architecture is similar and I suppose you can easily porting your application code from Contiki to Contiki-NG. If not, you have to elaborate or specify what I can help.

  • Hi Yikai,

    Thanks for your fast reply. Well, I put in this path my firmware:

    C:\cygwin64\home\user\contiki-ng-develop\examples\platform-specific\cc26x0-cc13x0\M190619_MTX_DOME. 190619_MTX_DOME is my firmware

    Instead the platform I put in this path:

    C:\cygwin64\home\user\contiki-ng-develop\arch\platform\cc26x0-cc13x0\launchpad\cc1350_mtx_dome. cc1350_mtx_dome is my platform

    I put also makefile.launchpad in platform:

    CFLAGS += -DBOARD_LAUNCHPAD=1

    CONTIKI_TARGET_DIRS += launchpad common

    BOARD_SOURCEFILES += board.c launchpad-sensors.c leds-arch.c button-sensor.c
    BOARD_SOURCEFILES += ext-flash.c board-spi.c

    ### Signal that we can be programmed with cc2538-bsl
    BOARD_SUPPORTS_BSL=1


    This one is  the makefile of 190619_MTX_DOME

    # MAKEFILE

    # File di configurazione del sistema
    DEFINES+=PROJECT_CONF_H=\"MTX_Config.h\"

    # Nome del progetto
    all: MTX_DOME

    PLATFORMS_ONLY = cc26x0-cc13x0-------> I added this one

    # File Source da utilizzare
    PROJECT_SOURCEFILES += MTX_Coap.c
    PROJECT_SOURCEFILES += MTX_Debug.c
    PROJECT_SOURCEFILES += MTX_GPIO.c
    PROJECT_SOURCEFILES += MTX_Flash.c
    PROJECT_SOURCEFILES += MTX_Devices.c
    PROJECT_SOURCEFILES += MTX_net-uart.c
    PROJECT_SOURCEFILES += MTX_mqtt-client.c
    PROJECT_SOURCEFILES += MTX_Sensors.c
    PROJECT_SOURCEFILES += MtxDomeJSONParser.c


    # File Source dei sensori
    PROJECT_SOURCEFILES += MTX_s_tmp007.c
    PROJECT_SOURCEFILES += MTX_s_hdc1000.c
    PROJECT_SOURCEFILES += MTX_s_bmp280.c
    PROJECT_SOURCEFILES += MTX_s_opt3001.c
    PROJECT_SOURCEFILES +=sensor-common.c
    PROJECT_SOURCEFILES +=board-i2c.c
    PROJECT_SOURCEFILES += MTX_s_EM.c
    PROJECT_SOURCEFILES += MTX_s_PCAL.c
    PROJECT_SOURCEFILES += MTX_s_RGB_isl29125.c
    PROJECT_SOURCEFILES += MTX_s_RGB_TCS3472.c

    CONTIKI_WITH_IPV6 = 1

    # REST Engine shall use Erbium CoAP implementation
    APPS += er-coap
    APPS += rest-engine
    APPS += mqtt

    # Il percorso in cui e' presente il sistema operativo CONTIKI.
    CONTIKI = ../../..

    # Aggiunta del file Makefile.include al progetto in cui
    # sono presenti tutte le definizione del sistema operativo
    include $(CONTIKI)/Makefile.include

    # Flag per ottimizzare la compilazione
    #CFLAGS += -ffunction-sections
    #LDFLAGS += -Wl,--gc-sections,--undefin##ed=_reset_vector__,--undefined=InterruptVectors,--undefined=_copy_data_init__,--undefined=_clear_bss_init__,--undefined=_end_of_init__
    #CFLAGS += -D__HEAP_SIZE=4096
    #CFLAGS += -D__STACK_SIZE=4096

    I compared also all make file but makefile.include:No such file or directory.

    Which is the problem in your opinion ?

  • Try to help you in your another new post at