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

Using PyACI to control a serial-device to send model-packet

Hi Nordic expert:

I need using PyACI to let a nrf52832 board to send a genericOn client packet to other mesh devices those have genericOnOff server model.

My environment are every devices has light_switch+ serial module + genericOnOff client/server model, and all of them are provisioned, and genericOnOff server are adding 0xC001 subscribe address.

But I don't know how to send serial command to let the pc-connected device to receive serial packet and send that to other devices via mesh network.

I only see the "sending mesh packet" page on infocenter:

http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.meshsdk.v2.1.1/md_scripts_interactive_pyaci_doc_demo_sending_packets.html?cp=4_1_0_1_1_3_1

But this looks like not my need, this demo is sending a string via mesh "transport layer", I want to manipulate model layer to send packet, I just find "model specific command"

http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.meshsdk.v2.1.1%2Fmd_doc_libraries_serial_cmd.html&cp=4_1_0_1_1_0&anchor=model-specific-command

Could you please guide me how to use this command?

Thanks you very much.

Joseph

Related