Hi Jacob,

On Tue, Dec 20, 2016 at 01:02:57PM -0700, Jacob Rosenthal wrote:
> Was hoping to look at some memory usage of the central profile and starting
> checking out the blecent demo. However.. I cant find any known good
> software or hardware ANS service peripherals to stand against it. Any ideas?

It might not be exactly what you're looking for, but blecent's sibling
application, bleprph, implements the alert notification service.  It is
a very minimal app that doesn't do any alerting on its own.  If you want
to receive alert notifications, then you would need to add some code to
bleprph.  Specifically, bleprph would need to:

    1. (optionally) change the value of the current unread alert status
       (gatt_svr_unr_alert_stat).
    2. Call ble_gatts_chr_updated(), passing the unread alert status
       characteristic value handle as the argument.

Unfortunately, there are a few issues with using bleprph as an ANS
server:

1. bleprph duplicates the ANS code, rather than just using the
net/nimble/host/services/ans library.
2. The ANS library's API is missing a few functions.  Currently, it is
not possible to send alerts without hacking the ANS code.

Both of these issues only require minor fixes, but they just haven't
been done yet.

Let me know if you have any questions.

Thanks,
Chris

Reply via email to