multiple services

how to know which service is active

Thu, 2017-05-11 02:33--Tony Poon

Dear Supports,
SDK 5.0.3:
Now my DA14580 project has used Custom1 Server(custs1) and Custom2 Server(custs2). And our iOS software has 2 versions to receive data from DA14580, one only use to connect CUSTS1 service, another to CUSTS2 service.
1. When DA14580 on connection has done, How to get the message which server is active now?
2. When DA14580 runs default_app_on_connection() or default_app_on_db_init_complete(), We can get the message now?

Thanks,

Disabling (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
(客户端不断等服务工作discovery) -- client is LightBlue app.

Thank you in advance

Subscribe to RSS - multiple services