This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

MCP default values

Now I'm working with MCP 3.9.0. When any device is connected, characteristic default values are not 0's. Can they be initialized in any way? It is a little bit annoying when certain values have to be written in order to be sent to remote device, because all bytes have to be set to 0 before. Best regards.

Parents
  • Are you bonding? Could you edit your question to include a screenshot of this? And the logs file from MCP? When MCP does service discovery it will try to read all the characteristic values afterwards. You say your characteristic is write only, which I guess means that the Properties of the characteristic is Write. Properties are hints, and it doesn't necessarily mean that you cannot read it. Please see this answer.

    If MCP is not permitted to read the value, "no value" or something will appear. But still, the characteristic value on the server in the peripheral will still be the same.

Reply
  • Are you bonding? Could you edit your question to include a screenshot of this? And the logs file from MCP? When MCP does service discovery it will try to read all the characteristic values afterwards. You say your characteristic is write only, which I guess means that the Properties of the characteristic is Write. Properties are hints, and it doesn't necessarily mean that you cannot read it. Please see this answer.

    If MCP is not permitted to read the value, "no value" or something will appear. But still, the characteristic value on the server in the peripheral will still be the same.

Children
No Data
Related