Mesh Example


Muhammad Muh <muhammad.muh83@...>
 

Dear Respectable Group Members,

Good Morning,

I hope you all will be doing well in this COVID 19 situation.

Regarding Zephyr, I am facing a problem in running the nrf mesh example. I will be grateful if you can help me in this regard.

Example: /home/muhammad/zephyrproject/zephyr/samples/boards/nrf/mesh/onoff-app.

During Provisioning I am getting the following error please guide me. I will be grateful.

[meshctl]# discover-unprovisioned on
SetDiscoveryFilter success
Discovery started
Adapter property changed
[CHG] Controller CC:B0:DA:AA:73:AC Discovering: yes
Mesh Provisioning Service (00001827-0000-1000-8000-00805f9b34fb)
Device UUID: c98f1f844cd300000000000000000000
OOB: 0000
[meshctl]# provision c98f1f844cd300000000000000000000
Trying to connect Device D3:4C:84:1F:8F:C9 Zephyr
Adapter property changed
[CHG] Controller CC:B0:DA:AA:73:AC Discovering: no
Failed to connect: org.bluez.Error.Failed
[meshctl]# provision c98f1f844cd300000000000000000000
Could not find device proxy
[meshctl]# discover-unprovisioned on
SetDiscoveryFilter success
Discovery started
Adapter property changed
[CHG] Controller CC:B0:DA:AA:73:AC Discovering: yes
Mesh Provisioning Service (00001827-0000-1000-8000-00805f9b34fb)
Device UUID: c98f1f844cd300000000000000000000
OOB: 0000
[NEW] Device D3:4C:84:1F:8F:C9 Zephyr
[meshctl]# provision c98f1f844cd300000000000000000000
Trying to connect Device D3:4C:84:1F:8F:C9 Zephyr
Adapter property changed
[CHG] Controller CC:B0:DA:AA:73:AC Discovering: no
Connection successful
Services resolved yes
Found matching char: path /org/bluez/hci0/dev_D3_4C_84_1F_8F_C9/service0010/char0011, uuid 00002adb-0000-1000-8000-00805f9b34fb
Found matching char: path /org/bluez/hci0/dev_D3_4C_84_1F_8F_C9/service0010/char0013, uuid 00002adc-0000-1000-8000-00805f9b34fb
Start notification on /org/bluez/hci0/dev_D3_4C_84_1F_8F_C9/service0010/char0013
Characteristic property changed /org/bluez/hci0/dev_D3_4C_84_1F_8F_C9/service0010/char0013
AcquireNotify success: fd 7 MTU 69
Notify for Mesh Provisioning Out Data started
Open-Node: 0x55af8f71fef0
Open-Prov: 0x55af8f71eb60
Open-Prov: proxy 0x55af8f7228a0
Initiated provisioning
Characteristic property changed /org/bluez/hci0/dev_D3_4C_84_1F_8F_C9/service0010/char0011
AcquireWrite success: fd 8 MTU 69
GATT-TX: 03 00 10
GATT-RX: 03 01 04 00 01 00 00 06 00 18 00 00 00
Got provisioning data (12 bytes)
01 04 00 01 00 00 06 00 18 00 00 00
GATT-TX: 03 02 00 00 02 04 06
GATT-TX: 03 03 62 b6 6f 0d 10 8e 62 d9 0b b9 5e c5 68 fe
GATT-TX: dd cd 0f ee 2c d1 c9 87 b7 76 9f 51 0d d5 fd 09
GATT-TX: e7 bc e4 9a a3 96 e8 36 f6 1e 53 72 54 78 f1 d2
GATT-TX: 14 fd 88 86 b2 bb ec 05 3f 38 df b0 09 f5 57 47
GATT-TX: e1 c5
[Zephyr]# menu config
Menu config:
Available commands:
-------------------
target <unicast>                                  Set target node to configure
composition-get [page_num]                        Get composition data
netkey-add <net_idx>                              Add network key
netkey-del <net_idx>                              Delete network key
appkey-add <app_idx>                              Add application key
appkey-del <app_idx>                              Delete application key
bind <ele_idx> <app_idx> <mod_id> [cid]           Bind app key to a model
mod-appidx-get <ele_addr> <model id>              Get model app_idx
ttl-set <ttl>                                     Set default TTL
ttl-get                                           Get default TTL
pub-set <ele_addr> <pub_addr> <app_idx> <per (step|res)> <re-xmt (cnt|per)> <mod id> [cid]
 Set publication
pub-get <ele_addr> <model>                        Get publication
proxy-set <proxy>                                 Set proxy state
proxy-get                                         Get proxy state
ident-set <net_idx> <state>                       Set node identity state
ident-get <net_idx>                               Get node identity state
beacon-set <state>                                Set node identity state
beacon-get                                        Get node beacon state
relay-set <relay> <rexmt count> <rexmt steps>     Set relay
relay-get                                         Get relay
hb-pub-set <pub_addr> <count> <period> <ttl> <features> <net_idx> Set heartbeat publish
hb-pub-get                                        Get heartbeat publish
hb-sub-set <src_addr> <dst_addr> <period>         Set heartbeat subscribe
hb-sub-get                                        Get heartbeat subscribe
sub-add <ele_addr> <sub_addr> <model id>          Add subscription
sub-get <ele_addr> <model id>                     Get subscription
node-reset                                        Reset a node and remove it from network
back                                              Return to main menu
version                                           Display version
quit                                              Quit program
exit                                              Quit program
help                                              Display help about this program
export                                            Print environment variables
[Zephyr]#    target 0100
Configuring node 0100
[config: Target = 0100]#    appkey-add 1
Node 0100
 not found[config: Target = 0100]#

Regards



Join devel@lists.zephyrproject.org to automatically receive all group messages.