bluetooth_hc06

Library for the Bluetooth HC-06 module.

Author Rob Jansen, Copyright © 2021..2021, all rights reserved.
Adapted-by
Compiler 2.5r5

Description

JAL library for use of the Bluetooth HC-06 module.


Sources

Bluetooth HC-06 Module Datasheet revision 2.2 (2011/04/06)
         Guangzhou HC Information Technology Co., Ltd.


Notes

The default serial interface of the HC-06 is 9600 baud, 1 stopbit, 
       no parity and no flowcontrol. 
       At least one of the JAL serial hardware libraries must be included and
       initialized by the main program with these settings. 


Dependencies

No dependency found



Summary

Global variables/contants

Procedures

Private

Functions

Private

API details

Global variables/contants

Procedures

  • bluetooth_hc06_data'put(byte in data)

    Pseudo variable to send data to the module. Wait for the serial interface to 
    be ready and send a data byte. Note that this is a blocking call until the 
    previous byte is transmitted. 
    

  • bluetooth_hc06_init()

    Initialize the module. This is the same as resetting the module.
    

Private

Functions

Private

Related samples

Here are the list of samples which use this library:

16f1532516f15325_bluetooth_hc06_slave.jal
16f182316f1823_bluetooth_hc06_slave.jal
16f877a16f877a_bluetooth_hc06_slave.jal