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.
Op Code | Command | Type |
---|---|---|
0x20 | SPP_Create_Connection |
GAP |
0x21 | BT_Device_Inquiry |
GAP |
0x22 | BT_Device_Inquiry_Cancel |
GAP |
0x3b | Send_WeChat_Transparent_Data |
Transparent |
0x3c | ASK_APP_LAUNCH |
Transparent |
0x53 | Authorized_Pairing |
Common |