I set 0 to APP_ADV_DURATION then advertising stopes.
I set 0 to APP_ADV_DURATION then advertising stopes.
Hello,
You also need to change the adv. flag in adv. init from BLE_GAP_ADV_FLAGS_LE_ONLY_LIMITED_DISC_MODE to BLE_GAP_ADV_FLAGS_LE_ONLY_GENERAL_DISC_MODE, because the max. adv. duration is limited to 3 minutes in limited discovery mode.
I am using nRFF52840 DK with SDK 17.0.0.9. there is no BLE_GAP_ADV_FLAGS_LE_ONLY_LIMITED_DISC_MODE flag, but there BLE_GAP_ADV_FLAGS_LE_ONLY_GENERAL_DISC_MODE is present. What can I do?
Is it set with general discovery mode like shown below?
It is working but this advertisement is not showing to other than nrf UART app.
please give me solution.
What other apps did you try? Our nRF connect app should display it as well.
There is limitation in nRF UART app. I can only sent 20 character at a time. I need to send more than 20 character because I am inter face with my energy meter. It is following DLMS protocol.
The effective payload packet may be limited to 20 bytes if you use an old phone that doesn't support long MTU. I'm not familiar with this protocol, but I imagine you can split and reassemble the packets in your app and FW.
The effective payload packet may be limited to 20 bytes if you use an old phone that doesn't support long MTU. I'm not familiar with this protocol, but I imagine you can split and reassemble the packets in your app and FW.