how to do simple data transfer using bluetooth serail terminal?
how to do simple data transfer using bluetooth serail terminal?
Also, you may not use breakpoints as normal when working with the SoftDevice, since the breakpoint will halt the CPU which will cause the SoftDevice to assert as soon as it is restarted - since the SoftDevice misses all its timing critical deadlines when the CPU is halted.
Best regards,
Karl
if i set advertising interval as 40ms then for how much time device advertise the data and for how much time device id idle?
The advertising interval only configures the time in between each advertising. The advertising duration or timeout is what determines how long the device will be advertising. The device will be in the low-power SYSTEM_ON idle state in between each advertising, and wake up when an advertising event is upcoming.
Best regards,
Karl
if i set advertising interval as 40ms then system is on idle state for 40ms after advertising right?
This will depend on your application, but in the BLE peripheral example's cases: Yes, unless there are other parts of the application keeping the CPU awake.