Generic Mode Network and Device Communication
40 (62)
11.3.2
MAC Commands for Connecting Devices
D MAC_ADD
Adds a MAC address to the connection list of a CANblue II. The Master device tries to establish
a connection to the Bluetooth device with the added MAC address.
D MAC_ADD <adr>
Parameter
Parameter
Description
adr
MAC address of the second CANblue II (Slave), value: 6 Byte hexadecimal
Example
D MAC_ADD 001122334455
Possible Return Values
Return Value
Description
I OK: MAC_ADD
Function succeeded
E 51 MAC-list is full
Only one MAC address is supported. Not possible to add
another MAC address.
E 53 MAC address already exists
MAC address is already used for a connection to a server.
Remark
To add a range of MAC addresses see
D MAC_REMOVE
Removes a MAC address from the connection list of a CANblue II. An active connection or
attempt to establish a connection is closed, when the command is called. This can cause a
delayed response up to 5 seconds.
D MAC_REMOVE <adr>
Parameter
Parameter
Description
adr
MAC address of the CANblue II (Slave) to be removed from the list, value: 6 Byte
hexadecimal
Example
D MAC_REMOVE 001122334455
Possible Return Values
Return Value
Description
I OK: MAC_REMOVE
Function succeeded
E 52 Wrong MAC address
MAC address is invalid or not in the connection list.
CANblue II User Manual
4.01.0126.20000 EN 3.2