Hi,
>
> 2. It is too difficult to get all the configuration settings correct.
> I'm wondering if we should have the application pass its service table
> to ble_hs_init(). That way, the correct values for max_services,
> max_attrs, and max_client_configs can all be derived from the table.
> One
On 06/02/2016 05:53 PM, Christopher Collins wrote:
On Thu, Jun 02, 2016 at 02:25:33PM +0200, Stephane D'Alu wrote:
Adding the "| BLE_GATT_CHR_F_NOTIFY" result in an error when setting
advertisement, which seems to be: pinkey missing.
105:[ts=102480ssb, mod=64 level=3] error enabling
On Thu, Jun 02, 2016 at 02:25:33PM +0200, Stephane D'Alu wrote:
> Adding the "| BLE_GATT_CHR_F_NOTIFY" result in an error when setting
> advertisement, which seems to be: pinkey missing.
>
> 105:[ts=102480ssb, mod=64 level=3] error enabling advertisement; rc=6
> 111:[ts=108336ssb, mod=4 level=0]
I was trying to add a simple service with notification:
So I added to gatt_svr_svcs
{
/*** Service: Battery */
.type = BLE_GATT_SVC_TYPE_PRIMARY,
.uuid128 = BLE_UUID16(GATT_SVR_SVC_BATTERY),
.characteristics = (struct ble_gatt_chr_def[]) { {