( Development environment list : )
Board = KW36 development board.
SDK = frdmkw36_wireless_examples_bluetooth_w_uart_freertos.
Use case = KW36 is configured as Central, and BLE device is configured as Peripheral.
( Description : )
I use BleServDisc_FindService() function to find all the attribute handle of the BLE peripheral device by UUID (Primary service), but only one attribute can't be found in the characteristics. The Primary service should contain 3 characteristics, the list of all attributes is as follows:
FFC0 (Primary service)
=> FFC1 (service)
=> UUID (0229), Handle (0x0015)
=> UUID (0129), Handle (0x0016)
=> FFC2 (service)
=> UUID (0029), Handle (0x0019)
=> UUID (0129), Handle (0x0016)
=> FFC5 (service)
=> UUID (0029), Handle (0x001D) <--- Can't be found
=> UUID (0129), Handle (0x001E) <---- Can't be found
As shown above, BleServDisc_FindService() can find all the handles of FFC1 and FFC2, but the handle of FFC5 is missing. The strange thing is that you can see 3 characteristics to show in Debug LOG, but KW36 cannot find all the contents and attributes handle of FFC5.