Hi,
Just like the issue that title has shown.
How to set structs and functions?
BR,
Yoole
Hi,
Just like the issue that title has shown.
How to set structs and functions?
BR,
Yoole
Hi Yoole
Please check out the SDK and the BLE peripheral examples we have already, containing multiple examples of how you can use the nRFs radio to advertise BLE advertisements to nearby scanning devices. For starters, I would suggest taking a look at the ble_app_beacon example for an example that just advertises data, and the ble_app_uart example, that advertises and connects to a scanning device requesting a connection (I.E. a phone).
Best regards,
Simon
Hi Yoole
Please check out the SDK and the BLE peripheral examples we have already, containing multiple examples of how you can use the nRFs radio to advertise BLE advertisements to nearby scanning devices. For starters, I would suggest taking a look at the ble_app_beacon example for an example that just advertises data, and the ble_app_uart example, that advertises and connects to a scanning device requesting a connection (I.E. a phone).
Best regards,
Simon
Hi Simon
Sadly, I cannot find the methods to change channels except 3 advertising channels.
At ble_app_beacon example, I set the struct of ble_gap_adv_params_t like below.
m_adv_params.channel_mask[0] = 0xff; m_adv_params.channel_mask[1] = 0xff; m_adv_params.channel_mask[2] = 0xff; m_adv_params.channel_mask[3] = 0xff; m_adv_params.channel_mask[4] = 0xef;
However, it may be something wrong, there's no advertising packet on the air at ch36.
BR,
Yoole