Bluetooth low energy advertisement scan, channel info or selection -
i've written application using bluez, scans ble advertisement data. application receives advertisement messages no problems.
for advertisement messages, ble sends messages using 3 channels 37, 38 , 39. each uses different frequency. when application receives data, i'd able determine on channel data received. if not possible, possible force low energy scan on single channel or subset of 3 channels.
in le_set_advertising_parameters_cp structure there chann_map;
if bit set 1 channel 37 used, , if bit set 2
channel 38 used ,and if bit set 4 channel 39 used, , if bit
is set 7 channels enabled;more details page 1058 in spec4.0
Comments
Post a Comment