Skip to content

Releases: 0xCAFEDECAF/VanBus

V0.2.2

19 Aug 14:59
21ec234
Compare
Choose a tag to compare

VanBusRx.cpp:

  • Added methods TVanPacketRxQueue::Disable() and TVanPacketRxQueue::Enable(), to be used when other
    timing-critical / interrupt-driven tasks need to be done, like e.g. writing to SPIFFS (SPI Flash File System).
  • Method TVanPacketRxQueue::Setup() returns false if already setup
  • Experimental: accept a few "slightly-off" SOF bytes (normally always 0x0E)

VanBusRx.h:

  • Added method TVanPacketRxQueue::IsSetup(), to check if the Setup() method was called

DisplayNotifications.ino:

  • Offer interactivity via menu on Serial

LiveWebPage.ino:

  • Various bugfixes and updates on parsing sat nav data structures
  • Small update in parsing FM tuner data
  • Updates in parsing and presentation of sat nav status and guidance data
  • "cd_changer_current_disc": set to "---" if no discs present
  • Show also ESP (hardware/board) data
  • Added packet category VAN_PACKETS_COM2000_ETC for filtering serial output
  • Various updates and bugfixes

PacketParser.ino

  • Various updates and bugfixes

V0.2.1

13 Apr 19:49
6f1e0f1
Compare
Choose a tag to compare

VanBusRx.cpp: various changes that seem to decrease the number of packets with CRC errors

Added parameter queueSize to TVanPacketRxQueue::Setup(...), giving option to set queue size at runtime

LiveWebPage.ino:

  • Added separate 'Config.h' file for Wi-Fi settings
  • Added reading of infrared remote control
  • Added reading of ESP system data
  • Improved way to filter which packets are dumped (in JSON format) to Serial
  • Various packet parsing improvements

PacketParser.ino:

  • Disabled Wi-Fi to practically eliminate occurrence of packets with CRC errors
  • Various packet parsing improvements

DisplayNotifications.ino

  • Disabled Wi-Fi to practically eliminate occurrence of packets with CRC errors

SendPacket.ino

  • Disabled Wi-Fi to practically eliminate occurrence of packets with CRC errors

VanBusDump.ino

  • Disabled Wi-Fi to practically eliminate occurrence of packets with CRC errors

V0.2.0

11 Mar 09:25
ae57f2d
Compare
Choose a tag to compare

Added function to transmit packets onto the VAN bus:

  • New class 'TVanBus' with single instance 'VanBus'.
  • New class 'TVanPacketTxQueue' with single instance 'VanBusTx'.
  • Renamed existing class instance 'VanBus' to 'VanBusRx'.

Still lots of TODOs: see code. Also:

  • Transmitting an in-frame response
  • Transmitting a "read" packet then receiving the in-frame response

Added 'DisplayNotifications.ino' example - send all MFD warnings, one by one.

Added 'SendPacket.ino' example - send a packet on the VAN bus.

Added 'LiveWebPage.ino' example - show all received information from the VAN bus on a "live" web page.

Many improvements and documentation updates.

V0.1.2

29 Sep 06:39
61bc4ad
Compare
Choose a tag to compare

Added 'PacketParser.ino' example sketch, showing all packets that I could decode from my vehicle.

Various small improvements, including:

  • FloatToStr(...): save 12 statically allocated bytes of precious RAM.
  • nBitsFromCycles(...): small correction seems to decrease number of CRC errors.
  • TIsrDebugPacket::Dump(...): fix to be in line with the parsing by PinChangeIsr().
  • class TVanPacketRxQueue:
    • Receive method: optionally report queue overrun condition.
    • DumpRaw method: various changes in output formatting, added option to change last character, e.g. to '\0' for dumping into char array.
    • Removed _full flag: not necessary.
    • Added private method _IsQueueOverrun().
    • Removed private method _IsFull().
  • Updated 'library.json' and 'library.properties'.

V0.1.1

28 Jun 20:58
bde660a
Compare
Choose a tag to compare

Removed mentioning ESP32 as supported hardware

V0.1

26 Jun 08:49
0e36161
Compare
Choose a tag to compare

First version to be published in Arduino Library Manager.