KW36 GATT Client read characteristic descriptors

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

KW36 GATT Client read characteristic descriptors

1,902件の閲覧回数
danieltseng
Contributor V

Environment: Two FRDM-KW36 installed Wireless Uart
We want to add GattClient_ReadCharacteristicDescriptor () to read characteristic on the GATT client side of wireless Uart  and  GattClient_WriteCharacteristicDescriptor () to change value.

I have referred toch 5.1.5 Reading and writing characteristic descriptors of Bluetooth Low Energy Application Developer Guide.pdf
The example in the second half of this chapter is not very clear how to add function, please provide the implement method?  I do n’t know where to add it?
(Relatively, is it necessary to add anything to the GATT server before this function can make it complete)


I also refer to HRS (Heart Rate Sensor), but it does not call GattClient_ReadCharacteristicDescriptor ()
pastedImage_1.png

 

ラベル(2)
0 件の賞賛
返信
1 返信

1,787件の閲覧回数
Sebastian_Del_Rio
NXP Employee
NXP Employee

Hi Daniel, I hope you're doing well!

 

The temperature Collector SDK has some instances were a Characteristic Descriptor is read or written:

 

  • The GattClient_WriteCharacteristicDescriptor function can be seen used in the BleApp_ConfigureNotifications function in the temperature_collector.c source file.
  • The GattClient_ReadCharacteristicDescriptor function can be seen used in the mAppServiceDisc_c case of the BleApp_StateMachineHandler function in the same source file. It's being used to read the handle of the mpCharProcBuffer structure.

 

This SDK example can be found in the following path:

<…\SDK_2.2.2_FRDM-KW36\boards\frdmkw36\wireless_examples\bluetooth\temp_coll>

 

Please let me know if you need any more information.

 

Best regards,

Sebastian