STMicroelectronics / BlueSTSDK_Python

Bluetooth Low Energy Sensors Technology Software Development Kit (Python version for Linux Gateways)
https://www.st.com/en/embedded-software/bluest-sdk.html
BSD 3-Clause "New" or "Revised" License
61 stars 19 forks source link

How to choose direction when i activate Beamforming ? #13

Closed EvanFang1013 closed 4 years ago

EvanFang1013 commented 4 years ago

Hi~ Excuse me ! I want to choose direction to collect sound signal,but i don't how to use

By the way, device.send_command(b"\x00\x00\x08\x00\xAA\x01") Can you explain the command line about "x00\xAA\x01" Thank you

matteoronchi commented 4 years ago

Hi EvanFang1013,

the command structure is the following: [Feature_Mask | Command_Type | Command_Value] so, in your case:

[0x00000800 | 0xAA | 0x01]

In general, for which concern the Beamforming Feature, the available commands are the following:

Best regards, Matteo

EvanFang1013 commented 4 years ago

Dear Matteo, Thanks for your support. I'm successfully.