Dear all
The issue is:
heartRate and battery levels set by "bt_gatt_notify" in peripheral hr sample on nRFConnect v1.5.0 are not shown in iphone app of "nRF toolbox"
setup:
iphone 8:
- app "nRF toolbox" installed.
HW
- nRF52840-DK
PC:
- Visual Studio 2019 with Visual GDB AddOn
project set up in Visual GDB by using the nRF Connect Project Wizard:
- nRF Connect SDK v1.5.0 sample of v1.5.0\zephyr\samples\bluetooth\peripheral_hr, setup through the VisualGDB "nRFConnectProjectWizard" based on nRFConnect v1.5.0
- toolchain: GNU ARM Embedded 10 2020 q4 major, GCC 10.2.1
test steps
- The software sample of peripheral_hr itself compiles and links and can be deployed.
- on iphone open "nRF toolbox", select "Heart Rate", next select "Connect": Scanning produces "Zephyr Heartrate Sensor"
- upon selection of "Zephyr Heartrate Sensor", the heart rate window appears in the app, but no hr data are shown, battery level remains at 0%. At the same time on the console on the PC this warning appears: [00:00:12.882,995] <wrn> bt_l2cap: Ignoring data for unknown CID 0x003a
The console on the PC produces:
*** Booting Zephyr OS build v2.4.99-ncs1 ***
Bluetooth initialized
Advertising successfully started
[00:00:00.338,836] <inf> sdc_hci_driver: SoftDevice Controller build revision:
e5 c7 9c d9 91 00 1d 66 ea fb 6e 7b 98 2f 42 0d |.......f ..n{./B.
f1 60 93 c8 |.`..
[00:00:00.341,766] <inf> bt_hci_core: HW Platform: Nordic Semiconductor (0x0002)
[00:00:00.341,766] <inf> bt_hci_core: HW Variant: nRF52x (0x0002)
[00:00:00.341,766] <inf> bt_hci_core: Firmware: Standard Bluetooth controller (0x00) Version 229.40135 Build 486576601
[00:00:00.342,926] <inf> bt_hci_core: Identity: EF:91:3F:45:D8:68 (random)
[00:00:00.342,926] <inf> bt_hci_core: HCI: version 5.2 (0x0b) revision 0x1190, manufacturer 0x0059
[00:00:00.342,926] <inf> bt_hci_core: LMP: version 5.2 (0x0b) subver 0x1190
Connected
[00:00:12.882,995] <wrn> bt_l2cap: Ignoring data for unknown CID 0x003a
Any ideas to why this happens? Your feedback is highly appreciated.
Thank you.