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

merging multiple Characteristics into a single service,

Hi, some questions regarding BLE 

  • Is merging multiple Characteristics into a single service make discovery and connection faster? And why exactly?
  • If all Characteristics are in the same service, will Central not still need to be informed about all of them (the Chars) in Find Information Request (if I understand correctly that is what Find information is for).
  • Is Msg Find information is per service? Is that why it will save time to gather all characteristics in one service?
  • Can we advertise all services when advertising on primary channel, this is what I understand from those adv variables - p_service_data_array, and if so, does is make the Read by Group Type Request redundant ?

Thanks !

Parents
  • Hi.

    It might be faster due to some software latency, how much I'm not sure.

    When you do a service discovery it also finds the characteristics of that service.

    So merging multiple characteristics into a single service, you will not have the latency of doing a new service discovery.

    Can we advertise all services when advertising on primary channel, this is what I understand from those adv variables - p_service_data_array, and if so, does is make the Read by Group Type Request redundant ?

     I don't think this is possible, the amount of data would be to large for the advertisement packet.

    Best regards,

    Andreas

  • Thanks you very much for your Answers, much appreciated 

    Do you happen to know regarding "is Msg Find information is per service?"

    You said "you will not have the latency of doing a new service discovery" - Does it mean that each service is discovered individually ? 

    Thanks !

  • Hi.

    The message sequence chart shows that you ask for primary services as long as there are primary services available, the same applies for characteristics.

    What I ment by "you will not have the latency of doing a new service discovery" is that above, or as visualized under:

    You can see that by having a single service, the number of operations required are reduced.

    Best regards,

    Andreas

Reply Children
No Data
Related