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
Please try EricS' suggestion. You can look at one of the example applications to see how this is done.
An alternative would be to use the pc_ble_driver which interfaces our connectivity solution, This way you can use softdevice commands in your test environment. There is also a JS wrapper if that suites you better. Unfortunately we don't have a wrapper for C#.
Please try EricS' suggestion. You can look at one of the example applications to see how this is done.
An alternative would be to use the pc_ble_driver which interfaces our connectivity solution, This way you can use softdevice commands in your test environment. There is also a JS wrapper if that suites you better. Unfortunately we don't have a wrapper for C#.