/bhas-can-dump

BHAS - CAN message dump

Primary LanguageC++

BHAS - CAN Dump

Dumps all received CAN messages via serial port.

Example:

.______    __    __       ___           _______.                             
|   _  \  |  |  |  |     /   \         /       |                             
|  |_)  | |  |__|  |    /  ^  \       |   (----`                             
|   _  <  |   __   |   /  /_\  \       \   \                                 
|  |_)  | |  |  |  |  /  _____  \  .----)   |                                
|______/  |__|  |__| /__/     \__\ |_______/                                 
                                                                             
  ______     ___      .__   __.     _______   __    __  .___  ___. .______   
 /      |   /   \     |  \ |  |    |       \ |  |  |  | |   \/   | |   _  \  
|  ,----'  /  ^  \    |   \|  |    |  .--.  ||  |  |  | |  \  /  | |  |_)  | 
|  |      /  /_\  \   |  . `  |    |  |  |  ||  |  |  | |  |\/|  | |   ___/  
|  `----./  _____  \  |  |\   |    |  '--'  ||  `--'  | |  |  |  | |  |      
 \______/__/     \__\ |__| \__|    |_______/  \______/  |__|  |__| | _|      

----------------------------------------------------------------------------------

_1499206ms_ (10029ms since previous) CAN message received [length = 7 bytes]:
-----------------------------------------------------------------------------------------------
| DESTINATION ID | SOURCE ID | ENTITY ID | BASE_TYPE | SUB_TYPE | DATA (4 bytes)
|        0       |     1     |     1     |    0x01   |   0x01   | 0x00  0x00  0x00  0xa0 
-----------------------------------------------------------------------------------------------

_1509236ms_ (10029ms since previous) CAN message received [length = 7 bytes]:
-----------------------------------------------------------------------------------------------
| DESTINATION ID | SOURCE ID | ENTITY ID | BASE_TYPE | SUB_TYPE | DATA (4 bytes)
|        0       |     1     |     1     |    0x01   |   0x01   | 0x00  0x00  0x00  0xaa 
-----------------------------------------------------------------------------------------------

_1519266ms_ (10029ms since previous) CAN message received [length = 7 bytes]:
-----------------------------------------------------------------------------------------------
| DESTINATION ID | SOURCE ID | ENTITY ID | BASE_TYPE | SUB_TYPE | DATA (4 bytes)
|        0       |     1     |     1     |    0x01   |   0x01   | 0x00  0x00  0x00  0xb4 
-----------------------------------------------------------------------------------------------

There is currently only basic message parsing.

This little firmware is part of Bio Home Automator System - BHAS (pronounced BeeHas) and is designed for the LPC1768.