Navigation

    • Register
    • Login
    • Search
    • OpenHardware.io
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. paulsp
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    paulsp

    @paulsp

    1
    Reputation
    5
    Posts
    2
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    paulsp Follow

    Best posts made by paulsp

    • RE: Adafruit RFM69 Bonnet not working

      @556duckvader I did not get the bonnet working through the mysensor library. I ended up using the Adafruit python client library and posting data to MQTT as a workaround.

      posted in Troubleshooting
      paulsp
      paulsp

    Latest posts made by paulsp

    • RE: Adafruit RFM69 Bonnet not working

      @556duckvader I did not get the bonnet working through the mysensor library. I ended up using the Adafruit python client library and posting data to MQTT as a workaround.

      posted in Troubleshooting
      paulsp
      paulsp
    • RE: Adafruit RFM69 Bonnet not working

      @mfalkvidd How can I hard code and ID for the device and the Gateway ID?

      posted in Troubleshooting
      paulsp
      paulsp
    • RE: Adafruit RFM69 Bonnet not working

      Below is the atc_signalsreport sketch modified to support the pin number and Serial configuration of the M0. I also include the ClearEepromConfig sketch modified to display the value of EEPROM_LOCAL_CONFIG_ADDRESS
      Output of the sketch

      Started clearing. Please wait...
      413
      Clearing done.
      

      Modified atc_signalsreport sketch

      /*
       * The MySensors Arduino library handles the wireless radio link and protocol
       * between your home built sensors/actuators and HA controller of choice.
       * The sensors forms a self healing radio network with optional repeaters. Each
       * repeater and gateway builds a routing tables in EEPROM which keeps track of the
       * network topology allowing messages to be routed to nodes.
       *
       * Created by Henrik Ekblad <henrik.ekblad@mysensors.org>
       * Copyright (C) 2013-2019 Sensnology AB
       * Full contributor list: https://github.com/mysensors/MySensors/graphs/contributors
       *
       * Documentation: http://www.mysensors.org
       * Support Forum: http://forum.mysensors.org
       *
       * This program is free software; you can redistribute it and/or
       * modify it under the terms of the GNU General Public License
       * version 2 as published by the Free Software Foundation.
       *
       *******************************
       *
       * REVISION HISTORY
       * Version 1.0 - tekka
       *
       * DESCRIPTION
       * ATC mode settings and signal report functions, on RFM69 and RFM95 nodes
       *
       */
      #define MY_SERIALDEVICE Serial
      
      // Enable debug prints
      #define MY_DEBUG
      #define MY_DEBUG_VERBOSE_TRANSPORT
      #define MY_DEBUG_VERBOSE_TRANSPORT_HAL
      #define MY_DEBUG_VERBOSE_RFM69
      
      // Enable and select radio type attached
      
      // RFM69
      #define MY_RADIO_RFM69
      #define MY_RFM69_NEW_DRIVER   // ATC on RFM69 works only with the new driver (not compatible with old=default driver)
      #define MY_RFM69_ATC_TARGET_RSSI_DBM (-70)  // target RSSI -70dBm
      #define MY_RFM69_MAX_POWER_LEVEL_DBM (10)   // max. TX power 10dBm = 10mW
      #define MY_RFM69_CS_PIN 10
      #define MY_RFM69_IRQ_PIN 6
      #define MY_RFM69_RST_PIN 11
      
      // RFM95
      //#define MY_RADIO_RFM95
      //#define MY_RFM95_ATC_TARGET_RSSI_DBM (-70)  // target RSSI -70dBm
      //#define MY_RFM95_MAX_POWER_LEVEL_DBM (10)   // max. TX power 10dBm = 10mW
      
      #include <MySensors.h>
      
      // ID of the sensor child
      #define CHILD_ID_UPLINK_QUALITY (0)
      #define CHILD_ID_TX_LEVEL       (1)
      #define CHILD_ID_TX_PERCENT     (2)
      #define CHILD_ID_TX_RSSI        (3)
      #define CHILD_ID_RX_RSSI        (4)
      #define CHILD_ID_TX_SNR         (5)
      #define CHILD_ID_RX_SNR         (6)
      
      
      // Initialize general message
      MyMessage msgTxRSSI(CHILD_ID_TX_RSSI, V_CUSTOM);
      MyMessage msgRxRSSI(CHILD_ID_RX_RSSI, V_CUSTOM);
      MyMessage msgTxSNR(CHILD_ID_TX_SNR, V_CUSTOM);
      MyMessage msgRxSNR(CHILD_ID_RX_SNR, V_CUSTOM);
      MyMessage msgTxLevel(CHILD_ID_TX_LEVEL, V_CUSTOM);
      MyMessage msgTxPercent(CHILD_ID_TX_PERCENT, V_CUSTOM);
      MyMessage msgUplinkQuality(CHILD_ID_UPLINK_QUALITY, V_CUSTOM);
      
      void setup()
      {
      }
      
      
      void presentation()
      {
        // Send the sketch version information to the gateway and controller
        sendSketchInfo("ATC", "1.0");
      
        // Register all sensors to gw (they will be created as child devices)
        present(CHILD_ID_UPLINK_QUALITY, S_CUSTOM, "UPLINK QUALITY RSSI");
        present(CHILD_ID_TX_LEVEL, S_CUSTOM, "TX LEVEL DBM");
        present(CHILD_ID_TX_PERCENT, S_CUSTOM, "TX LEVEL PERCENT");
        present(CHILD_ID_TX_RSSI, S_CUSTOM, "TX RSSI");
        present(CHILD_ID_RX_RSSI, S_CUSTOM, "RX RSSI");
        present(CHILD_ID_TX_SNR, S_CUSTOM, "TX SNR");
        present(CHILD_ID_RX_SNR, S_CUSTOM, "RX SNR");
      }
      
      void loop()
      {
        // send messages to GW
        send(msgUplinkQuality.set(transportGetSignalReport(SR_UPLINK_QUALITY)));
        send(msgTxLevel.set(transportGetSignalReport(SR_TX_POWER_LEVEL)));
        send(msgTxPercent.set(transportGetSignalReport(SR_TX_POWER_PERCENT)));
        // retrieve RSSI / SNR reports from incoming ACK
        send(msgTxRSSI.set(transportGetSignalReport(SR_TX_RSSI)));
        send(msgRxRSSI.set(transportGetSignalReport(SR_RX_RSSI)));
        send(msgTxSNR.set(transportGetSignalReport(SR_TX_SNR)));
        send(msgRxSNR.set(transportGetSignalReport(SR_RX_SNR)));
        // wait a bit
        wait(5000);
      }
      

      ClearEepromConfig sketch

      /*
       * The MySensors Arduino library handles the wireless radio link and protocol
       * between your home built sensors/actuators and HA controller of choice.
       * The sensors forms a self healing radio network with optional repeaters. Each
       * repeater and gateway builds a routing tables in EEPROM which keeps track of the
       * network topology allowing messages to be routed to nodes.
       *
       * Created by Henrik Ekblad <henrik.ekblad@mysensors.org>
       * Copyright (C) 2013-2019 Sensnology AB
       * Full contributor list: https://github.com/mysensors/MySensors/graphs/contributors
       *
       * Documentation: http://www.mysensors.org
       * Support Forum: http://forum.mysensors.org
       *
       * This program is free software; you can redistribute it and/or
       * modify it under the terms of the GNU General Public License
       * version 2 as published by the Free Software Foundation.
       *
       *******************************
       *
       * DESCRIPTION
       *
       * This sketch clears radioId, relayId and other routing information in EEPROM back to factory default
       *
       */
      // load core modules only
      #define MY_CORE_ONLY
      #define MY_SERIALDEVICE Serial
      
      #include <MySensors.h>
      
      void setup()
      {
      	Serial.begin(MY_BAUD_RATE);
      	Serial.println("Started clearing. Please wait...");
        Serial.println(EEPROM_LOCAL_CONFIG_ADDRESS);
      	for (uint16_t i=0; i<EEPROM_LOCAL_CONFIG_ADDRESS; i++) {
      		hwWriteConfig(i,0xFF);
      	}
      	Serial.println("Clearing done.");
      }
      
      void loop()
      {
      	// Nothing to do here...
      }
      
      posted in Troubleshooting
      paulsp
      paulsp
    • RE: Adafruit RFM69 Bonnet not working

      @mfalkvidd Running the cleareeprom sketch on the M0 Express did not work.

      1385 MCO:BGN:INIT NODE,CP=RPNNS---,FQ=48,REL=255,VER=2.3.2
      6370 TSM:INIT
      8022 TSF:WUR:MS=0
      8022 THA:INIT
      8022 RFM69:INIT
      8027 RFM69:INIT:PIN,CS=10,IQP=6,IQN=6,RST=11
      8029 RFM69:PTX:LEVEL=5 dBm
      8029 TSM:INIT:TSP OK
      8029 !TSF:SID:FAIL,ID=0
      8029 TSM:FAIL:CNT=1
      8029 TSM:FAIL:DIS
      8029 TSF:TDI:TSL
      8029 RFM69:RSL
      18030 TSM:FAIL:RE-INIT
      18030 TSM:INIT
      19367 THA:INIT
      19367 RFM69:INIT
      19372 RFM69:INIT:PIN,CS=10,IQP=6,IQN=6,RST=11
      19373 RFM69:PTX:LEVEL=5 dBm
      19373 TSM:INIT:TSP OK
      19373 !TSF:SID:FAIL,ID=0
      19374 TSM:FAIL:CNT=2
      19374 TSM:FAIL:DIS
      19374 TSF:TDI:TSL
      19374 RFM69:RSL
      29375 TSM:FAIL:RE-INIT
      

      How can I determine the gateway running the PI is receiving a request from the M0 and then replying to the M0?

      posted in Troubleshooting
      paulsp
      paulsp
    • Adafruit RFM69 Bonnet not working

      I have an Adafruit RFM69 Bonnet attached to a Raspberry PI 0. The device works correctly with Adafruit's sample python code, but the mysgw.cpp Linux example from version 2.3.4 or the current development branch has the issues described below.

      Issues:

      • The sanity check would never succeed.
        DEBUG !RFM69:INIT:SANCHK FAIL
        One resolution I found:
        Comment out the code that prevented toggling the CS_PIN
      pi@raspberrypi0w-1:~/github/MySensors $ git diff --patch
      diff --git a/hal/transport/RFM69/driver/new/RFM69_new.cpp b/hal/transport/RFM69/driver/new/RFM69_new.cpp
      index cf4f0f02..f374f06d 100644
      --- a/hal/transport/RFM69/driver/new/RFM69_new.cpp
      +++ b/hal/transport/RFM69/driver/new/RFM69_new.cpp
      @@ -52,11 +52,11 @@ uint8_t RFM69_spi_txbuff[RFM69_MAX_PACKET_LEN + 1];
       
       LOCAL void RFM69_csn(const bool level)
       {
      -#if defined(__linux__)
      -       (void)level;
      -#else
      +//#if defined(__linux__)
      +//     (void)level;
      +//#else
              hwDigitalWrite(MY_RFM69_CS_PIN, level);
      -#endif
      +//#endif
       }
       
       LOCAL void RFM69_prepareSPITransaction(void)
      @@ -207,10 +207,10 @@ LOCAL bool RFM69_initialise(const uint32_t frequencyHz)
              RFM69.ATCtargetRSSI = RFM69_RSSItoInternal(MY_RFM69_ATC_TARGET_RSSI_DBM);
       
              // SPI init
      -#if !defined(__linux__)
      +//#if !defined(__linux__)
              hwDigitalWrite(MY_RFM69_CS_PIN, HIGH);
              hwPinMode(MY_RFM69_CS_PIN, OUTPUT);
      -#endif
      +//#endif
              RFM69_SPI.begin();
              (void)RFM69_setRadioMode(RFM69_RADIO_MODE_STDBY);
              // set configuration, encryption is disabled
      
      
      • Message send fails
      pi@raspberrypi0w-1:~/github/MySensors $ sudo bin/mysgw
      Feb 24 22:34:12 INFO  Starting gateway...
      Feb 24 22:34:12 INFO  Protocol version - 2.4.0-alpha
      Feb 24 22:34:12 DEBUG MCO:BGN:INIT GW,CP=RPNGL---,FQ=NA,REL=0,VER=2.4.0-alpha
      Feb 24 22:34:12 DEBUG TSF:LRT:OK
      Feb 24 22:34:12 DEBUG TSM:INIT
      Feb 24 22:34:12 DEBUG TSF:WUR:MS=0
      Feb 24 22:34:12 DEBUG RFM69:INIT
      Feb 24 22:34:12 DEBUG RFM69:INIT:PIN,CS=26,IQP=15,IQN=22,RST=22
      Feb 24 22:34:13 DEBUG RFM69:PTX:LEVEL=5 dBm
      Feb 24 22:34:13 DEBUG RFM69:DUMP:Registers Address | HEX value 
      Feb 24 22:34:13 DEBUG RFM69:DUMP:REG=0x01 Value=0x00
      Feb 24 22:34:13 DEBUG RFM69:DUMP:REG=0x02 Value=0x00
      Feb 24 22:34:13 DEBUG RFM69:DUMP:REG=0x03 Value=0x00
      Feb 24 22:34:13 DEBUG RFM69:DUMP:REG=0x04 Value=0x00
      Feb 24 22:34:13 DEBUG RFM69:DUMP:REG=0x05 Value=0x00
      Feb 24 22:34:13 DEBUG RFM69:DUMP:REG=0x06 Value=0x00
      Feb 24 22:34:13 DEBUG RFM69:DUMP:REG=0x07 Value=0x00
      Feb 24 22:34:13 DEBUG RFM69:DUMP:REG=0x08 Value=0x00
      Feb 24 22:34:13 DEBUG RFM69:DUMP:REG=0x09 Value=0x00
      Feb 24 22:34:13 DEBUG RFM69:DUMP:REG=0x0a Value=0x00
      Feb 24 22:34:13 DEBUG RFM69:DUMP:REG=0x0b Value=0x00
      Feb 24 22:34:13 DEBUG RFM69:DUMP:REG=0x0c Value=0x00
      Feb 24 22:34:13 DEBUG RFM69:DUMP:REG=0x0d Value=0x00
      Feb 24 22:34:13 DEBUG RFM69:DUMP:REG=0x0e Value=0x00
      Feb 24 22:34:13 DEBUG RFM69:DUMP:REG=0x0f Value=0x00
      Feb 24 22:34:13 DEBUG RFM69:DUMP:REG=0x10 Value=0x00
      Feb 24 22:34:13 DEBUG RFM69:DUMP:REG=0x11 Value=0x00
      Feb 24 22:34:13 DEBUG RFM69:DUMP:REG=0x12 Value=0x00
      Feb 24 22:34:13 DEBUG RFM69:DUMP:REG=0x13 Value=0x00
      Feb 24 22:34:13 DEBUG RFM69:DUMP:REG=0x14 Value=0x00
      Feb 24 22:34:13 DEBUG RFM69:DUMP:REG=0x15 Value=0x00
      Feb 24 22:34:13 DEBUG RFM69:DUMP:REG=0x16 Value=0x00
      Feb 24 22:34:13 DEBUG RFM69:DUMP:REG=0x17 Value=0x00
      Feb 24 22:34:13 DEBUG RFM69:DUMP:REG=0x18 Value=0x00
      Feb 24 22:34:13 DEBUG RFM69:DUMP:REG=0x19 Value=0x00
      Feb 24 22:34:13 DEBUG RFM69:DUMP:REG=0x1a Value=0x00
      Feb 24 22:34:13 DEBUG RFM69:DUMP:REG=0x1b Value=0x00
      Feb 24 22:34:13 DEBUG RFM69:DUMP:REG=0x1c Value=0x00
      Feb 24 22:34:13 DEBUG RFM69:DUMP:REG=0x1d Value=0x00
      Feb 24 22:34:13 DEBUG RFM69:DUMP:REG=0x1e Value=0x00
      Feb 24 22:34:13 DEBUG RFM69:DUMP:REG=0x1f Value=0x00
      Feb 24 22:34:13 DEBUG RFM69:DUMP:REG=0x20 Value=0x00
      Feb 24 22:34:13 DEBUG RFM69:DUMP:REG=0x21 Value=0x00
      Feb 24 22:34:13 DEBUG RFM69:DUMP:REG=0x22 Value=0x00
      Feb 24 22:34:13 DEBUG RFM69:DUMP:REG=0x23 Value=0x00
      Feb 24 22:34:13 DEBUG RFM69:DUMP:REG=0x24 Value=0x00
      Feb 24 22:34:13 DEBUG RFM69:DUMP:REG=0x25 Value=0x00
      Feb 24 22:34:13 DEBUG RFM69:DUMP:REG=0x26 Value=0x00
      Feb 24 22:34:13 DEBUG RFM69:DUMP:REG=0x27 Value=0x00
      Feb 24 22:34:13 DEBUG RFM69:DUMP:REG=0x28 Value=0x00
      Feb 24 22:34:13 DEBUG RFM69:DUMP:REG=0x29 Value=0x00
      Feb 24 22:34:13 DEBUG RFM69:DUMP:REG=0x2a Value=0x00
      Feb 24 22:34:13 DEBUG RFM69:DUMP:REG=0x2b Value=0x00
      Feb 24 22:34:13 DEBUG RFM69:DUMP:REG=0x2c Value=0x00
      Feb 24 22:34:13 DEBUG RFM69:DUMP:REG=0x2d Value=0x00
      Feb 24 22:34:13 DEBUG RFM69:DUMP:REG=0x2e Value=0x00
      Feb 24 22:34:13 DEBUG RFM69:DUMP:REG=0x2f Value=0x00
      Feb 24 22:34:13 DEBUG RFM69:DUMP:REG=0x30 Value=0x00
      Feb 24 22:34:13 DEBUG RFM69:DUMP:REG=0x31 Value=0x00
      Feb 24 22:34:13 DEBUG RFM69:DUMP:REG=0x32 Value=0x00
      Feb 24 22:34:13 DEBUG RFM69:DUMP:REG=0x33 Value=0x00
      Feb 24 22:34:13 DEBUG RFM69:DUMP:REG=0x34 Value=0x00
      Feb 24 22:34:13 DEBUG RFM69:DUMP:REG=0x35 Value=0x00
      Feb 24 22:34:13 DEBUG RFM69:DUMP:REG=0x36 Value=0x00
      Feb 24 22:34:13 DEBUG RFM69:DUMP:REG=0x37 Value=0x00
      Feb 24 22:34:13 DEBUG RFM69:DUMP:REG=0x38 Value=0x00
      Feb 24 22:34:13 DEBUG RFM69:DUMP:REG=0x39 Value=0x00
      Feb 24 22:34:13 DEBUG RFM69:DUMP:REG=0x3a Value=0x00
      Feb 24 22:34:13 DEBUG RFM69:DUMP:REG=0x3b Value=0x00
      Feb 24 22:34:13 DEBUG RFM69:DUMP:REG=0x3c Value=0x00
      Feb 24 22:34:13 DEBUG RFM69:DUMP:REG=0x3d Value=0x00
      Feb 24 22:34:13 DEBUG RFM69:DUMP:REG=0x3e Value=0x00
      Feb 24 22:34:13 DEBUG RFM69:DUMP:REG=0x3f Value=0x00
      Feb 24 22:34:13 DEBUG RFM69:DUMP:REG=0x40 Value=0x00
      Feb 24 22:34:13 DEBUG RFM69:DUMP:REG=0x41 Value=0x00
      Feb 24 22:34:13 DEBUG RFM69:DUMP:REG=0x42 Value=0x00
      Feb 24 22:34:13 DEBUG RFM69:DUMP:REG=0x43 Value=0x00
      Feb 24 22:34:13 DEBUG RFM69:DUMP:REG=0x44 Value=0x00
      Feb 24 22:34:13 DEBUG RFM69:DUMP:REG=0x45 Value=0x00
      Feb 24 22:34:13 DEBUG RFM69:DUMP:REG=0x46 Value=0x00
      Feb 24 22:34:13 DEBUG RFM69:DUMP:REG=0x47 Value=0x00
      Feb 24 22:34:13 DEBUG RFM69:DUMP:REG=0x48 Value=0x00
      Feb 24 22:34:13 DEBUG RFM69:DUMP:REG=0x49 Value=0x00
      Feb 24 22:34:13 DEBUG RFM69:DUMP:REG=0x4a Value=0x00
      Feb 24 22:34:13 DEBUG RFM69:DUMP:REG=0x4b Value=0x00
      Feb 24 22:34:13 DEBUG RFM69:DUMP:REG=0x4c Value=0x00
      Feb 24 22:34:13 DEBUG RFM69:DUMP:REG=0x4d Value=0x00
      Feb 24 22:34:13 DEBUG RFM69:DUMP:REG=0x4e Value=0x00
      Feb 24 22:34:13 DEBUG RFM69:DUMP:REG=0x4f Value=0x00
      Feb 24 22:34:13 DEBUG !RFM69:INIT:SANCHK FAIL
      Feb 24 22:34:13 DEBUG !TSM:INIT:TSP FAIL
      Feb 24 22:34:13 DEBUG TSM:FAIL:CNT=1
      Feb 24 22:34:13 DEBUG TSM:FAIL:DIS
      Feb 24 22:34:13 DEBUG TSF:TDI:TSL
      Feb 24 22:34:13 DEBUG RFM69:RSL
      Feb 24 22:34:23 DEBUG TSM:FAIL:RE-INIT
      Feb 24 22:34:23 DEBUG TSM:INIT
      Feb 24 22:34:23 DEBUG RFM69:INIT
      Feb 24 22:34:23 DEBUG RFM69:INIT:PIN,CS=26,IQP=15,IQN=22,RST=22
      Feb 24 22:34:23 DEBUG RFM69:PTX:LEVEL=5 dBm
      Feb 24 22:34:23 DEBUG RFM69:DUMP:Registers Address | HEX value 
      Feb 24 22:34:23 DEBUG RFM69:DUMP:REG=0x01 Value=0x04
      Feb 24 22:34:23 DEBUG RFM69:DUMP:REG=0x02 Value=0x00
      Feb 24 22:34:23 DEBUG RFM69:DUMP:REG=0x03 Value=0x02
      Feb 24 22:34:23 DEBUG RFM69:DUMP:REG=0x04 Value=0x40
      Feb 24 22:34:23 DEBUG RFM69:DUMP:REG=0x05 Value=0x03
      Feb 24 22:34:23 DEBUG RFM69:DUMP:REG=0x06 Value=0x33
      Feb 24 22:34:23 DEBUG RFM69:DUMP:REG=0x07 Value=0xd9
      Feb 24 22:34:23 DEBUG RFM69:DUMP:REG=0x08 Value=0x00
      Feb 24 22:34:23 DEBUG RFM69:DUMP:REG=0x09 Value=0x00
      Feb 24 22:34:23 DEBUG RFM69:DUMP:REG=0x0a Value=0x41
      Feb 24 22:34:23 DEBUG RFM69:DUMP:REG=0x0b Value=0x40
      Feb 24 22:34:23 DEBUG RFM69:DUMP:REG=0x0c Value=0x02
      Feb 24 22:34:23 DEBUG RFM69:DUMP:REG=0x0d Value=0x92
      Feb 24 22:34:23 DEBUG RFM69:DUMP:REG=0x0e Value=0xf5
      Feb 24 22:34:23 DEBUG RFM69:DUMP:REG=0x0f Value=0x20
      Feb 24 22:34:23 DEBUG RFM69:DUMP:REG=0x10 Value=0x24
      Feb 24 22:34:23 DEBUG RFM69:DUMP:REG=0x11 Value=0x97
      Feb 24 22:34:23 DEBUG RFM69:DUMP:REG=0x12 Value=0x09
      Feb 24 22:34:23 DEBUG RFM69:DUMP:REG=0x13 Value=0x1a
      Feb 24 22:34:23 DEBUG RFM69:DUMP:REG=0x14 Value=0x40
      Feb 24 22:34:23 DEBUG RFM69:DUMP:REG=0x15 Value=0xb0
      Feb 24 22:34:23 DEBUG RFM69:DUMP:REG=0x16 Value=0x7b
      Feb 24 22:34:23 DEBUG RFM69:DUMP:REG=0x17 Value=0x9b
      Feb 24 22:34:23 DEBUG RFM69:DUMP:REG=0x18 Value=0x88
      Feb 24 22:34:23 DEBUG RFM69:DUMP:REG=0x19 Value=0xe2
      Feb 24 22:34:23 DEBUG RFM69:DUMP:REG=0x1a Value=0xe2
      Feb 24 22:34:23 DEBUG RFM69:DUMP:REG=0x1b Value=0x40
      Feb 24 22:34:23 DEBUG RFM69:DUMP:REG=0x1c Value=0x80
      Feb 24 22:34:23 DEBUG RFM69:DUMP:REG=0x1d Value=0x06
      Feb 24 22:34:23 DEBUG RFM69:DUMP:REG=0x1e Value=0x10
      Feb 24 22:34:23 DEBUG RFM69:DUMP:REG=0x1f Value=0x00
      Feb 24 22:34:23 DEBUG RFM69:DUMP:REG=0x20 Value=0x00
      Feb 24 22:34:23 DEBUG RFM69:DUMP:REG=0x21 Value=0x00
      Feb 24 22:34:23 DEBUG RFM69:DUMP:REG=0x22 Value=0x00
      Feb 24 22:34:23 DEBUG RFM69:DUMP:REG=0x23 Value=0x02
      Feb 24 22:34:23 DEBUG RFM69:DUMP:REG=0x24 Value=0xff
      Feb 24 22:34:23 DEBUG RFM69:DUMP:REG=0x25 Value=0x00
      Feb 24 22:34:23 DEBUG RFM69:DUMP:REG=0x26 Value=0x07
      Feb 24 22:34:23 DEBUG RFM69:DUMP:REG=0x27 Value=0x80
      Feb 24 22:34:23 DEBUG RFM69:DUMP:REG=0x28 Value=0x00
      Feb 24 22:34:23 DEBUG RFM69:DUMP:REG=0x29 Value=0xe4
      Feb 24 22:34:23 DEBUG RFM69:DUMP:REG=0x2a Value=0x00
      Feb 24 22:34:23 DEBUG RFM69:DUMP:REG=0x2b Value=0x00
      Feb 24 22:34:23 DEBUG RFM69:DUMP:REG=0x2c Value=0x00
      Feb 24 22:34:23 DEBUG RFM69:DUMP:REG=0x2d Value=0x03
      Feb 24 22:34:23 DEBUG RFM69:DUMP:REG=0x2e Value=0x88
      Feb 24 22:34:23 DEBUG RFM69:DUMP:REG=0x2f Value=0x2d
      Feb 24 22:34:23 DEBUG RFM69:DUMP:REG=0x30 Value=0x64
      Feb 24 22:34:23 DEBUG RFM69:DUMP:REG=0x31 Value=0x00
      Feb 24 22:34:23 DEBUG RFM69:DUMP:REG=0x32 Value=0x00
      Feb 24 22:34:23 DEBUG RFM69:DUMP:REG=0x33 Value=0x00
      Feb 24 22:34:23 DEBUG RFM69:DUMP:REG=0x34 Value=0x00
      Feb 24 22:34:23 DEBUG RFM69:DUMP:REG=0x35 Value=0x00
      Feb 24 22:34:23 DEBUG RFM69:DUMP:REG=0x36 Value=0x00
      Feb 24 22:34:23 DEBUG RFM69:DUMP:REG=0x37 Value=0xd4
      Feb 24 22:34:23 DEBUG RFM69:DUMP:REG=0x38 Value=0x40
      Feb 24 22:34:23 DEBUG RFM69:DUMP:REG=0x39 Value=0xff
      Feb 24 22:34:23 DEBUG RFM69:DUMP:REG=0x3a Value=0xff
      Feb 24 22:34:23 DEBUG RFM69:DUMP:REG=0x3b Value=0x00
      Feb 24 22:34:23 DEBUG RFM69:DUMP:REG=0x3c Value=0x05
      Feb 24 22:34:23 DEBUG RFM69:DUMP:REG=0x3d Value=0x10
      Feb 24 22:34:23 DEBUG RFM69:DUMP:REG=0x3e Value=0x00
      Feb 24 22:34:23 DEBUG RFM69:DUMP:REG=0x3f Value=0x00
      Feb 24 22:34:23 DEBUG RFM69:DUMP:REG=0x40 Value=0x00
      Feb 24 22:34:23 DEBUG RFM69:DUMP:REG=0x41 Value=0x00
      Feb 24 22:34:23 DEBUG RFM69:DUMP:REG=0x42 Value=0x00
      Feb 24 22:34:23 DEBUG RFM69:DUMP:REG=0x43 Value=0x00
      Feb 24 22:34:23 DEBUG RFM69:DUMP:REG=0x44 Value=0x00
      Feb 24 22:34:23 DEBUG RFM69:DUMP:REG=0x45 Value=0x00
      Feb 24 22:34:23 DEBUG RFM69:DUMP:REG=0x46 Value=0x00
      Feb 24 22:34:23 DEBUG RFM69:DUMP:REG=0x47 Value=0x00
      Feb 24 22:34:23 DEBUG RFM69:DUMP:REG=0x48 Value=0x00
      Feb 24 22:34:23 DEBUG RFM69:DUMP:REG=0x49 Value=0x00
      Feb 24 22:34:23 DEBUG RFM69:DUMP:REG=0x4a Value=0x00
      Feb 24 22:34:23 DEBUG RFM69:DUMP:REG=0x4b Value=0x00
      Feb 24 22:34:23 DEBUG RFM69:DUMP:REG=0x4c Value=0x00
      Feb 24 22:34:23 DEBUG RFM69:DUMP:REG=0x4d Value=0x00
      Feb 24 22:34:23 DEBUG RFM69:DUMP:REG=0x4e Value=0x01
      Feb 24 22:34:23 DEBUG RFM69:DUMP:REG=0x4f Value=0x00
      Feb 24 22:34:23 DEBUG TSM:INIT:TSP OK
      Feb 24 22:34:23 DEBUG TSM:INIT:GW MODE
      Feb 24 22:34:23 DEBUG TSM:READY:ID=0,PAR=0,DIS=0
      Feb 24 22:34:23 DEBUG MCO:REG:NOT NEEDED
      Feb 24 22:34:23 DEBUG MCO:BGN:STP
      Feb 24 22:34:23 DEBUG MCO:BGN:INIT OK,TSP=1
      Feb 24 22:34:23 DEBUG GWT:RMQ:CONNECTING...
      Feb 24 22:34:23 DEBUG connected to 127.0.0.1
      Feb 24 22:34:23 DEBUG GWT:RMQ:OK
      Feb 24 22:34:23 DEBUG GWT:TPS:TOPIC=mygateway1-out/0/255/0/0/18,MSG SENT
      Feb 24 22:34:23 DEBUG TSM:READY:NWD REQ
      Feb 24 22:34:23 DEBUG RFM69:SWR:SEND,TO=255,SEQ=0,RETRY=0
      Feb 24 22:34:23 DEBUG RFM69:CSMA:RSSI=-106
      Feb 24 22:34:23 DEBUG ?TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=20,pt=0,l=0,sg=0,ft=0,st=OK:
      
      • Does not respond to an RFM69 running the RFM69_RFM95_ATC_SignalReport example. Below is the output from the application running on an Adafruit M0 Express Feather and an Adafruit RFM69HW Feather
      4249676 TSM:FAIL:RE-INIT
      4249676 TSM:INIT
      4250933 THA:INIT
      4250933 RFM69:INIT
      4250938 RFM69:INIT:PIN,CS=10,IQP=6,IQN=6,RST=11
      4250939 RFM69:PTX:LEVEL=5 dBm
      4250940 TSM:INIT:TSP OK
      4250940 !TSF:SID:FAIL,ID=0
      4250940 TSM:FAIL:CNT=7
      4250940 TSM:FAIL:DIS
      4250940 TSF:TDI:TSL
      4250940 RFM69:RSL
      

      Below is the how mysgw was build

      ./configure --mi-is-rfm69hw --my-transport=rfm69 --my-gateway=mqtt --my-controller-ip-address=127.0.0.1 --my-rfm69-cs-pin=26 --my-rfm69-irq-pin=15 --extra-cxxflags="-DMY_DEBUG_VERBOSE_RFM69 -DMY_DEBUG_VERBOSE_RFM69_REGISTERS -DMY_RFM69_RST_PIN=22" --my-debug=enable
      

      Any help is appreciated.

      posted in Troubleshooting
      paulsp
      paulsp