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

Serial example fails in Mesh SDK

I was checking out the serial example using two PCA10040 evaluation boards. Most of the commands were executed successfully as mentioned in the link http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.meshsdk.v1.0.0%2Fmd_scripts_interactive_pyaci_README.html , but the

d[0].send(PacketSend(8, 0x0001, 15, 1, 0, "Hello world"))

command throws up an error while running.

Please see the log -

In [8]:

In [8]: d[0].send(PacketSend(8, 0x0001, 1, 1, 0, "Hello world"))
---------------------------------------------------------------------------
NameError Traceback (most recent call last)
F:\Nordic_BLE\Mesh_setup\nrf_mesh_sdk_v1.00\scripts\interactive_pyaci\interactive_pyaci.py in <module>()
----> 1 d[0].send(PacketSend(8, 0x0001, 1, 1, 0, "Hello world"))

NameError: name 'PacketSend' is not defined

In [9]:

In [9]:

I'm using python 3.5.2 on a windows 10 PC. Please note that i have made appropriate changes to the appkey_handle  and dst_addr_handle. Still i am unable to send a message to the provisionee. Any help would be appreciated.

Thanks in advance,

Vinu

 

Parents Reply Children
No Data
Related