hiding service

禁用(隐藏)服务

Thu, 2015-11-12 11:59--meriororen

Hi,

Suppose I have two services (let's say CUSTS1 and CUSTS2), I want to be able to hide one of them (or both) service from a
connected client with a flag. E.g., when this flag is on, only make CUSTS1 available to connected client. Is this possible?

I have tried "disabling" CUSTS1 by not calling prf_enable()->app_custs1_enable() during client connection but it doesn't seem
to work (the client continuously wait for service discovery) -- client is LightBlue app.

Thank you in advance

Subscribe to RSS - hiding service