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

Reply
  • 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

Children
Related