BLE Stack 1.4.0 allows to use only 3 channels. How can I use other channels?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
BLE Stack 1.4.0 allows to use only 3 channels. How can I use other channels?
Hi,
BLE spec defines Channels 37,38 and 39 as Advertising channels. BLE spec reserves Channels 0-36 as data channels which will be used during a connection(with adaptive frequency hopping).
During advertising a device uses channels 37, 38 and 39 in a round robin manner.
Regards,
Arun
Based on the type of advertisement, General or Limited, you need to set following parameters:
TGAP_LIM_DISC_ADV_INT_MIN// Minimum advertising interval, when in limited discoverable mode (n * 0.625 mSec)
TGAP_LIM_DISC_ADV_INT_MAX //Maximum advertising interval, when in limited discoverable mode (n * 0.625 mSec)
TGAP_GEN_DISC_ADV_INT_MIN //Minimum advertising interval, when in General discoverable mode (n * 0.625 mSec)
TGAP_GEN_DISC_ADV_INT_MAX //Maximum advertising interval, when in General discoverable mode (n * 0.625 mSec)
You can refer SimpleBLEPeripheral project for the same.