Skip to content

Commit

Permalink
adding BLE testing info.
Browse files Browse the repository at this point in the history
  • Loading branch information
canisLupus1313 committed Apr 5, 2024
1 parent cdd8e9d commit 6776f08
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 7 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
56 changes: 49 additions & 7 deletions applications/protocols_serialization/user_guide.md
Original file line number Diff line number Diff line change
@@ -1,25 +1,67 @@
# Protocols serialization applications testing
- [Protocols serialization applications testing](#protocols-serialization-applications-testing)
- [Overview](#overview)
- [Setting up nRF Connect SDK](#setting-up-nrf-connect-sdk)
- [Install NCS](#install-ncs)
- [Building application](#building-application)
- [Flashing and connecting](#flashing-and-connecting)
- [Testing](#testing)
- [Testing BLE](#testing-ble)
- [Testing OpenThread](#testing-openthread)

## Overview

## Setting up nRF Connect SDK

## Install NCS
Please see:
https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.6.0/nrf/installation/install_ncs.html

## Setting up nRF Connect SDK
To initialize nrf belov command instead the one mentioned in instruction:

Install NCS
`west init -m https://github.com/nrfconnect/sdk-nrf --mr collab-serial-ble-ot`

## Building application


## Flashing and connecting

## Testing

### Testing BLE

In order to test BLE You will need to install `nRF Connect for Mobile`

- IOS: https://apps.apple.com/pl/app/nrf-connect-for-mobile/id1054362403

- Android: https://play.google.com/store/apps/details?id=no.nordicsemi.android.mcp&pcampaignid=web_share

On client site please invoke in zephyr shell:
```console
> bt init
> bt advertise on
```

On mobile Phone open `nRF Connect` app and scan for: `Nordic_UART_Service` as in image below.

<img src="resources/nrf_scan.jpg" alt="image" width="300" height="auto">

Tap connect.

This will connect to nRF52 and You should be able to see in zephyr Shell similar message:

```
LE conn param updated: int 0x0027 lat 0 to 42
```

To Send Data from your phone tap arrow next to Rx characteristic.

<img src="resources/nrf_send.jpg" alt="image" width="300" height="auto">

###
On `nRF52` you should see:

Testing BLE
```
bt_nus: on_receive: Received data, handle 0, conn 0x200023c4
```

###

Testing OpenThread
### Testing OpenThread

0 comments on commit 6776f08

Please sign in to comment.