Open topic with navigationDocumentation Index
Fetch the complete documentation index at: https://notevil.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
GBT27930IL_SetMaxAllowedMissingTimeForMsg
CAPL Functions » J1939 » GB/T 27930 IL » GBT27930IL_SetMaxAllowedMissingTimeForMsgFunction Syntax
long GBT27930IL_SetMaxAllowedMissingTimeForMsg(dword msgCode, dword maxAllowedMissingTime); // form 1long GBT27930IL_SetMaxAllowedMissingTimeForMsg(dbNode node, dword msgCode, dword maxAllowedMissingTime); // form 2
Description
For simulated BMS node: defines the maximum time during which the specified message from the Charger may be missing. After this time the simulated BMS stops charging and starts sending the BEM message. For simulated Charger node: defines the maximum time during which the specified message from the BMS may be missing. After this time the simulated Charger stops charging and starts sending the CEM message.Parameters
-
msgCode: defines the respective message. The following values are supported:
0: CRM (BMS is not recognized)1: CRM (BMS is recognized) / BRM2: CML / BCP3: CRO (not ready for charging) / BRO (not ready for charging)4: CRO (ready for charging) / BRO (ready for charging)5: CCS / BCL6: CST / BCS7: CSD / BST8: CHM / BSD
- maxAllowedMissingTime: Time in milliseconds. If the respective message is missing longer than defined, the simulated node switches to sending the BEM or CEM message with the corresponding content.
- node: Simulation node to apply the function
Return Values
0: on success< 0: IL Error Code