• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

src/03-Aug-2024-1,7341,290

CMakeLists.txtD03-Aug-2024227 96

README.rstD03-Aug-20242.1 KiB5141

prj.confD03-Aug-20241.4 KiB7153

sample.yamlD03-Aug-2024208 1110

README.rst

1.. _mesh_badge:
2
3Mesh Badge
4##########
5
6Overview
7********
8
9This sample app for the reel board showcases Bluetooth Mesh
10
11The app starts off as a regular Bluetooth GATT peripheral application.
12Install the "nRF Connect" app on your phone (available both for
13Android and iOS) to access the service that the app exposes. The service
14can also be accessed with any Bluetooth LE GATT client from your PC,
15however these instructions focus on the necessary steps for phones.
16
17Steps to set up
18***************
19
20#. On your phone, use the nRF Connect app to Scan for devices and look
21   for "reel board"
22#. Connect to the device. You'll see a single service - select it
23#. Request to write to the characteristic by pressing on the upward pointing
24   arrow symbol
25#. Select "Text" to enter text instead of hex
26#. Enter your name (or any other arbitrary text). Multiple words
27   separated by spaces are possible. The font used on the reel display
28   allows three rows of up to 12 characters
29   wide text. You can force line breaks with a comma.
30#. Press "Send" - this will trigger pairing since this is a protected
31   characteristic. The passkey for the pairing will be shown on the board's
32   display. Enter the passkey in your phone.
33#. Once pairing is complete the board will show the text you sent. If
34   you're not happy with it you can try writing something else.
35#. When you're happy with the text, disconnect from the board (exit the app or
36   go back to the device scan page)
37#. Once disconnected the board switches over to Bluetooth Mesh mode, and you
38   can't connect to it anymore over GATT.
39
40If you configure multiple boards like this they can communicate with
41each other over mesh: by pressing the user button on the board the first
42word (name) of the stored text will be sent to all other boards in
43the network and cause the other boards to display "<name> says hi!".
44
45To reset a board to its initial state (disable mesh, erase the stored
46text, and make it connectable over GATT):
47
48#. Keep the user button pressed when powering on (or press the reset button
49   when powered)
50#. Wait until "Resetting Device" is shown
51