Programming Manual
24 / 139
i480e&i480e-MD2 Programming Manual
4.16
GCOD
This command is used to get the local class of device.
Command
AT+B GCOD
Response
AT-B GCOD [status],[cod]
Parameters
status
0: Succeeded;
Else: Failed.
cod
Class of device, ASCII code characters.
Note
N/A
4.17
SPRO
Command
AT+B SPRO [profile_support_mask]
Indication
Succeeded: AT-B SPRO 0
Failed: AT-B SPRO 1
Parameters
profile_support_mask
bit 0: mode, 0:sink mode; 1:source mode;
bit 1: HFP or AG, 0: disable, 1:enable;
bit 2: A2DP, 0: disable, 1:enable;
bit 3: AVRCP, 0: disable, 1:enable;
bit 4: PBAP Client, 0: disable, 1:enable;
bit 5: MAP Client, 0: disable, 1:enable;
establish HID (keyboard or mouse) connections with Bluetooth devices
which COD is not set to HID devices. COD (Major and minor device class
fields) refers to the link:
https://www.bluetooth.org/en-us/specification/assigned-numbers/base
band
For instance, the major device class field (bit 12~bit8) should be set to
00101, the minor device class field (bit7~bit6) could be set to 01
(keyboard), a0(pointing device). HID Keyboard COD should be set to
0540, HID Mouse COD should be set to 0580.
Barrot Confidential