custom_ble_service_example icon indicating copy to clipboard operation
custom_ble_service_example copied to clipboard

Error in Readme.md Walkthrough Steps - nRF 15.2.0

Open jacobgqc opened this issue 6 years ago • 3 comments

As written, the walkthrough does not work. At the end of Step 3 you should be able to connect to the peripheral, but I wasn't able to. The missing steps appear to be the addition of QWR Queued Write Module. After adding the QWR logic to my services_init method I'm able to connect to the peripheral.

Thanks for the great walkthrough!

jacobgqc avatar Jan 08 '19 14:01 jacobgqc

Another possible issue with the walkthrough text. In Step 4, it isn't explicitly stated to define custom_value_char_add() method in the header file, or in the c file before it is used.

Edited: Never mind this comment, none of the steps explicitly mention the method ordering. Since this is common C functionality I'm assuming it's on the users to know or figure out.

Thanks again for the walkthrough, it's helped me immensely.

jacobgqc avatar Jan 08 '19 14:01 jacobgqc

Got the same issue, @jacobgqc how did you

After adding the QWR logic to my services_init method I'm able to connect to the peripheral.

Because im struggling with this part and I didnt get it.

Ger-zal avatar Mar 07 '19 17:03 Ger-zal

@youhou90 If you look at the main.c file and do a search on qwr you should be able to see the lines you need to add. In particular, the services_init method has: image

jacobgqc avatar Mar 08 '19 13:03 jacobgqc