Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Troubleshooting
  3. MQTT Gateway Init:TSP Fail [solved]

MQTT Gateway Init:TSP Fail [solved]

Scheduled Pinned Locked Moved Troubleshooting
5 Posts 2 Posters 7.9k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    LastSamurai
    Hardware Contributor
    wrote on last edited by LastSamurai
    #1

    Hi, I am trying to set up a new mqtt gateway. I have a nodemcu connected to a nrf24l01+ and flashed the mqtt gateway example.
    On the serial monitor I see this output:

    0;255;3;0;9;MCO:BGN:INIT GW,CP=RNNGE--,VER=2.1.1
    0;255;3;0;9;TSF:LRT:OK
    0;255;3;0;9;TSM:INIT
    0;255;3;0;9;TSF:WUR:MS=0
    0;255;3;0;9;!TSM:INIT:TSP FAIL
    0;255;3;0;9;TSM:FAIL:CNT=1
    0;255;3;0;9;TSM:FAIL:PDT
    0;255;3;0;9;TSM:FAIL:RE-INIT
    0;255;3;0;9;TSM:INIT
    0;255;3;0;9;!TSM:INIT:TSP FAIL
    0;255;3;0;9;TSM:FAIL:CNT=2
    0;255;3;0;9;TSM:FAIL:PDT
    ...
    

    What does this mean? Is it not able to use the nrf or not able to connect to my Wifi or the mqtt broker? The credentials should be right but the NodeMCU does not show up in my router log. The NRF is also tested with an arduino and worked well there.

    Thanks guys!

    PS did anyone use the nodeMCU with a PLA version of the nrf? The AMS1117 on the nodeMCU should be strong enough to directly power both the nrf and the nodeMCU, right?

    1 Reply Last reply
    0
    • L Offline
      L Offline
      LastSamurai
      Hardware Contributor
      wrote on last edited by
      #2

      Anyone? I couldn't really find a description of this error anywhere. I only know that TSM=Transport State Machine, so something is wrong with the transport layer.... but what part?

      tekkaT 1 Reply Last reply
      0
      • L LastSamurai

        Anyone? I couldn't really find a description of this error anywhere. I only know that TSM=Transport State Machine, so something is wrong with the transport layer.... but what part?

        tekkaT Offline
        tekkaT Offline
        tekka
        Admin
        wrote on last edited by tekka
        #3

        @LastSamurai

        0;255;3;0;9;!TSM:INIT:TSP FAIL
        

        = Transport initialization failed, i.e. check the wiring or replace the radio module.

        Here you can find additional information for transport (TSM/TSF)-related debug messages:

        https://ci.mysensors.org/job/Verifiers/job/MySensors/branch/master/Doxygen_HTML/group__MyTransportgrp.html

        L 1 Reply Last reply
        0
        • tekkaT tekka

          @LastSamurai

          0;255;3;0;9;!TSM:INIT:TSP FAIL
          

          = Transport initialization failed, i.e. check the wiring or replace the radio module.

          Here you can find additional information for transport (TSM/TSF)-related debug messages:

          https://ci.mysensors.org/job/Verifiers/job/MySensors/branch/master/Doxygen_HTML/group__MyTransportgrp.html

          L Offline
          L Offline
          LastSamurai
          Hardware Contributor
          wrote on last edited by
          #4

          @tekka Thank you. I also found this but wasn't sure which part of the transport failed (radio, MQTT, wlan). I guess I'll have to check the wiring again as the radio worked with another arduino.

          1 Reply Last reply
          0
          • L Offline
            L Offline
            LastSamurai
            Hardware Contributor
            wrote on last edited by
            #5

            PS Tried another radio (again) and another usb Port to power it and now everything is working. Thank you

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            13

            Online

            11.7k

            Users

            11.2k

            Topics

            113.1k

            Posts


            Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • MySensors
            • OpenHardware.io
            • Categories
            • Recent
            • Tags
            • Popular