edrosten / libblepp

Modern clean C++ Bluetooth Low Energy on Linux without the Bluez DBUS API
Other
241 stars 63 forks source link

BLE advertising channel #33

Closed naghdi61 closed 6 years ago

naghdi61 commented 6 years ago

I would like to know how to see in which channel (37,38,39) the BLE device is advertising its data by using libblepp?.

edrosten commented 6 years ago

I don't believe that information is in the scan packet, so I don't have a way of reporting it. I might be wrong though, but none of the HCI dumping tools (hcidump and btmon) show it either.

-Ed

On 15 August 2018 at 02:13, naghdi61 notifications@github.com wrote:

I would like to know how to see in which channel (37,38,39) the BLE device is advertising its data by using libblepp?.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/edrosten/libblepp/issues/33, or mute the thread https://github.com/notifications/unsubscribe-auth/ABGW69edJR-5rsMRbEWqifuT5471hDxmks5uQ3WxgaJpZM4V9aWT .

edrosten commented 6 years ago

By scan packet, I mean the packet the HCI sends back to the host that contains the advertising packet, RSSI and so on.

On Wed, 15 Aug 2018, 08:50 Edward Rosten, edward.rosten@gmail.com wrote:

I don't believe that information is in the scan packet, so I don't have a way of reporting it. I might be wrong though, but none of the HCI dumping tools (hcidump and btmon) show it either.

-Ed

On 15 August 2018 at 02:13, naghdi61 notifications@github.com wrote:

I would like to know how to see in which channel (37,38,39) the BLE device is advertising its data by using libblepp?.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/edrosten/libblepp/issues/33, or mute the thread https://github.com/notifications/unsubscribe-auth/ABGW69edJR-5rsMRbEWqifuT5471hDxmks5uQ3WxgaJpZM4V9aWT .

naghdi61 commented 6 years ago

Thanks for your answer, Dear Edward Rosten could you please tell how can I get that? I have RSSI values, local name, Mac address, scan time, etc. that I can get from the scan packet but still can not find any info about channels,

edrosten commented 6 years ago

I don't think the HCI sends that information so as far as I know there's no way to get it.

On Thu, 16 Aug 2018, 18:03 naghdi61, notifications@github.com wrote:

Thanks for your answer, Dear Edward Rosten could you please tell how can I get that? I have RSSI values, local name, Mac address, scan time, etc. that I can get from the scan packet but still can not find any info about channels,

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/edrosten/libblepp/issues/33#issuecomment-413615838, or mute the thread https://github.com/notifications/unsubscribe-auth/ABGW6wM8yDf5cbNn4EjrQ2BJy0a-Do3Dks5uRaXpgaJpZM4V9aWT .

edrosten commented 6 years ago

I don't believe this is fixable. Please reopen if I'm wrong!