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

May I Add a new custom opcode whithout creating a new modle?

Dear support team,

I'm using the demo (thingy52-mesh-provisioning-demo).

I want to create an opcode hadler to enable/disable proxy service.

So that I can send messge to enable/disable proxy service.

May I just add an opcode and hadler  in the current model or I need to create a new one?

Can you please help me with this?

thanks in advance. 

Parents Reply
  • Thanks for your reply.

    But I still feel confused. I found a method called proxy_enable() and proxy_disable()

    It seems using these can disable/enable proxy. But I don't know how to add these function to the configuration server/client.

    My purpose is to enable/disable proxy function on my phone which is proxy client by sending the GATT message to one of the mesh nodes. 

    May I create a new opcode like Generic OnOff Set(0x8202)?

    If so is there any rule to create a new opcode handler?

    thanks in advance. 

Children
No Data
Related