Generic Mode Network and Device Communication
50 (62)
11.4
CAN Messages in ASCII format
CAN Messages coded in ASCII format are called M-type messages.
M-type messages are used to transmit CAN messages over a Bluetooth connection to another
device. The receiving device forwards the message to all established Bluetooth connections
and if the local CAN controller is started the message is transmitted to the CAN network.
Remote messages are transmitted without any data bytes, but the value of the data length (DLC)
can be a value between 0 and 8.
M FTD ID D0 D1 D2 D3 D4 D5 D6 D7
Parameter
Parameter
Description
FTD
Three characters define the message format:
1. character: frame format ( S — Standard, E — Extended)
2. character: frame type (D — Data, R — Remote)
3. character: DLC (“0–8” data length)
ID
CAN message identifier
Standard: 0–7FF hexadecimal
Extended: 0–7FFFFFFF hexadecimal
D0–D7
Data bytes of the message, messages consist of up to 8 data bytes, every byte is
separated by a blank.
Possible values: 0–FF hexadecimal
Example
M SD4 1A2 11 22 33 4
Possible Return Values
Return value
Description
E 85 Tx SW queue OVERRUN
Overrun of the transmitting queue, for example the CAN
controller is in
error warning
or
bus off
state or data could
not be transmitted fast enough due to slow baud rate.
CANblue II User Manual
4.01.0126.20000 EN 3.2