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

Peripheral device: Keep advertising during connection

Hi ,

The device required to keep advertising during the connection established.

It is human interface device which mean it is peripheral device as well.

I would like to know whether there is any sample I could take as reference for the structure.

Or it is possible to keep the keyboard_sample for development? If yes, which API or function I should integrate?

In further, I would like to know is it possible to proceed connectable advertisement.

Currently, I just understand that is possible to do non-connectable advertisement.

Thanks.

Parents Reply
  • Hi Jimmy,

    Thanks for the reply. But it seem a little be different from my requirement.

    Based on your program, it seems that it is still need to interrupt the host A then start advertising again to connect with host B. It is pretty much like the multiperipheral_keyboard does.

    However, the mechanism I would like to achieve is keep the advertise function during the device is still connecting with the host A.

    You can imaging that it is a keyboard with beacon service.

    Thanks.

Children
Related