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

What does the Enable services do in MCP

Hi,

What does the "Enable services" button in the MCP do?
What are the Master Emulator API equivalent command to duplicate the "Enable services" button in the MCP?

Thank you, Virgil

Parents
  • Hi Virgil,

    The Enable services button enables the Notification state for every characteristic for every service available on the connect BLE device. I'm not familiar with the "Master Emulator API" but essentially you would be looking for a function that enables notifications for a characteristic.

    If you connect with MCP and then click Enable Services, you'll see that all characteristics with the Notify property in their CCCD will be set to 0x0100 which is the value for Notification Enabled.

    Hope this helps,

    Eric

Reply
  • Hi Virgil,

    The Enable services button enables the Notification state for every characteristic for every service available on the connect BLE device. I'm not familiar with the "Master Emulator API" but essentially you would be looking for a function that enables notifications for a characteristic.

    If you connect with MCP and then click Enable Services, you'll see that all characteristics with the Notify property in their CCCD will be set to 0x0100 which is the value for Notification Enabled.

    Hope this helps,

    Eric

Children
Related