This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

RTOS/CC2640R2F: Off chip OAD out of the box example - invalid image metadata btool error

Part Number: CC2640R2F

Tool/software: TI-RTOS

SDK: simplelink_cc2640r2_sdk_2_40_00_32

IDE: ccsv8

Hi,

I followed the steps in the off-chip OAD Docs out of box example and facing an issue (All done in ccsv8). Below is what I did.

TARGET SIDE::

1. Imported "simple_peripheral_cc2640r2lp_oad_offchip_app" from the SDK which automatically pulls in the "simple_peripheral_cc2640r2lp_oad_offchip_stack" and "bim_oad_offchip_cc2640r2lp_app".

2. Build squence as follows: "bim_oad_offchip_cc2640r2lp_app" --> "simple_peripheral_cc2640r2lp_oad_offchip_stack" --> "simple_peripheral_cc2640r2lp_oad_offchip_app".

3. Selected "bim_oad_offchip_cc2640r2lp_app" in ccs and loaded it onto the cc2640r2lp using the flash icon.

4. Flashed the: simple_peripheral_cc2640r2lp_oad_offchip_app-->FlashROM-->simple_peripheral_cc2640r2lp_oad_offchip_app_FlashROM_oad_merged.bin. The was done using the Uniflash tool.

5. Power cycled the cc2640r2lp and it started advertising with scan response as "SBP OAD APP v0001".

DOWNLOADER SIDE::


1. Flashed the host_tool project onto another cc2640r2lp.

2. Opened bTool, did a scan and was able to detect the target cc2640 and connected with it.

3. Now, I moved to the OAD tab in the btool and selected the simple_peripheral_cc2640r2lp_oad_offchip_app-->FlashROM- ->simple_peripheral_cc2640r2lp_oad_offchip_app_FlashROM_oad.bin.

After doing the above, I get an invalid Image Metadata as shown in the snap shown below.

Then I clicked Add Metadata and got below response but image type is still unknown.

----------Tried a couple of more things without much luck--------------

After some researching online, I noticed that the post-build configuration for "bim_oad_offchip_cc2640r2lp_app" to use the oad_image_tool was missing as shown below:

 

Then I included the following line in the post-build steps:

/home/vinaydivakar/ti/simplelink_cc2640r2_sdk_2_40_00_32/tools/blestack/oad/oad_image_tool -h

Then I cleaned and rebuild the "bim_oad_offchip_cc2640r2lp_app" project and got the following output in the console based on which I have a few questions:

/home/vinaydivakar/ti/simplelink_cc2640r2_sdk_2_40_00_32/tools/blestack/oad/oad_image_tool -h
usage: oad_image_tool [-h] [-v] [-verbose] [-hex1 HEXPATH1] [-bdf BDFILEPATH]
[-hex2 [HEXPATH2]] [-k [KEYFILE]] -o OUTPUT
ProjType ProjDir BinaryType

OAD Hex to Binary Converter version

positional arguments:
ProjType Target project Type: (iar/ccs)
ProjDir Target project directory
BinaryType BIM = 0, Application = 1, Stack = 2, Application +
Stack = 3

optional arguments:
-h, --help show this help message and exit
-v, --version show program's version number and exit
-verbose, --verbose
-hex1 HEXPATH1, --HexPath1 HEXPATH1
First .hex file path (app/stack)
-bdf BDFILEPATH, --bdFilePath BDFILEPATH
Boundary file path
-hex2 [HEXPATH2], --HexPath2 [HEXPATH2]
Second .hex file name (app/stack)
-k [KEYFILE], --keyFile [KEYFILE]
Provide the location of the file containing your
private key
-o OUTPUT, --output OUTPUT
Path and filename of output file(s) without extension

**** Build Finished ****

My questions are:

1. For [-hex1 HEXPATH1] arguement, which hex file should I include, is it "bim_oad_offchip_cc2640r2lp_app.hex" generated in the /bim_oad_offchip_cc2640r2lp_app/FlashOnly directory?

