RPI Gateway Error



  • Hi!
    I'm using a rpi gw with nrf24 in combination with Domoticz,worked ok until upgrading Domoticz that must have debian buster to work! Now it is impossible to build the gw , I have tried a number of times with fresh debian installs. and different pi's

    1. when doing 'make' a number of warnings but no errors : one example see below

    ./core/MyMessage.cpp:284:17: warning: ‘char strncpy(char*, const char*, size_t ’ output may be truncated copying between 0 and 25 bytes from a string of length 25 [-Wstringop-truncation]
    (void)strncpy(buffer, this->data, this->getLength());
    ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    In member function ‘char* MyMessage::getString(char*) const’,*

    1. output from test :

    Mar 25 10:59:23 INFO Starting gateway...
    Mar 25 10:59:23 INFO Protocol version - 2.3.2
    Mar 25 10:59:23 DEBUG MCO:BGN:INIT GW,CP=RNNGL---,FQ=NA,REL=255,VER=2.3.2
    Mar 25 10:59:23 DEBUG TSF:LRT:OK
    Mar 25 10:59:23 DEBUG TSM:INIT
    Mar 25 10:59:23 DEBUG TSF:WUR:MS=0
    Mar 25 10:59:23 DEBUG !TSM:INIT:TSP FAIL
    Mar 25 10:59:23 DEBUG TSM:FAIL:CNT=1
    Mar 25 10:59:23 DEBUG TSM:FAIL:DIS
    Mar 25 10:59:23 DEBUG TSF:TDI:TSL
    Mar 25 10:59:33 DEBUG TSM:FAIL:RE-INIT
    Mar 25 10:59:33 DEBUG TSM:INIT
    Mar 25 10:59:33 DEBUG !TSM:INIT:TSP FAIL
    Mar 25 10:59:33 DEBUG TSM:FAIL:CNT=2
    Mar 25 10:59:33 DEBUG TSM:FAIL:DIS
    Mar 25 10:59:33 DEBUG TSF:TDI:TSL
    ^CMar 25 10:59:38 NOTICE Received SIGINT

    I am using an adapter (https://oshpark.com/shared_projects/aXLXBO3f) so pinout is ok.
    Configuration :
    ./configure --my-transport=rf24 --my-rf24-irq-pin=18 --my-gateway=ethernet --my-port=5003 --my-leds-err-pin=11 --my-leds-rx-pin=13 --my-leds-tx-pin=15
    (tried with just ./configure --my-transport=rf24, same result)

    Software/hardware:
    debian ver 10.3 (with SPI enabled)

    processor : 0
    model name : ARMv7 Processor rev 5 (v7l)
    BogoMIPS : 38.40
    Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm
    CPU implementer : 0x41
    CPU architecture: 7
    CPU variant : 0x0
    CPU part : 0xc07
    CPU revision : 5

    processor : 1
    model name : ARMv7 Processor rev 5 (v7l)
    BogoMIPS : 38.40
    Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm
    CPU implementer : 0x41
    CPU architecture: 7
    CPU variant : 0x0
    CPU part : 0xc07
    CPU revision : 5

    processor : 2
    model name : ARMv7 Processor rev 5 (v7l)
    BogoMIPS : 38.40
    Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm
    CPU implementer : 0x41
    CPU architecture: 7
    CPU variant : 0x0
    CPU part : 0xc07
    CPU revision : 5

    processor : 3
    model name : ARMv7 Processor rev 5 (v7l)
    BogoMIPS : 38.40
    Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm
    CPU implementer : 0x41
    CPU architecture: 7
    CPU variant : 0x0
    CPU part : 0xc07
    CPU revision : 5

    Hardware : BCM2835
    Revision : a01041
    Serial : 000000004831d281
    Model : Raspberry Pi 2 Model B Rev 1.1

    Compiler : gcc (Raspbian 8.3.0-6+rpi1) 8.3.0

    Is there a known problem with latest debian Buster ?
    I'm going nut's and have run out of ideas how to solve this

    Sorry for this long text, but wanted to give as much information as possible.
    Any help appreciated!



  • @hakha4 Domoticz flaked on update with my Buster on the Pi Controller, updated Buster and all fixed.



  • I have updated Buster and Domoticz works ok but can't get the gw to work. Btw is it normal (ok) to get a number of warnings when compiling??


Log in to reply
 

Suggested Topics

221
Online

9.2k
Users

9.9k
Topics

103.2k
Posts