This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Bluetooth communication development

Dear:Addressee

Hello!

I have a question about the program development of Bluetooth chip.

There is no client program for blood pressure measurement in SDK (15.2.0),

拜托提供。

Please provide.

ILCD-China

Email address:

[email protected]

Parents Reply Children
  • Hello!

    Thank you very much for your reply.

    You said above: refer to the existing client-side processing, refer to the “message sequence charts ”to call the callback function. We've done that, but communication with other Bluetooth devices has failed.

    Note down the process of client application development :

    ① The APP find service UUID(such as, UUID:180A for Device information,UUID:1810 for Blood pressure  measurement),this step is OK.

    ②The APP write the CCCD,Enable CCCD type is BLE_GATT_HVX_INDICATION.And the SDK API return is Success.

    The callback function on the client side will pass event “BLE_GATTC_EVT_HVX”,Get another Bluetooth device's blood pressure measurement.

    Through log output and debug check, it is found that there is no problem in the program processing flow of the client.We programmed the client application to read the blood pressure measurement.But the client didn't receive the event “BLE_GATTC_EVT_HVX”.Debug another blood pressure measurement device, the blood pressure measurement results have been output.Only the client side of nrf52832 did not receive the data. 

    Here are a few questions:

    Whether the nRF5 SDK supports reading of blood pressure measurements on the client side,Because from the example provided by Nordic, only blood pressure measurement is used as the application of the server.

    From the development process of the client side that has been described, what are the problems, please put forward.

    Best regards,

    ILCD-CHINA

     

  • Hello!

    Thank you very much for your reply.

    Here's a question about CCCD handle.

    We tried to read the blood pressure measured by through Bluetooth.The handle value of CCCD is 2066, and the connection handle value is 0, which is called back through the callback function. 

    However, it is not possible to confirm that the value of CCCD handle value is correct,

    Can you give us some instructions.

    Best regards,

    ILCD-CHINA

  • A handle value of 2066 sounds incorrect, these handles are typically sequentially and chronologically starting from a low value close to 0 (only offset by some of the GAP services that is in the softdevice).

    Best regards,
    Kenneth

Related