Git Product home page Git Product logo

Comments (3)

eyip002 avatar eyip002 commented on September 27, 2024

This occurs on the SWTbahn Full platform, but does not happen on the SWTbahn Standard platform. This error is probably because the SWTbahn Full are using newer bidib firmware that sends out an unrecognised serial message.

from libbidib.

BLuedtke avatar BLuedtke commented on September 27, 2024

Lower level log (excerpt):

Jul 27 10:30:13 raspberrypi3 swtbahn: libbidib: Received from: 0x0b 0x00 0x00 0x00 seq: 114 type: MSG_LC_STAT (0xc0) action id: 0
Jul 27 10:30:13 raspberrypi3 swtbahn: libbidib: Message bytes: 0x07 0x0b 0x00 0x72 0xc0 0x22 0x00 0x00

Jul 27 10:30:13 raspberrypi3 swtbahn: libbidib: Received from: 0x0a 0x00 0x00 0x00 seq: 55 type: MSG_LC_STAT (0xc0) action id: 0
Jul 27 10:30:13 raspberrypi3 swtbahn: libbidib: Message bytes: 0x07 0x0a 0x00 0x37 0xc0 0x23 0x00 0x00

Jul 27 10:30:13 raspberrypi3 swtbahn: libbidib: Received from: 0x08 0x00 0x00 0x00 seq: 49 type: MSG_LC_STAT (0xc0) action id: 0
Jul 27 10:30:13 raspberrypi3 swtbahn: libbidib: Message bytes: 0x07 0x08 0x00 0x31 0xc0 0x23 0x00 0x00

Jul 27 10:30:14 raspberrypi3 swtbahn: libbidib: Received from: 0x00 0x00 0x00 0x00 seq: 107 type: MSG_BOOST_DIAGNOSTIC (0xb2) action id: 0
Jul 27 10:30:14 raspberrypi3 swtbahn: libbidib: Message bytes: 0x09 0x00 0x6b 0xb2 0x00 0x42 0x01 0x96 0x02 0x16

Jul 27 10:30:14 raspberrypi3 swtbahn: libbidib: Received from: 0x07 0x00 0x00 0x00 seq: 110 type: MSG_BOOST_DIAGNOSTIC (0xb2) action id: 0
Jul 27 10:30:14 raspberrypi3 swtbahn: libbidib: Message bytes: 0x0a 0x07 0x00 0x6e 0xb2 0x00 0x3a 0x01 0x98 0x02 0x15

Jul 27 10:30:14 raspberrypi3 swtbahn: libbidib: Received from: 0x00 0x00 0x00 0x00 seq: 108 type: MSG_BM_DYN_STATE (0xaa) action id: 0
Jul 27 10:30:14 raspberrypi3 swtbahn: libbidib: Message bytes: 0x08 0x00 0x6c 0xaa 0x09 0x01 0x80 0x01 0x05
Jul 27 10:30:14 raspberrypi3 swtbahn: libbidib: No train configured for dcc address 0x01 0x80

Jul 27 10:30:14 raspberrypi3 swtbahn: libbidib: Received from: 0x0b 0x00 0x00 0x00 seq: 115 type: MSG_LC_STAT (0xc0) action id: 0
Jul 27 10:30:14 raspberrypi3 swtbahn: libbidib: Message bytes: 0x07 0x0b 0x00 0x73 0xc0 0x22 0x00 0x01

Jul 27 10:30:14 raspberrypi3 swtbahn: libbidib: Received from: 0x0a 0x00 0x00 0x00 seq: 56 type: MSG_LC_STAT (0xc0) action id: 0
Jul 27 10:30:14 raspberrypi3 swtbahn: libbidib: Message bytes: 0x07 0x0a 0x00 0x38 0xc0 0x23 0x00 0x01

Jul 27 10:30:14 raspberrypi3 swtbahn: libbidib: Received from: 0x08 0x00 0x00 0x00 seq: 50 type: MSG_LC_STAT (0xc0) action id: 0
Jul 27 10:30:14 raspberrypi3 swtbahn: libbidib: Message bytes: 0x07 0x08 0x00 0x32 0xc0 0x23 0x00 0x01

Jul 27 10:30:15 raspberrypi3 swtbahn: libbidib: Received from: 0x00 0x00 0x00 0x00 seq: 109 type: MSG_BOOST_DIAGNOSTIC (0xb2) action id: 0
Jul 27 10:30:15 raspberrypi3 swtbahn: libbidib: Message bytes: 0x09 0x00 0x6d 0xb2 0x00 0x43 0x01 0x96 0x02 0x15

Jul 27 10:30:15 raspberrypi3 swtbahn: libbidib: Received from: 0x07 0x00 0x00 0x00 seq: 111 type: MSG_BOOST_DIAGNOSTIC (0xb2) action id: 0
Jul 27 10:30:15 raspberrypi3 swtbahn: libbidib: Message bytes: 0x0a 0x07 0x00 0x6f 0xb2 0x00 0x3e 0x01 0x97 0x02 0x15

Jul 27 10:30:15 raspberrypi3 swtbahn: libbidib: Received from: 0x00 0x00 0x00 0x00 seq: 110 type: MSG_BM_DYN_STATE (0xaa) action id: 0
Jul 27 10:30:15 raspberrypi3 swtbahn: libbidib: Message bytes: 0x08 0x00 0x6e 0xaa 0x09 0x01 0x80 0x01 0x00
Jul 27 10:30:15 raspberrypi3 swtbahn: libbidib: No train configured for dcc address 0x01 0x80

from libbidib.

eyip002 avatar eyip002 commented on September 27, 2024

Ignore orientation bit in DCC address when finding train data.
Fixed in branch bidib_messages.

from libbidib.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.