GB/T 27930 Interaction Layer
Valid for: CANoe DE • CANoe4SW DEON THIS PAGE:
- Charging Simulation
- Fault Injection
- Message Configuration
- Node Control
- Other Functions
- Signal/Message Access
Callback Functions
- GBT27930IL_OnError: This callback function is called from the GBT27930 IL if an error occurred.
- GBT27930IL_OnRxMessage: Is called if a message was received successfully.
- GBT27930IL_OnTxMessage: Is called if a message was sent successfully.
- GBT27930IL_OnTxPrepare: Is called before a parameter group is sent.
Charging Simulation
- GBT27930IL_InitAsCharger: Inits simulated node as a charger.
- GBT27930IL_InitAsBMS: Inits simulated node as a BMS.
- GBT27930IL_StartChargingSimulation: Node starts the charging simulation.
- GBT27930IL_StopChargingSimulation: Node stops the charging simulation.
- GBT27930IL_SuspendCharging: Node suspends the charging.
- GBT27930IL_GetCommunicationState: Returns the current state of charging communication.
- GBT27930IL_SetCommunicationState: Defines the new state of charging communication.
- GBT27930IL_SetDelayForStateTransition: Defines delay for a state transition.
- GBT27930IL_SetMaxAllowedMissingTimeForMsg: Defines the maximum time a message from the charger may stay missing until the BMS starts its BEM message.
- GBT27930IL_TolerateDeviation: Allows the simulated node to tolerate variations in the address of the other participant and the length of its messages.
Fault Injection
- GBT27930IL_BlockRxMessage
- GBT27930IL_ResetBlockedRxMessage
- GBT27930IL_ResetAllBlockedRxMessages: Prevents processing of a received message by the Interaction Layer.
- GBT27930IL_BlockTxMessage
- GBT27930IL_ResetBlockedTxMessage
- GBT27930IL_ResetAllBlockedTxMessages: Prevents transmitting of a message generated by the interaction layer.
- GBT27930IL_DelayRxMessage
- GBT27930IL_ResetDelayedRxMessage
- GBT27930IL_ResetAllDelayedRxMessage: Delays processing of a received message by the interaction layer.
- GBT27930IL_ManipulateMessage
- GBT27930IL_ResetManipulatedMessage
- GBT27930IL_ResetAllManipulatedMessages: Modifies the content of a message generated and sent by the interaction layer.
Message Configuration
- GBT27930IL_DisableMsg: Disables the sending of a message.
- GBT27930IL_EnableMsg: Re-enables the sending of a disabled message.
- GBT27930IL_SetMsgCycleTime: Sets the message cycle time.
- GBT27930IL_SetMsgDA: Sets the message destination address.
- GBT27930IL_SetMsgDelayTime: Sets the message delay time.
- GBT27930IL_SetMsgPriority: Sets the message priority.
- GBT27930IL_SetMsgPGN: Sets new value of PGN.
Node Control
- GBT27930IL_ControlInit: Suppress the auto-start function of the IL.
- GBT27930IL_ControlStart: Activate node to start Address Claiming.
- GBT27930IL_ControlStop: Deactivates the IL and stops sending cyclic messages.
- GBT27930IL_GetAddress: Returns the address that is used by the J1939 IL.
- GBT27930IL_SetNodeProperty: Sets the property of a node.
Other Functions
- GBT27930IL_GetLastError: Returns the value of the last called J1939 IL function.
- GBT27930IL_GetLastErrorText: Returns the textual description of the value of the last called J1939 IL function.
Signal/Message Access
- GBT27930IL_SetSignal: Sets the physical value of a signal.
- GBT27930IL_SetSignalRaw: Sets the raw value of a signal.
- GBT27930IL_SetMsgEvent: Sends a message immediately.
- GBT27930IL_SetMsgRawData: Sets the data bytes of the message.