I am trying to implement a connection between BLE112 and BLE112 Smart Dongle BlueGiga .
These two sets support AT.
I managed to pair the two between the BLEGUI tool, as shown in the screenshot below.

For read operations, the console displays the following:
ble_cmd_attclient_read_by_handle connection: 0 chrhandle: 3 TX: 00030404000300 ble_rsp_attclient_read_by_handle connection: 0 result: 0 ['No Error'] RX: 00030404000000 ble_evt_attclient_attribute_value connection: 0 atthandle: 3 type: 0 value:426c75656769676120554152542044656d6f RX: 801704050003000012426c75656769676120554152542044656d6f
The above lines mean that the client (BLED112 USB Dongle) can read the third attrbute value stored on the server (BLE112 board). This value was right there when I received it.
Now the part below shows that I tried to read the 7th attribute, which is not on the device, but I intend to create. Since the followinf read command was written by me directly on the BLEGUI console, it looks different than what it would be visible and was sent via the buttons present on the BLEGUI.
ble_cmd_attclient_read_by_handle 0 7 TX: 00030404000700 ble_rsp_attclient_read_by_handle connection: 0 result: 0 ['No Error'] RX: 00030404000700 ble_evt_attclient_procedure_completed connection: 0 result: 401 ['The attribute handle given was not valid on this server']chrhandle: 7 RX: 800504010001040700
I have the following questions:
- Can I create new (user defined) attributes on the device?
- Can I write / modify existing attributes on a device?
- If I intend to store any data on the device, how can this be done?
bluetooth-lowenergy bluegiga
Segmentation fault
source share