We are using bluetooth low energy dongle BLED112-V1 in our test equipement with labview apis. We would like to customize the advetising data packet with 40 byte data payload. We would also like to customize the beacon name like ML-ASST in the data payload. Please let us know, how to achive this. Send us the reference documents if available.
Sr. Hardware Engineer
I think that you should check out our API RM for the device which is available on our website under the following link:
The command which can be used to set the advertisement data is described on page 88.
We are using BLE Toolkit with labview to advertise BLE data with BLED112-V1. I dont find any function/VI in this BLE toolkit to customise BLE payload. I would also like to change default complete local name Bluegiga BLED112 to another name like ML-ASST. Please share the document which describes, the various functions of this toolkit.
As I said, if you would like to set your own advertisement data you can use the ble_cmd_gap_set_adv_data which is described in details under the link I sent. For more information you should also have a look at the BT v4.0 Core specification where it is stated that the advertisement data payload can not be greater than 31 bytes so you will not be able to set 40 as you wrote at first.
I would also recommend you to check out a few of our KBAs which are available under the following links:
To change the manufacturer specific data you would need to modify the gatt.xml file in the usbcdc sample configuration which can be found in the "examples" folder in the BLE SDK's directory. Then you would need to build the project using the bgbuild.exe (located in: C:\Bluegiga\ble-1.8.0-143\bin) and after that you need to program the device using DFU in the BLEGUI.
Thanks for the info Adam. As i mentioned, in my query, i am using BLE toolkit developed for labview and there is no function such function ble_cmd_gap_set_adv_data provided in this toolkit. There could be another approch to customise BLE payload in this BLE toolikt. Can somebody in this forum, or if the author of this BLE toolikit send the user guide for this toolikit if available.
@Adam: Is it possible to use the BGScript in the labview. can you please send me some examples codes if available
Oh sorry for the misunderstanding I was not aware that such labView BLE Toolkit was available for our modules. Unfortunately, we do not have any knowledge about it and we are not supporting any kits for BLE working with labView. All the examples are include in the official SDK which is available on our website. Also I can not see how you could use BGScript in labView as it is a Script which is running on the module and when it comes to the BLED112 dongle it is not that simple to use. There is a KBA describing the process: https://www.silabs.com/community/wireless/bluetooth/knowledge-base.entry.html/2015/08/06/_how-to_run_a_bgsc-FM28
I think it would be best if you would try to search for the documentation for this toolkit where it was published which was probably NI's forum. Maybe the author of it could help you.
Also based on some brief information I found on the internet, it seems the kit was prepared based outdated version of the API 1.3 so I would not recommend using it because it will be lacking a lot of improvements and changes of the latest version of the firmware.