Projekt

Allgemein

Profil

Feature #565

config description

Von Maximilian Seesslen vor 4 Monaten hinzugefügt. Vor 4 Monaten aktualisiert.

Status:
Erledigt
Priorität:
Normal
Zugewiesen an:
Zielversion:
Beginn:
10.09.2024
Abgabedatum:
% erledigt:

0%

Geschätzter Aufwand:
CS Zielversion:

Beschreibung

VAGUS_USE_UID
Support for biwak UID. NMT can change NodeID by UID. CollectHwData can store it so production data can be collected.

VAGUS_INSTANCIATE_EEPROM
Create an own instance of an eeprom object. This is needed when your arena application does not contain the eeprom.

VAGUS_USE_HEARTBEAT
Create an instance of CHeartBeat. "Beacon" command is implemented.

VAGUS_USE_HEARTBEAT_EVENTS
Support events. THe event code will be send via CAN.

VAGUS_EEPROM_WIDTH_DETECT
VAGUS_EEPROM_WIDTH_8BIT
VAGUS_EEPROM_WIDTH_16BIT
Configure the address width of the eeprom

VAGUS_TRAFFIC_LED
Use an LED for CAN traffic. It will blink whenever messages are received or send. The name of the LED has to be "m_ledTraffic".

VAGUS_CAN_EVENTLOOP
Vagus should take care about handling incoming can messages.

VAGUS_HANDLE_STATUS
Send status information via TDT whenever it changes or periodically.

VAGUS_USE_OPERATINGTIME
Store operating time in eeprom periodically.

VAGUS_USE_BRINGUP
support writeHwData, readHwData and collectHwData

VAGUS_SEND_CONFIG
Sending config on nmtSendConfig command.

VAGUS_CUSTOM_SEND_CONFIG
implement an own sendConfig(). When VAGUS_SEND_CONFIG is also set, the sendConfig() from CVagus will be called first and then call the customers sendConfig().

VAGUS_CUSTOM_DIGEST_SEND_OBJECT
implement an own digestSendObject(). Whenever another node sends an object like temperature value, you can catch it here.

VAGUS_CUSTOM_DIGEST_WRITE_OBJECT
implement an own digestWriteObject(). The digestWriteObject() from CVagus will be called first and then call the customers digestWriteObject().

VAGUS_USE_BOOTCOUNTER
Handle boot counter. It will be updated on every boot.

VAGUS_HANDLE_FLAGS
Handling flags stored in eeprom. At the moment only auto reboot is available.

VAGUS_WRITE_NODEID
Handle writing the nodeId-Object directly. NMT can be used now.

VAGUS_CUSTOM_BUS
An custom transmit() is implemented. CANBridge needs this. Whenever vagus wants to transmits an
message like sending configuration, it also has to be send via other channel.

Historie

#1

Von Maximilian Seesslen vor 4 Monaten aktualisiert

/**
 * \defgroup configs Configuration defines
 * @{
 */

/**
 * @def VAGUS_USE_UID
 *
 *      Support for biwak UID. NMT can change NodeID by UID. CollectHwData can store it so production data can be collected.
 */
#define VAGUS_USE_UID

/**
 *
 * @def VAGUS_INSTANCIATE_EEPROM
 *
 *      Create an own instance of an eeprom object. This is needed when your arena application does not contain the eeprom.
 *
 * @def VAGUS_USE_HEARTBEAT
 *
 *      Create an instance of CHeartBeat. "Beacon" command is implemented.
 */

#define VAGUS_USE_UID
#define VAGUS_INSTANCIATE_EEPROM
#define VAGUS_USE_HEARTBEAT

/**
 * @}
 */

#2

Von Maximilian Seesslen vor 4 Monaten aktualisiert

  • Status wurde von Neu zu Erledigt geändert
  • Zugewiesen an wurde auf Maximilian Seesslen gesetzt
  • Zielversion wurde auf v0.5.0 gesetzt

Auch abrufbar als: Atom PDF