J1939 Documentation
Version 4.16.00
Loading...
Searching...
No Matches
j1939_bam.h File Reference

Detailed Description

Large messages may be nondestination specific; that is, they may be broadcast messages. To broadcast a multipacket message, a node first transmits a Broadcast Announce Message (BAM). This message, which must be transmitted to the global destination address, constitutes a large message warning to the nodes on the network. The BAM message contains the Parameter Group Number of the large message to be broadcast, its size, and the number of packets into which it has been packeted. Nodes interested in the data are then required to allocate the resources necessary to receive and reassemble the message. The Data Transfer PGN (PGN = 60160) is then used to send the associated data.

+ Include dependency graph for j1939_bam.h:

Functions

J1939_Status_tv J1939_BamSetDelay (uint8_t ubNetV, uint16_t uwDelayTimeV)
 

Function Documentation

◆ J1939_BamSetDelay()

J1939_Status_tv J1939_BamSetDelay ( uint8_t ubNetV,
uint16_t uwDelayTimeV )
Parameters
[in]ubNetV- J1939 Network channel
[in]uwDelayTimeV- delay between broadcast messages
Returns
eJ1939_ERR_NONE on success, negative J1939_Err_e value on failure

The function sets the delay between single broadcast messages. The parameter uwDelayTimeV denotes the time in milliseconds. The default (initial) value is 50 ms.