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
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
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
Hi Eric,
Thanks for the reply.
Yes this helped. Now I just need to know what the command(s) in the Master Emulator API to set it to a "1". The Master Emulator API is part of Nordic's MCP download that is located in : C:\Program Files (x86)\Nordic Semiconductor\Master Emulator\2.1.13.14\Documentation. Can you please help me with that.
Thank you,
Virgil
Hi Eric,
Thanks for the reply.
Yes this helped. Now I just need to know what the command(s) in the Master Emulator API to set it to a "1". The Master Emulator API is part of Nordic's MCP download that is located in : C:\Program Files (x86)\Nordic Semiconductor\Master Emulator\2.1.13.14\Documentation. Can you please help me with that.
Thank you,
Virgil