5 Binary Command Sets

In general, the BM77 and the BM78 modules are operated in Auto-Pattern mode with pre-configured settings stored in the EEPROM. In this mode, the module primarily acts as a cable replacement via Bluetooth and does not allow for extensive changes to the configuration and processing of run-time commands. For applications that require some configurations of the module, the BM78 module, like in the BM77 module, offers two Configuration modes:
  • Auto Pattern mode – Offers more granular control of the module
  • Manual Pattern mode – Offers more flexible Bluetooth operation

Similar to the BM77 module, the BM78 module takes in binary commands during the Configuration mode in Auto Pattern and Manual Pattern to control the BM78 module. The BM78 binary command set is a superset of the BM77 binary command set. The following table provides details on the new commands, changes to existing commands between the BM77 and BM78 modules.

Table 5-1. List of Commands Introduced in the BM78 Module (Not Available in the BM77 Module)
Op CodeCommandType
0x20SPP_Create_ConnectionGAP
0x21BT_Device_InquiryGAP
0x22BT_Device_Inquiry_CancelGAP
0x3bSend_WeChat_Transparent_DataTransparent
0x3cASK_APP_LAUNCHTransparent
0x53Authorized_PairingCommon