mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-07-21 02:24:08 +00:00
a1bfe3a6ae
Previously Vendor Model used Generic OnOff opcodes. According to the spec, vendor models should use 3-octet opcodes. Mesh Profile Specification, Section 2.3.3: "An opcode may be a single octet (for special messages that require maximum possible payload for parameters), 2 octets (for standard messages), or 3 octets (for vendor-specific messages)." This patch fixes that, by defining vendor specific opcode and adds a callback, that reads the received message and sends it back to the source.