Based on Mesh SDK 2.1.1.
I use light switch proxy client & proxy server to test server publish function.
But when I use the phone setting network, I found that the client's publish & subscribe settings, the server's publish function can be used correctly.
If the client only sets subscribe and doesn't set publish,the server's publish function can't be used.
Can I set the client's subscribe and server's publish separately to use the publish function?
left figure : client set publish & subscribe
right figure : client only set subscribe
figure : server set publish
Are you saying that if you set the client's generic on off model publish function to e.g. 0xC001 & set the server's generic on off model subscribe function to 0xC001, then you are able to send the status message from the server to the client by pressing Button 1 on the server?
I believe this is the only way to send the status message from the server to the client, as you are not publishing a message from the server to the client. You are only sending a status message telling the client what the LED 1 state is of the server.
No, this is simple on off model.
I want server publish and client subscribe.
left figure + figure : Server publish and client subscribe => OK
right figure + figure : Server publish and client subscribe => Not OK