This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Debugging techniques: adding custom profile/services

I've got something put together akin to the ble_lbs demo which uses a custom service. In fact, it's merely the LED part of that ble_lbs service, but on custom hardware. I can discover the device just fine, but the MCP log shows that it can't read the handle 0xB when it's going through the list of attributes.

I'm attaching the screenshot that shows the data returned from the discovery and the log data as well.

I'm not sure what the 0xB handle corresponds to. I'm also a bit fuzzy on what gets created automatically vs what you must specify when it comes to descriptors within a service. Any advice on debug techniques or common gotchas is helpful.

Thanks

MCP-errors.PNG

Related