I have a vendor model bt_mesh_model_op defined as follows
const struct bt_mesh_model_op _admin_model_ops[] = {
What are the guidelines for creating vendor specific opcodes?
Thanks
I have a vendor model bt_mesh_model_op defined as follows
const struct bt_mesh_model_op _admin_model_ops[] = {
AndyM said:What's the size of the message for this opcode? If it's 8 bytes - that would explain why I don't get "invalid message size" when I use it .
The contents and length of the messages can be found here.
I should mention that if you are simply testing, or not using this to make your own products it doesn't matter what company ID you use. However, using the Nordic ID for this isn't good (We might for instance decide to add another opcode which might conflict with yours). There is a special value for such purposes which is 0xFFFF (for more info see here). If you want to sell products however you would of course need to qualify the products and get your own company ID.
Btw, could you give me the exact wording of the error message you were getting?
Regards,
Elfving
I've moved on since, using company ID and opcodes 0xa and higher seems to work just fine
From memory the message was "invalid message size for opcode....."
Thank you for your help