MQTT Gateway Init:TSP Fail [solved]


  • Hardware Contributor

    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?


  • Hardware Contributor

    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?


  • Admin

    @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


  • Hardware Contributor

    @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.


  • Hardware Contributor

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


Log in to reply
 

Looks like your connection to MySensors Forum was lost, please wait while we try to reconnect.