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

One Service with Multiple Characteristics or Multiple Services with Single Characteristic each?

Hi,

I wanted to know what is the recommended way of data transfer through ble if there are multiple sensors. Is Creating one service with multiple characteristics a good way or creating multiple services with one characteristic each the best option.

Parents
  • That really depends. There isn't going to be any performance differences, so usually your best bet is to group them logically according to your needs. Both options are equally valid, but if you have some sensors that are somehow logically tied together then probably put them in a single service, otherwise having a service for each sensor is also fine.

Reply
  • That really depends. There isn't going to be any performance differences, so usually your best bet is to group them logically according to your needs. Both options are equally valid, but if you have some sensors that are somehow logically tied together then probably put them in a single service, otherwise having a service for each sensor is also fine.

Children
No Data
Related