This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Try to separate the sample of hid_keyboard into ble function and hid service, then found it could be connected at first but show pair immediately

Hi, 

As the subject description, I just remove the part of hid function from main.c then make the personal source file.

Before I removed, the project could work as usual.

And after I create the source file for hid function into the project, the project could be built without error.

Somehow, it could not work properly.

Compare the log

As you could see from the picture above, the left show fatal error compare to the right(Normal).

Not sure why it could be connected but show pair immediately without function.

Do you have any idea or instruction could share with me?

Thanks.

Parents Reply Children
No Data
Related