• AVR Freaks

Hot!How to use the GATT interface Notify on UART with BM64

Author
Grogu
New Member
  • Total Posts : 2
  • Reward points : 0
  • Joined: 2020/12/11 01:55:04
  • Location: 0
  • Status: offline
2021/02/25 05:35:01 (permalink)
0

How to use the GATT interface Notify on UART with BM64

I am creating a device using the BM64.
I want to use UART commands to notify the device of the status via GATT.

I have implemented the Update_Characteristic_value (0x02) in LE_GATT_CMD (0x2B) so that I can change the Value of the GATT interface.
How do I connect the client application with Notify and notify it of the change?
We can get the value from the client application via READ, but we don't know how to notify the client application that the value has changed.
 
#1

1 Reply Related Threads

    Grogu
    New Member
    • Total Posts : 2
    • Reward points : 0
    • Joined: 2020/12/11 01:55:04
    • Location: 0
    • Status: offline
    Re: How to use the GATT interface Notify on UART with BM64 2021/02/25 19:01:00 (permalink)
    0
    It was a problem with the command.
    Changing it to Send_Characteristic_Value(0x00) solved the problem.
    #2
    Jump to:
    © 2021 APG vNext Commercial Version 4.5