I'm using a pic 18f2550 and HC-05 bluetooth module, i'm running into a minor issue, but it's very hard to debug.
I'm sending and receiving data successfully, but there's always 2 extra characters being sent after the transmission from another device(my android phone)
I tried to send it back to myself, and i end up with an endless buffer of undefined characters that get to be represented by the app with the letter y with 2 dots on top of it.
Here's the code:
https://github.com/wamry/bt-firmwareJust run command
make to build, or
make flash to build and program the chip