Hello!
I am trying to develop tests with Zephyr Ztest framework to determine proper code coverage. Part of my functions invoke BLE NUS send and receive. For this to work properly and verify BLE portion is correct, I'm trying to find ways to mock the central connection that the device would connect to.
Are there any example codes or methods that I could mock the central connection that the testing code would connect to? This is so that the mocked central role can do things like enable TX notifications so the nus_send would go through.
Thanks!