Weight Scale Service : Missing app-callback communication

ID: LPCBARESDK-701

Status: Open

First reported: 6.0.14.1114

Fixed in: TBD

Description

In the existing SDK6 weight scale profile application layer implementation some modification is needed.

Issues:

  • The existing application layer of wsss does not handle the invalid connection index properly.

  • Application callbacks are not in proper places inside the application layer APIs

Correction:

  • Improvement is made in wsss_task.c, missing application callback is set in place, incorrect connect index handler implementation is updated.

  • User needs to declare __APP_WSSS__ in the application layer to enable the changes.

Workaround

The proper improvement can be found here. The user only need to replace the file named wsss_task.c in the sdk6 location sdk/ble_stack/profiles/wss/wsss/src with this new implemented file.