cant connect to bluetooth periphiral.

Hello
I have a Periphiral bluetooth application which lets you communicate to it via shell commands. the service is compatible with NUS.
when running the code with the 5.2.5 SDK, it works fine. but when trying to run it with 2.7.0 SDK, for some reason my mobile phone terminates the connection and gives me this massage:

I know the phone is the one that terminated the connection because the error code is 19 which I think means remote user terminated the connection.(that's what gpt said)

I don't know where to begin searching for the reason for the problem, I thought maybe the UUID isn't recognised by the phone but it is the same id when the app runs on 2.5.2.
some help would be much appreciated,

thanks in advance,

-shlomo

Parents Reply Children
No Data
Related