arduino / arduino/ArduinoCore-arc32

Jira 714 CurieBLE: Adding more than 6 characteristics to a service causes device to crash when attempting to advertise

Open
#446 12 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
C
Stars
330
Forks
281
PR merge metrics
No merged PRs in 30d

Description

It appears there is an issue when you add more than 6 characteristics to a single service in the CurieBLE driver with version 2.0.0 RC4.

The device never begins to advertise and appears to hang when calling BLE.advertise();

Removing the 7th characteristic from service will allow the device to continue to work.

Using Arduino101 board and version 2.0.0 RC4 of the Intel Curie Arduino SDK libs.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the failure on an Arduino101 with the CurieBLE driver from Intel Curie Arduino SDK 2.0.0 RC4: define a service with more than six characteristics and call BLE.advertise(). Trace the CurieBLE driver around characteristic registration and BLE.advertise(); done means the device advertises without hanging when the seventh characteristic is present.

Written by the indexing model from the issue text.

Assessment

Tech stack
arduino, c
Domain
embedded-iot
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.