bluetooth icon indicating copy to clipboard operation
bluetooth copied to clipboard

How to receive multiple messages on WriteEvent

Open madhugoundla opened this issue 6 months ago • 1 comments

{
    Handle: &exampleChar,
    UUID:   ExampleUUID,
    Flags:  bluetooth.CharacteristicWriteWithoutResponsePermission,
    WriteEvent: func(client bluetooth.Connection, offset int, value []byte) {
        println("Example received:", value)
    },
},

I am only able to received one WriteEvent when client is send 10 messages. How to receive all messages instead of just one?

madhugoundla avatar Jul 03 '25 15:07 madhugoundla

@madhugoundla are you receiving 10 notifications, one for each message? If so that is the expected behavior.

deadprogram avatar Aug 14 '25 06:08 deadprogram