Dialog Semiconductor customer support - characteristic https://support.dialog-semiconductor.com/resource-keywords/characteristic en BLE read characteristic with notification https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/ble-read-characteristic-notification < div class = "字段field-name-taxonomy-forums字段-type-taxonomy-term-reference field-label-above">
Forums: 

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

Device: 
Tue, 06 Aug 2019 09:02:19 +0000 witold 317525年https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/ble-read-characteristic-notification#comments
Sending multiple bytes to a characteristic https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/sending-multiple-bytes-characteristic < div class = "字段field-name-taxonomy-forums字段-type-taxonomy-term-reference field-label-above">
Forums: 

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

Device: 
Tue, 18 Jul 2017 17:01:41 +0000 Niekvdd 68745 at https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/forums/post/dialog-smartbond-bluetooth-low-energy-%E2%80%93-software/sending-multiple-bytes-characteristic#comments
Cannot update characteristic value if connection is not made https://support.dialog-semiconductor.com/cannot-update-characteristic-value-if-connection-not-made < div class = "字段field-name-taxonomy-forums字段-type-taxonomy-term-reference field-label-above">
Forums: 

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,

Keywords: 
Device: 
Thu, 21 Apr 2016 05:30:41 +0000 ankitdaf 3257 at https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/cannot-update-characteristic-value-if-connection-not-made#comments
Presentation format https://support.dialog-semiconductor.com/presentation-format < div class = "字段field-name-taxonomy-forums字段-type-taxonomy-term-reference field-label-above">
Forums: 

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,

Device: 
Wed, 13 Apr 2016 10:32:19 +0000 ankitdaf 3203 at https://support.dialog-semiconductor.com https://support.dialog-semiconductor.com/presentation-format#comments