2. Where can I find files for [-hex2 HEXPATH2] and [-k [KEYFILE]?

/home/vinaydivakar/ti/simplelink_cc2640r2_sdk_2_40_00_32/tools/blestack/oad/oad_image_tool /home/vinaydivakar/Desktop/OAD/bim_oad_offchip_cc2640r2lp_app/FlashOnly/bim_oad_offchip_cc2640r2lp_app.hex -o /home/vinaydivakar/Desktop/OAD/bim_oad_offchip_cc2640r2lp_app/FlashOnly/oad_target_application


And when I add the above command in the post config steps, I get the following error after the build.

/home/vinaydivakar/ti/ccsv8/tools/compiler/ti-cgt-arm_18.1.3.LTS/bin/armhex -order MS --memwidth=8 --romwidth=8 --intel -o bim_oad_offchip_cc2640r2lp_app.hex bim_oad_offchip_cc2640r2lp_app
Translating to Intel format...
"bim_oad_offchip_cc2640r2lp_app.out" .intvecs ==> .intvecs
"bim_oad_offchip_cc2640r2lp_app.out" .text ==> .text
"bim_oad_offchip_cc2640r2lp_app.out" .const ==> .const
"bim_oad_offchip_cc2640r2lp_app.out" .cinit ==> .cinit
"bim_oad_offchip_cc2640r2lp_app.out" .cert_element ==> .cert_element
"bim_oad_offchip_cc2640r2lp_app.out" .ccfg ==> .ccfg
/home/vinaydivakar/ti/simplelink_cc2640r2_sdk_2_40_00_32/tools/blestack/oad/oad_image_tool /home/vinaydivakar/Desktop/OAD/bim_oad_offchip_cc2640r2lp_app/FlashOnly/bim_oad_offchip_cc2640r2lp_app.hex -o /home/vinaydivakar/Desktop/OAD/bim_oad_offchip_cc2640r2lp_app/FlashOnly/oad_target_application
makefile:181: recipe for target 'post-build' failed
usage: oad_image_tool [-h] [-v] [-verbose] [-hex1 HEXPATH1] [-bdf BDFILEPATH]
[-hex2 [HEXPATH2]] [-k [KEYFILE]] -o OUTPUT
ProjType ProjDir BinaryType
oad_image_tool: error: the following arguments are required: ProjDir, BinaryType
gmake[2]: [post-build] Error 2 (ignored)

**** Build Finished ****

Is there any example of exisiting project running the post build command?

I am pretty much stuck here and need some help to getting this out of the box example working. 

Cheers

Vinay

  • Vinay,

    Which OAD doc did you refer to? The PDF

    Have you referred to the OAD chapter in the BLE Stack User's Guide?

    This section of the chapter covers how to properly set up the BLE OAD Environment.

    BR,

    Seong

  • Hi,

    Thank you for your reply.

    I referred to the "section of the chapter" to set up the BLE OAD Environment (All projects selected for FlashROM unsecure). The target boots properly and starts advertising as shown below:

    After the above, I followed instructions for setting up the distributor using the btool. In the btool, when I select the *_oad.bin file, I still get the invalid image metadata issue. This is straight out of the box example and I am unable to get it to work. Below shows the image of the invalid error.

    Then I tried adding the metadata via the btool and manually changing the Image type field to 01 and got all valid fields. Then did a write image file and read it back as shown below.

    Then I get OAD Download Not Successful. This is an example project and I wonder why it's not working? Please guide me on this. I have also attached the btool log file for reference. 

    [1] : <Info> - 11:16:22.552
    OAD - Update Connection Settings
    --------------------------------------------------------------------
    [2] : <Info> - 11:16:22.553
    Start OAD Download
    --------------------------------------------------------------------
    [3] : <Info> - 11:16:22.554
    OAD Send UUID Discovery
    --------------------------------------------------------------------
    [4] : <Tx> - 11:16:22.553
    -Type           : 0x01 (Command)
    -OpCode         : 0xFE11 (GAP_UpdateLinkParamReq)
    -Data Length    : 0x0A (10) byte(s)
     ConnHandle     : 0x0000 (0)
     IntervalMin    : 0x0006 (6)
     IntervalMax    : 0x0006 (6)
     ConnLatency    : 0x0000 (0)
     ConnTimeout    : 0x0032 (50)
    Dump(Tx):
    0000:01 11 FE 0A 00 00 06 00 06 00 00 00 32 00       ............2.
    --------------------------------------------------------------------
    [5] : <Tx> - 11:16:22.563
    -Type           : 0x01 (Command)
    -OpCode         : 0xFD86 (GATT_DiscPrimaryServiceByUUID)
    -Data Length    : 0x12 (18) byte(s)
     ConnHandle     : 0x0000 (0)
     Value          : 00:00:00:00:00:00:00:B0:00:40:51:04:C0:FF:00:F0
    Dump(Tx):
    0000:01 86 FD 12 00 00 00 00 00 00 00 00 00 B0 00 40 ...............@
    0010:51 04 C0 FF 00 F0                               Q.....
    --------------------------------------------------------------------
    [6] : <Rx> - 11:16:22.569
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (HCI_LE_ExtEvent)
    -Data Length    : 0x06 (6) bytes(s)
     Event          : 0x067F (1663) (GAP_HCI_ExtentionCommandStatus)
     Status         : 0x00 (0) (Success)
     OpCode         : 0xFE11 (GAP_UpdateLinkParamReq)
     DataLength     : 0x00 (0)
    Dump(Rx):
    0000:04 FF 06 7F 06 00 11 FE 00                      .........
    --------------------------------------------------------------------
    [7] : <Rx> - 11:16:22.590
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (HCI_LE_ExtEvent)
    -Data Length    : 0x06 (6) bytes(s)
     Event          : 0x067F (1663) (GAP_HCI_ExtentionCommandStatus)
     Status         : 0x00 (0) (Success)
     OpCode         : 0xFD86 (GATT_DiscPrimaryServiceByUUID)
     DataLength     : 0x00 (0)
    Dump(Rx):
    0000:04 FF 06 7F 06 00 86 FD 00                      .........
    --------------------------------------------------------------------
    [8] : <Rx> - 11:16:22.801
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (HCI_LE_ExtEvent)
    -Data Length    : 0x0B (11) bytes(s)
     Event          : 0x0607 (1543) (GAP_LinkParamUpdate)
     Status         : 0x1A (26) (The Procedure Is Completed)
     ConnHandle     : 0x0000 (0)
     ConnInterval   : 0x0000 (0)
     ConnLatency    : 0x0000 (0)
     ConnTimeout    : 0x0000 (0)
    Dump(Rx):
    0000:04 FF 0B 07 06 1A 00 00 00 00 00 00 00 00       ..............
    --------------------------------------------------------------------
    [9] : <Info> - 11:16:22.812
    OAD Send UUID Info Discovery
    --------------------------------------------------------------------
    [10] : <Rx> - 11:16:22.811
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (HCI_LE_ExtEvent)
    -Data Length    : 0x0A (10) bytes(s)
     Event          : 0x0507 (1287) (ATT_FindByTypeValueRsp)
     Status         : 0x00 (0) (Success)
     ConnHandle     : 0x0000 (0)
     PduLen         : 0x04 (4)
     Handle         : 30:00
     Handle         : FF:FF
    Dump(Rx):
    0000:04 FF 0A 07 05 00 00 00 04 30 00 FF FF          .........0...
    --------------------------------------------------------------------
    [11] : <Rx> - 11:16:22.993
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (HCI_LE_ExtEvent)
    -Data Length    : 0x06 (6) bytes(s)
     Event          : 0x0507 (1287) (ATT_FindByTypeValueRsp)
     Status         : 0x1A (26) (The Procedure Is Completed)
     ConnHandle     : 0x0000 (0)
     PduLen         : 0x00 (0)
    Dump(Rx):
    0000:04 FF 06 07 05 1A 00 00 00                      .........
    --------------------------------------------------------------------
    [12] : <Tx> - 11:16:22.993
    -Type           : 0x01 (Command)
    -OpCode         : 0xFD84 (GATT_DiscAllCharDescs)
    -Data Length    : 0x06 (6) byte(s)
     ConnHandle     : 0x0000 (0)
     StartHandle    : 0x0030 (48)
     EndHandle      : 0xFFFF (65535)
    Dump(Tx):
    0000:01 84 FD 06 00 00 30 00 FF FF                   ......0...
    --------------------------------------------------------------------
    [13] : <Rx> - 11:16:23.033
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (HCI_LE_ExtEvent)
    -Data Length    : 0x06 (6) bytes(s)
     Event          : 0x067F (1663) (GAP_HCI_ExtentionCommandStatus)
     Status         : 0x00 (0) (Success)
     OpCode         : 0xFD84 (GATT_DiscAllCharDescs)
     DataLength     : 0x00 (0)
    Dump(Rx):
    0000:04 FF 06 7F 06 00 84 FD 00                      .........
    --------------------------------------------------------------------
    [14] : <Rx> - 11:16:23.295
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (HCI_LE_ExtEvent)
    -Data Length    : 0x0F (15) bytes(s)
     Event          : 0x0505 (1285) (ATT_FindInfoRsp)
     Status         : 0x00 (0) (Success)
     ConnHandle     : 0x0000 (0)
     PduLen         : 0x09 (9)
     Format         : 0x01 (1) (A List Of 1 Or More Handles With Their 16-bit Bluetooth UUIDs)
     Handle         : 0030
     Uuid           : 00:28
     Handle         : 0031
     Uuid           : 03:28
    Dump(Rx):
    0000:04 FF 0F 05 05 00 00 00 09 01 30 00 00 28 31 00 ..........0..(1.
    0010:03 28                                           .(
    --------------------------------------------------------------------
    [15] : <Rx> - 11:16:23.497
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (HCI_LE_ExtEvent)
    -Data Length    : 0x19 (25) bytes(s)
     Event          : 0x0505 (1285) (ATT_FindInfoRsp)
     Status         : 0x00 (0) (Success)
     ConnHandle     : 0x0000 (0)
     PduLen         : 0x13 (19)
     Format         : 0x02 (2) (A List Of 1 Or More Handles With Their 128-bit UUIDs)
     Handle         : 0032
     Uuid           : 00:00:00:00:00:00:00:B0:00:40:51:04:C1:FF:00:F0
                      
    Dump(Rx):
    0000:04 FF 19 05 05 00 00 00 13 02 32 00 00 00 00 00 ..........2.....
    0010:00 00 00 B0 00 40 51 04 C1 FF 00 F0             .....@Q.....
    --------------------------------------------------------------------
    [16] : <Rx> - 11:16:23.698
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (HCI_LE_ExtEvent)
    -Data Length    : 0x13 (19) bytes(s)
     Event          : 0x0505 (1285) (ATT_FindInfoRsp)
     Status         : 0x00 (0) (Success)
     ConnHandle     : 0x0000 (0)
     PduLen         : 0x0D (13)
     Format         : 0x01 (1) (A List Of 1 Or More Handles With Their 16-bit Bluetooth UUIDs)
     Handle         : 0033
     Uuid           : 02:29
     Handle         : 0034
     Uuid           : 01:29
     Handle         : 0035
     Uuid           : 03:28
    Dump(Rx):
    0000:04 FF 13 05 05 00 00 00 0D 01 33 00 02 29 34 00 ..........3..)4.
    0010:01 29 35 00 03 28                               .)5..(
    --------------------------------------------------------------------
    [17] : <Rx> - 11:16:23.900
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (HCI_LE_ExtEvent)
    -Data Length    : 0x19 (25) bytes(s)
     Event          : 0x0505 (1285) (ATT_FindInfoRsp)
     Status         : 0x00 (0) (Success)
     ConnHandle     : 0x0000 (0)
     PduLen         : 0x13 (19)
     Format         : 0x02 (2) (A List Of 1 Or More Handles With Their 128-bit UUIDs)
     Handle         : 0036
     Uuid           : 00:00:00:00:00:00:00:B0:00:40:51:04:C2:FF:00:F0
                      
    Dump(Rx):
    0000:04 FF 19 05 05 00 00 00 13 02 36 00 00 00 00 00 ..........6.....
    0010:00 00 00 B0 00 40 51 04 C2 FF 00 F0             .....@Q.....
    --------------------------------------------------------------------
    [18] : <Rx> - 11:16:24.101
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (HCI_LE_ExtEvent)
    -Data Length    : 0x13 (19) bytes(s)
     Event          : 0x0505 (1285) (ATT_FindInfoRsp)
     Status         : 0x00 (0) (Success)
     ConnHandle     : 0x0000 (0)
     PduLen         : 0x0D (13)
     Format         : 0x01 (1) (A List Of 1 Or More Handles With Their 16-bit Bluetooth UUIDs)
     Handle         : 0037
     Uuid           : 02:29
     Handle         : 0038
     Uuid           : 01:29
     Handle         : 0039
     Uuid           : 03:28
    Dump(Rx):
    0000:04 FF 13 05 05 00 00 00 0D 01 37 00 02 29 38 00 ..........7..)8.
    0010:01 29 39 00 03 28                               .)9..(
    --------------------------------------------------------------------
    [19] : <Rx> - 11:16:24.297
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (HCI_LE_ExtEvent)
    -Data Length    : 0x19 (25) bytes(s)
     Event          : 0x0505 (1285) (ATT_FindInfoRsp)
     Status         : 0x00 (0) (Success)
     ConnHandle     : 0x0000 (0)
     PduLen         : 0x13 (19)
     Format         : 0x02 (2) (A List Of 1 Or More Handles With Their 128-bit UUIDs)
     Handle         : 003A
     Uuid           : 00:00:00:00:00:00:00:B0:00:40:51:04:C5:FF:00:F0
                      
    Dump(Rx):
    0000:04 FF 19 05 05 00 00 00 13 02 3A 00 00 00 00 00 ..........:.....
    0010:00 00 00 B0 00 40 51 04 C5 FF 00 F0             .....@Q.....
    --------------------------------------------------------------------
    [20] : <Rx> - 11:16:24.499
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (HCI_LE_ExtEvent)
    -Data Length    : 0x0F (15) bytes(s)
     Event          : 0x0505 (1285) (ATT_FindInfoRsp)
     Status         : 0x00 (0) (Success)
     ConnHandle     : 0x0000 (0)
     PduLen         : 0x09 (9)
     Format         : 0x01 (1) (A List Of 1 Or More Handles With Their 16-bit Bluetooth UUIDs)
     Handle         : 003B
     Uuid           : 02:29
     Handle         : 003C
     Uuid           : 01:29
    Dump(Rx):
    0000:04 FF 0F 05 05 00 00 00 09 01 3B 00 02 29 3C 00 ..........;..)<.
    0010:01 29                                           .)
    --------------------------------------------------------------------
    [21] : <Info> - 11:16:24.692
    OAD Send Configuration Info To Image Identify
    --------------------------------------------------------------------
    [22] : <Rx> - 11:16:24.690
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (HCI_LE_ExtEvent)
    -Data Length    : 0x06 (6) bytes(s)
     Event          : 0x0505 (1285) (ATT_FindInfoRsp)
     Status         : 0x1A (26) (The Procedure Is Completed)
     ConnHandle     : 0x0000 (0)
     PduLen         : 0x00 (0)
    Dump(Rx):
    0000:04 FF 06 05 05 1A 00 00 00                      .........
    --------------------------------------------------------------------
    [23] : <Tx> - 11:16:24.697
    -Type           : 0x01 (Command)
    -OpCode         : 0xFD92 (GATT_WriteCharValue)
    -Data Length    : 0x06 (6) byte(s)
     ConnHandle     : 0x0000 (0)
     Handle         : 0x0033 (51)
     Value          : 01:00
    Dump(Tx):
    0000:01 92 FD 06 00 00 33 00 01 00                   ......3...
    --------------------------------------------------------------------
    [24] : <Rx> - 11:16:24.751
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (HCI_LE_ExtEvent)
    -Data Length    : 0x06 (6) bytes(s)
     Event          : 0x067F (1663) (GAP_HCI_ExtentionCommandStatus)
     Status         : 0x00 (0) (Success)
     OpCode         : 0xFD92 (GATT_WriteCharValue)
     DataLength     : 0x00 (0)
    Dump(Rx):
    0000:04 FF 06 7F 06 00 92 FD 00                      .........
    --------------------------------------------------------------------
    [25] : <Info> - 11:16:24.893
    OAD Send Configuration Info To Image Notify
    --------------------------------------------------------------------
    [26] : <Rx> - 11:16:24.892
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (HCI_LE_ExtEvent)
    -Data Length    : 0x06 (6) bytes(s)
     Event          : 0x0513 (1299) (ATT_WriteRsp)
     Status         : 0x00 (0) (Success)
     ConnHandle     : 0x0000 (0)
     PduLen         : 0x00 (0)
    Dump(Rx):
    0000:04 FF 06 13 05 00 00 00 00                      .........
    --------------------------------------------------------------------
    [27] : <Tx> - 11:16:24.899
    -Type           : 0x01 (Command)
    -OpCode         : 0xFD92 (GATT_WriteCharValue)
    -Data Length    : 0x06 (6) byte(s)
     ConnHandle     : 0x0000 (0)
     Handle         : 0x0037 (55)
     Value          : 01:00
    Dump(Tx):
    0000:01 92 FD 06 00 00 37 00 01 00                   ......7...
    --------------------------------------------------------------------
    [28] : <Rx> - 11:16:24.932
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (HCI_LE_ExtEvent)
    -Data Length    : 0x06 (6) bytes(s)
     Event          : 0x067F (1663) (GAP_HCI_ExtentionCommandStatus)
     Status         : 0x00 (0) (Success)
     OpCode         : 0xFD92 (GATT_WriteCharValue)
     DataLength     : 0x00 (0)
    Dump(Rx):
    0000:04 FF 06 7F 06 00 92 FD 00                      .........
    --------------------------------------------------------------------
    [29] : <Rx> - 11:16:25.094
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (HCI_LE_ExtEvent)
    -Data Length    : 0x06 (6) bytes(s)
     Event          : 0x0513 (1299) (ATT_WriteRsp)
     Status         : 0x00 (0) (Success)
     ConnHandle     : 0x0000 (0)
     PduLen         : 0x00 (0)
    Dump(Rx):
    0000:04 FF 06 13 05 00 00 00 00                      .........
    --------------------------------------------------------------------
    [30] : <Info> - 11:16:25.115
    OAD Send Configuration Info To Image Status
    --------------------------------------------------------------------
    [31] : <Tx> - 11:16:25.119
    -Type           : 0x01 (Command)
    -OpCode         : 0xFD92 (GATT_WriteCharValue)
    -Data Length    : 0x06 (6) byte(s)
     ConnHandle     : 0x0000 (0)
     Handle         : 0x0000 (0)
     Value          : 01:00
    Dump(Tx):
    0000:01 92 FD 06 00 00 00 00 01 00                   ..........
    --------------------------------------------------------------------
    [32] : <Rx> - 11:16:25.155
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (HCI_LE_ExtEvent)
    -Data Length    : 0x06 (6) bytes(s)
     Event          : 0x067F (1663) (GAP_HCI_ExtentionCommandStatus)
     Status         : 0x00 (0) (Success)
     OpCode         : 0xFD92 (GATT_WriteCharValue)
     DataLength     : 0x00 (0)
    Dump(Rx):
    0000:04 FF 06 7F 06 00 92 FD 00                      .........
    --------------------------------------------------------------------
    [33] : <Rx> - 11:16:25.307
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (HCI_LE_ExtEvent)
    -Data Length    : 0x0A (10) bytes(s)
     Event          : 0x0501 (1281) (ATT_ErrorRsp)
     Status         : 0x00 (0) (Success)
     ConnHandle     : 0x0000 (0)
     PduLen         : 0x04 (4)
     ReqOpCode      : 0x12 (ATT_WriteReq)
     Handle         : 0x0000 (0)
     ErrorCode      : 0x01 (1) (INVALID_HANDLE)
                      The Attribute Handle Given Was Not 
                      Valid On This Server.
    Dump(Rx):
    0000:04 FF 0A 01 05 00 00 00 04 12 00 00 01          .............
    --------------------------------------------------------------------
    [34] : <Info> - 11:16:25.324
    OAD - Restore Connection Settings
    --------------------------------------------------------------------
    [35] : <Error> - 11:16:25.330
    OAD Download Not Successful
    --------------------------------------------------------------------
    [36] : <Tx> - 11:16:25.329
    -Type           : 0x01 (Command)
    -OpCode         : 0xFE11 (GAP_UpdateLinkParamReq)
    -Data Length    : 0x0A (10) byte(s)
     ConnHandle     : 0x0000 (0)
     IntervalMin    : 0x0050 (80)
     IntervalMax    : 0x0050 (80)
     ConnLatency    : 0x0000 (0)
     ConnTimeout    : 0x07D0 (2000)
    Dump(Tx):
    0000:01 11 FE 0A 00 00 50 00 50 00 00 00 D0 07       ......P.P.....
    --------------------------------------------------------------------
    [37] : <Rx> - 11:16:25.387
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (HCI_LE_ExtEvent)
    -Data Length    : 0x06 (6) bytes(s)
     Event          : 0x067F (1663) (GAP_HCI_ExtentionCommandStatus)
     Status         : 0x00 (0) (Success)
     OpCode         : 0xFE11 (GAP_UpdateLinkParamReq)
     DataLength     : 0x00 (0)
    Dump(Rx):
    0000:04 FF 06 7F 06 00 11 FE 00                      .........
    --------------------------------------------------------------------
    [38] : <Rx> - 11:16:25.599
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (HCI_LE_ExtEvent)
    -Data Length    : 0x0B (11) bytes(s)
     Event          : 0x0607 (1543) (GAP_LinkParamUpdate)
     Status         : 0x1A (26) (The Procedure Is Completed)
     ConnHandle     : 0x0000 (0)
     ConnInterval   : 0x0000 (0)
     ConnLatency    : 0x0000 (0)
     ConnTimeout    : 0x0000 (0)
    Dump(Rx):
    0000:04 FF 0B 07 06 1A 00 00 00 00 00 00 00 00       ..............
    --------------------------------------------------------------------
    [39] : <Info> - 11:22:19.699
    Device Disconnected
    Handle = 0x0000
    Addr Type = 0x00 (Public)
    BDAddr = 54:6C:0E:9F:02:EC
    --------------------------------------------------------------------
    [40] : <Rx> - 11:22:19.693
    -Type           : 0x04 (Event)
    -EventCode      : 0x00FF (HCI_LE_ExtEvent)
    -Data Length    : 0x06 (6) bytes(s)
     Event          : 0x0606 (1542) (GAP_TerminateLink)
     Status         : 0x00 (0) (Success)
     ConnHandle     : 0x0000 (0)
     Reason         : 0x08 (8) (Supervision Timeout)
    Dump(Rx):
    0000:04 FF 06 06 06 00 00 00 08                      .........
    --------------------------------------------------------------------
    

  • Hi,

    Any insights on this issue or point out to some specific resource that can help me to get a valid meta-data? Is there some configuration I am missing for the example that is causing it not work?

  • Hey Vinay,

    Apologies for the late reply. I am still looking into this issue and will get back to you shortly.

    BR,

    Seong

  • Hi Seong,

    No worries, thanks for the update.

    Cheers

    Vinay

  • Vinay,

    Try following this SimpleLink Academy lab, "Bluetooth Low Energy Enhanced Over the Air Download (OAD)".

    Hope this helps,

    Seong