Hi,
I am trying to configure READ characteristic with notification attribute. At the moment I can see this characteristic on android app (nRF Connect) with properties READ and NOTIFY. On android app, I can't see the possibility to subscribe this characteristic. To update value in this characteristic, I have to press read button manually.
Is there any tutorial or demo/example that shows how to configure that kind of characteristic?
Best regards,
Witold
Hi all,
I am trying to write multiple bytes to a characteristic using the ble_app_peripheral project from the SDK, following from Training_03_custom_profile_gatt_cmd_example_v1.
The issue I am currently facing is that the handler is not triggered when multiple bytes are send to the characteristic. I am sending the data from an android phone running BlueLoupe. Turning the LED on and off by sending 0x01 and 0x00 respectively works with no problems. I increased DEF_USER_LED_STATE_CHAR_LEN in user_custs1_def.h from 1 to several higher numbers, but none of them made the 583 execute the handler when other data was send to the characteristic than 0x00 or 0x01.
How can I modify the handler to be triggered when multiple bytes are send to a characteristic?
Kind regards,
Niek
p.s. I am using SDK 5.0.3.268, not 5.0.2.1 but this option was not selectable
Hi
I am using the ble_app_profile as a base, and I am trying to write a value to a characteristic based on UART. I am able to do a ke_msg_send from the UART callback to set the value, but the value is only changed when there is a central connected to the 580. If there is no central connected to the 580, the updates are all discarded.
How can I ensure that the values received over UART are reflected in the characteristic, irrespective of whether a central is connected to the 580 or not ?
Thanks,
Hi
I am trying to set a presentation format for a custom characteristic that I am added to CUSTS1 service in the ble_app_peripheral example.
I am unable to figure out the code and more importantly, where to insert the code, in order to display the characteristic value as text. At the moment, I am able to see the characteristic value as empty, but I want to set it as readable text.
How do I set the presentation format for a characteristic ?
Thanks,