Orange Pi PC no ack



  • I have a working system with serial gateway and an arduino nano connect with serial. I would like skip the arduino, use direct connect rf24l01+ and orange pi pc.

    I use orange pi pc with armbian.
    I fought with spidev, finally I resolved.

    But the ACK not recive to node, and I don't understand what is problem.

    My configure

    ./configure --spi-spidev-device=/dev/spidev0.0 --my-transport=rf24 --my-rf24-ce-pin=25 --my-rf24-cs-pin=7

    Both device are on my table.

    My gateway log:
    Starting gateway...
    Protocol version - 2.3.1-beta
    MCO:BGN:INIT GW,CP=RNNGL---,VER=2.3.1-beta
    TSF:LRT:OK
    TSM:INIT
    TSF:WUR:MS=0
    TSM:INIT:TSP OK
    TSM:INIT:GW MODE
    TSM:READY:ID=0,PAR=0,DIS=0
    MCO:REG:NOT NEEDED
    Listening for connections on 0.0.0.0:5003
    MCO:BGN:STP
    MCO:BGN:INIT OK,TSP=1
    TSM:READY:NWD REQ
    TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=20,pt=0,l=0,sg=0,ft=0,st=OK:
    TSF:MSG:READ,12-12-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    TSF:MSG:BC
    TSF:MSG:FPAR REQ,ID=12
    TSF:PNG:SEND,TO=0
    TSF:CKU:OK
    TSF:MSG:GWL OK
    TSF:MSG:SEND,0-0-12-12,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0
    TSF:MSG:READ,12-12-0,s=255,c=3,t=24,pt=1,l=1,sg=0:1
    TSF:MSG:PINGED,ID=12,HP=1
    TSF:MSG:SEND,0-0-12-12,s=255,c=3,t=25,pt=1,l=1,sg=0,ft=0,st=OK:1
    TSF:MSG:READ,12-12-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    TSF:MSG:BC
    TSF:MSG:FPAR REQ,ID=12
    TSF:PNG:SEND,TO=0
    TSF:CKU:OK
    TSF:MSG:GWL OK
    !TSF:MSG:SEND,0-0-12-12,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=NACK:0
    TSF:MSG:READ,12-12-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    TSF:MSG:BC
    TSF:MSG:FPAR REQ,ID=12
    TSF:PNG:SEND,TO=0
    TSF:CKU:OK
    TSF:MSG:GWL OK
    TSF:MSG:SEND,0-0-12-12,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0
    TSF:MSG:READ,12-12-0,s=255,c=3,t=24,pt=1,l=1,sg=0:1
    TSF:MSG:PINGED,ID=12,HP=1
    TSF:MSG:SEND,0-0-12-12,s=255,c=3,t=25,pt=1,l=1,sg=0,ft=0,st=OK:1
    TSF:MSG:READ,12-12-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    TSF:MSG:BC
    TSF:MSG:FPAR REQ,ID=12
    TSF:PNG:SEND,TO=0
    TSF:CKU:OK
    TSF:MSG:GWL OK

    RelayAccurator log


    | / |_ / | ___ _ __ ___ ___ _ __ ___
    | |/| | | | _
    \ / _ \ _ \/ __|/ _ \|
    / |
    | | | | |
    | |
    | | / | | _ \ _ | | _
    |
    | |
    |_, |/ _|| ||/_/|| |/
    |
    _/ 2.3.1-beta

    17 MCO:BGN:INIT NODE,CP=RNNNA---,VER=2.3.1-beta
    26 MCO:BGN:BFR
    27 TSM:INIT
    29 TSF:WUR:MS=0
    35 TSM:INIT:TSP OK
    37 TSM:INIT:STATID=12
    39 TSF:SID:OK,ID=12
    40 TSM:FPAR
    77 TSF:MSG:SEND,12-12-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    1762 TSF:MSG:READ,0-0-12,s=255,c=3,t=8,pt=1,l=1,sg=0:0
    1767 TSF:MSG:FPAR PREF
    1769 TSF:MSG:FPAR OK,ID=0,D=1
    1772 TSM:FPAR:OK
    1773 TSM:ID
    1774 TSM:ID:OK
    1776 TSM:UPL
    1779 TSF:MSG:SEND,12-12-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=OK:1
    3786 TSM:UPL
    3823 !TSF:MSG:SEND,12-12-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=NACK:1
    5830 TSM:UPL
    5867 !TSF:MSG:SEND,12-12-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=1,st=NACK:1
    7874 TSM:UPL
    7911 !TSF:MSG:SEND,12-12-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=2,st=NACK:1
    9918 !TSM:UPL:FAIL
    9919 TSM:FPAR
    9956 TSF:MSG:SEND,12-12-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=3,st=OK:
    11963 !TSM:FPAR:NO REPLY
    11965 TSM:FPAR
    12002 TSF:MSG:SEND,12-12-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    12010 TSF:MSG:READ,0-0-12,s=255,c=3,t=25,pt=1,l=1,sg=0:1
    12015 !TSF:MSG:PONG RECV,INACTIVE
    14009 !TSM:FPAR:NO REPLY
    14011 TSM:FPAR
    14048 TSF:MSG:SEND,12-12-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    16055 !TSM:FPAR:NO REPLY
    16057 TSM:FPAR
    16094 TSF:MSG:SEND,12-12-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    18101 !TSM:FPAR:FAIL
    18102 TSM:FAIL:CNT=1
    18104 TSM:FAIL:DIS
    18106 TSF:TDI:TSL
    28109 TSM:FAIL:RE-INIT
    28111 TSM:INIT
    28118 TSM:INIT:TSP OK
    28120 TSM:INIT:STATID=12
    28123 TSF:SID:OK,ID=12
    28125 TSM:FPAR
    28161 TSF:MSG:SEND,12-12-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    30169 !TSM:FPAR:NO REPLY
    30171 TSM:FPAR
    30208 TSF:MSG:SEND,12-12-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    32215 !TSM:FPAR:NO REPLY
    32217 TSM:FPAR
    32253 TSF:MSG:SEND,12-12-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    32505 TSF:MSG:READ,0-0-12,s=255,c=3,t=8,pt=1,l=1,sg=0:0
    32510 TSF:MSG:FPAR PREF
    32513 TSF:MSG:FPAR OK,ID=0,D=1
    32516 TSM:FPAR:OK
    32518 TSM:ID
    32519 TSM:ID:OK
    32521 TSM:UPL
    32524 TSF:MSG:SEND,12-12-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=OK:1
    34531 TSM:UPL
    34568 !TSF:MSG:SEND,12-12-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=NACK:1
    36575 TSM:UPL
    36612 !TSF:MSG:SEND,12-12-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=1,st=NACK:1
    38619 TSM:UPL
    38656 !TSF:MSG:SEND,12-12-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=2,st=NACK:1
    40663 !TSM:UPL:FAIL
    40664 TSM:FPAR
    40700 TSF:MSG:SEND,12-12-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=3,st=OK:
    42710 !TSM:FPAR:NO REPLY
    42712 TSM:FPAR
    42748 TSF:MSG:SEND,12-12-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    42755 TSF:MSG:READ,0-0-12,s=255,c=3,t=25,pt=1,l=1,sg=0:1
    42760 !TSF:MSG:PONG RECV,INACTIVE
    44756 !TSM:FPAR:NO REPLY
    44759 TSM:FPAR
    44795 TSF:MSG:SEND,12-12-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    46803 !TSM:FPAR:NO REPLY


 

422
Online

7.9k
Users

8.8k
Topics

94.3k
Posts