Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

ble_ant_hrm_pca10040_s332_uart can't work

I am using the nRF5_SDK_14.2.0 with two PCA10040 boards. ANT+ HR simulate from ANT+ simulator tool with ANT+ USB dongle.

Test 1 : SDK sample ble_ant_hrm_pca10040_s332 work well . i can connect the Nordic_HRM by nRF Toolbox and read the correct heardrate value as well.

Test 2 : SDK sample ble_ant_hrm_pca10040_s332_uart can't work , nRF Toolbox show "Error on reading characteristic (1)" after i click the connect . Trace the code and found it can read the correct ANT+ HR value and call ble_hrs_heart_rate_measurement_send()  without any error.

Any comment .

thanks 

Parents
  • Hi,

    I would like to confirm that I understand the issue correctly so that I can help you debug:

    • You are running the following example "nRF5_SDK_14.2.0_17b948a\examples\multiprotocol\ble_ant_app_hrm\pca10040\ser_s332_uart"?
    • You have two PCA10040 development boards connected to each other as shown in the Serialization documentation, one running the connectivity firmware and the other running the example I mentioned in the last question?
    • After flashing and resetting both boards the application seems to be running as intended over the serialized connection, and you can see the device advertising on BLE?
    • When you connect to the device it crashes almost imideatly for some reason?

    Best regards,
    Rune Holmgren

Reply
  • Hi,

    I would like to confirm that I understand the issue correctly so that I can help you debug:

    • You are running the following example "nRF5_SDK_14.2.0_17b948a\examples\multiprotocol\ble_ant_app_hrm\pca10040\ser_s332_uart"?
    • You have two PCA10040 development boards connected to each other as shown in the Serialization documentation, one running the connectivity firmware and the other running the example I mentioned in the last question?
    • After flashing and resetting both boards the application seems to be running as intended over the serialized connection, and you can see the device advertising on BLE?
    • When you connect to the device it crashes almost imideatly for some reason?

    Best regards,
    Rune Holmgren

Children
Related