Skip to content

Commit

Permalink
samples: peripheral_cgms: Recommend nRF Connect for Mobile for CGMS t…
Browse files Browse the repository at this point in the history
…esting

Updated documentation to recommend using the nRF Connect for Mobile
app for CGMS testing instead of nRF Toolbox. The current version
of nRF Toolbox requires the implementation of additional services to
work correctly with CGMS. nRF Connect for Mobile is a better choice.

Ref: NCSDK-28545

Signed-off-by: Marcin Jelinski <marcin.jelinski@nordicsemi.no>
  • Loading branch information
maje-emb committed Aug 28, 2024
1 parent a8ea238 commit 8441ac3
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions samples/bluetooth/peripheral_cgms/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ Overview

The sample demonstrates a basic Bluetooth® Low Energy Peripheral role functionality that exposes the Continuous Glucose Monitoring GATT Service.
Once it connects to a Central device, it generates dummy glucose measurement values.
You can use it together with the Continuous Glucose module in the nRF Toolbox app.
You can also use the `nRF Connect for Mobile`_ to interact with the CGMS module.
You can use the `nRF Connect for Mobile`_ to interact with the CGMS module.

Building and running
********************
Expand All @@ -36,23 +35,23 @@ Building and running
Testing
=======

After programming the sample to your development kit, connect to a smartphone
with the nRF Toolbox installed to test it as follows:
After programming the sample to your development kit, test it by performing the following steps:

1. |connect_terminal_specific|
#. Reset the development kit.
#. Open the nRF Toolbox app and select the **Continuous Glucose** module.
#. Click the name of the development kit to connect to it.

#. Start the `nRF Connect for Mobile`_ application on your smartphone or tablet.
#. Connect to the device from the application.
The device is advertising as ``Nordic Glucose Sensor``.
The services of the connected device are shown.
#. In :guilabel:`Continuous Glucose Monitoring` Service, tap the :guilabel:`Notify` button for the "CGMS Measurement" characteristic.
Authentication is required.
The device prints the pairing key in the terminal.
#. Enter the pairing key on the client side.
#. If pairing is successful, in the terminal window, observe that notifications are enabled::

<inf> cgms: CGMS Measurement: notification enabled
<inf> cgms: CGMS RACP: indication enabled
<inf> cgms: CGMS SOCP: indication enabled

#. Observe that notifications with the measurement values are received.
#. The glucose measurement is sent to the client using a notification.
The client can also retrieve the record using the record access control point.

Expand Down

0 comments on commit 8441ac3

Please sign in to comment.