This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Compile error DFU OTA 52832 - SUPPRESS_INLINE_IMPLEMENTATION

I have DFU OTA application running on 52840 platform on a custom board. SDK v15.3.0. I use SoftDevoce S140 v6.1.1.

Then I need to port it to 52832 platform - SoftDevice S132 v6.1.1. Same, SDK 15.3.0.

I changed the crypto to use micro_ecc, and disabled UART1 and also UARTE1, and re-ordered the path and include.

However, I kept getting this compilation error:

"C:\NRF52832\sDevice\V6_11\s132\include\nrf_nvic.h", line 290: Error:  #40: expected an identifier
    int pm = __get_PRIMASK();
           ^
"C:\NRF52832\sDevice\V6_11\s132\include\nrf_nvic.h", line 292: Error:  #117: non-void function "__sd_nvic_irq_disable"  should return a value
    return pm;
             ^

I foudn that by using SUPPRESS_INLINE_IMPLEMENTATION directive, I can get rid of that error.

However, another error appears:

"C:\NRF52832\SDK\V15_3_0\MODULES\nrfx\soc/nrfx_coredep.h", line 96: Error:  #114: function "nrfx_coredep_delay_us"  was referenced but not defined
  __STATIC_INLINE void nrfx_coredep_delay_us(uint32_t time_us);
                       ^
"C:\NRF52832\SDK\V15_3_0\MODULES\nrfx\hal\nrf_gpio.h", line 233: Error:  #114: function "nrf_gpio_cfg_sense_input"  was referenced but not defined
  __STATIC_INLINE void nrf_gpio_cfg_sense_input(uint32_t             pin_number,
                       ^
"C:\NRF52832\SDK\V15_3_0\MODULES\nrfx\hal\nrf_gpio.h", line 308: Error:  #114: function "nrf_gpio_pin_read"  was referenced but not defined
  __STATIC_INLINE uint32_t nrf_gpio_pin_read(uint32_t pin_number);
                           ^
"C:\NRF52832\SDK\V15_3_0\MODULES\nrfx\hal\nrf_power.h", line 507: Error:  #114: function "nrf_power_resetreas_get"  was referenced but not defined
  __STATIC_INLINE uint32_t nrf_power_resetreas_get(void);
                           ^
"C:\NRF52832\SDK\V15_3_0\MODULES\nrfx\hal\nrf_power.h", line 517: Error:  #114: function "nrf_power_resetreas_clear"  was referenced but not defined
  __STATIC_INLINE void nrf_power_resetreas_clear(uint32_t mask);
                       ^
"C:\NRF52832\SDK\V15_3_0\MODULES\nrfx\hal\nrf_power.h", line 603: Error:  #114: function "nrf_power_gpregret_set"  was referenced but not defined
  __STATIC_INLINE void nrf_power_gpregret_set(uint8_t val);
                       ^
"C:\NRF52832\SDK\V15_3_0\MODULES\nrfx\hal\nrf_power.h", line 610: Error:  #114: function "nrf_power_gpregret_get"  was referenced but not defined
  __STATIC_INLINE uint8_t nrf_power_gpregret_get(void);
                          ^
"C:\NRF52832\SDK\V15_3_0\MODULES\nrfx\hal\nrf_power.h", line 620: Error:  #114: function "nrf_power_gpregret2_set"  was referenced but not defined
  __STATIC_INLINE void nrf_power_gpregret2_set(uint8_t val);
                       ^
"C:\NRF52832\SDK\V15_3_0\MODULES\nrfx\hal\nrf_power.h", line 629: Error:  #114: function "nrf_power_gpregret2_get"  was referenced but not defined
  __STATIC_INLINE uint8_t nrf_power_gpregret2_get(void);
                          ^

Parents
  • Hello,

    It sounds like either you have one too many or too few brackets somewhere, or you are missing a file or a define. Take e.g. the nrfx_coredep_delay_us() function. Is it defined somewhere in a .c file in your project? If not, can you include the file where it is located? If you have included it, is it hidden behind an #ifdef guard? If so, try to define what it is missing. 

    If you are stuck, can you zip the project and upload it here? I can try to have a look, but we are very short staffed due to summer holidays, so there may be some extra delay, unfortunately.

    Best regards,

    Edvin

  • Hi Edvin,

    I didn't touch the SDK library at all, I simply included them. A little background, there is a thin layer of our own implementation that will transition to SDK Bootloader. My confusion is, it compiles fine for 52840. What I am aware, the difference between 52832 and 52840 in regard to DFU OTA is the crypto, need to use micro_ecc since 52832 doesn't have CryptoCell 310.

    Unfortunately, due to the thin layer of our own implementation, I don't think I can upload it here. I can share the SDK, but since there is no change in there, I'm not sure it can be of any value.

    Do you suggest to revisit sdk_config.h? I can upload sdk_config,h or any other non-proprietary code. Or do you suggest me to get support from different channel (through FAE perhaps)? I heard we have NDA agreement with Nordic.

  • Take one of the functions that the compiler can't find:

    nrf_power_gpregret_set()

    Is it defined in your project? I don't know what IDE you are using, but let's hope that it is one. If you right click a place where this is called, and click something like "go to definition". Does it find the definition?

    nrf_power_gpregret_set() is defined in nrf_power.h. Is that included in your project? And is it included (#include "nrf_power.h") in the file where this function call is called?

    I see that you changed the folder name "modules" to "MODULES" are the paths in your project changed to reflect this as well? That is, the include directories?

    Can you send me the nrf_power.h file you are using?

    This error:

    "C:\NRF52832\sDevice\V6_11\s132\include\nrf_nvic.h", line 290: Error:  #40: expected an identifier
        int pm = __get_PRIMASK();

    sounds like a macro error. Like you are missing a semi colon or a paranthesis somewhere. Check out what you have above line 290 here. If it is a macro, perhaps it is set up incorrectly.

    There isn't really much to do without looking at the project myself.


    Harry said:
    I heard we have NDA agreement with Nordic.

     That may be. If you need that in order to send, you should check it. I don't have the list of companies we have NDAs with. If you don't have it, I can set you up with our sales team to fix this.

    BR,
    Edvin

  • I see that you changed the folder name "modules" to "MODULES" are the paths in your project changed to reflect this as well? That is, the include directories?

    Does capitalization matter? Function name, yes, but I have never been aware it applies to file name or directory name. I saw the folder name is in lowercase. I use Makefile to compile, not GUI. It was declared in capitals in the Makefile, that's why. But it shouldn't matter, right?

    Btw, the original error was only one, the __get_PRIMASK() one. Only if I add SUPPRESS_INLINE_IMPLEMENTATION then I got the other errors.

    This error:

    "C:\NRF52832\sDevice\V6_11\s132\include\nrf_nvic.h", line 290: Error:  #40: expected an identifier
        int pm = __get_PRIMASK();

    sounds like a macro error. Like you are missing a semi colon or a paranthesis somewhere. Check out what you have above line 290 here. If it is a macro, perhaps it is set up incorrectly

    Everything in C:\NRF52832 is from SDK v15.3.0, as is. And it compiles fine for 52840.

    That may be. If you need that in order to send, you should check it. I don't have the list of companies we have NDAs with. If you don't have it, I can set you up with our sales team to fix this.

    Do I need to create a new DevZone account, using my work email? This account is using my personal email. I will check regarding the NDA, and how do I send the project privately to you?

    Btw, the main diff between compiling this project for 52840 and 52832 is the addition of uECC.h from Git.

  • Harry said:
    Does capitalization matter? Function name, yes, but I have never been aware it applies to file name or directory name. I saw the folder name is in lowercase. I use Makefile to compile, not GUI. It was declared in capitals in the Makefile, that's why. But it shouldn't matter, right?

     Not sure. Depends on the compiler I guess. I see that the examples in the SDKs use lower case, and I thought it was worth a shot:

     

    Harry said:
    Do I need to create a new DevZone account, using my work email? This account is using my personal email. I will check regarding the NDA, and how do I send the project privately to you?

     Not necessarily. You need to create a private ticket here on devzone, if you don't want to share the project in public. In order to create a public ticket, I believe you need to fill in some more details in your profile, such as company name and location. I guess it says when you try to create it. I don't think you need to create a new account, just populate the one you have. It doesn't need to use your work-email account.

    I can't guarantee that we can tell exactly what the issue is by looking at your project, but perhaps we stumble upon the issue. It is rather an armgcc related issue, rather than a Nordic one. But if we have the project, we can have a look. 

    The first thing I would look into is where the __get_PRIMASK() is pointing to in your nRF52840 project, and look for the similar place for nRF52832. This is easier in an IDE, but you can probably find it in the build files somewhere using armgcc.

    BR,
    Edvin

  • Hi Edvin, after I rearrange the order of compilation, it works now. Thanks for your help.

    But now I encounter OTA DFU failure. Do you want me to open a new case? Let me know.

    This is the error from the log of nRF Connect for Desktop (the last chunk):


    2020-07-17T00:59:37.254Z DEBUG GATTC_EVT_WRITE_RSP time:2020-07-17T00:59:37.256Z connHandle:0 gattStatus:0 gattStatusName:success errorHandle:0 handle:15 writeOp:1 offset:0 len:0
    2020-07-17T00:59:37.254Z INFO Attribute value changed, handle: 0x0F, value (0x): 01-01-8D-00-00-00
    2020-07-17T00:59:37.287Z DEBUG   667/ 0 <-  [02 39 00 00 00 00 00 00 00 0f 00 01 03 00 60 01 01 ] type:     VENDOR_SPECIFIC reliable:yes seq#:5 ack#:0 payload_length:11 data_integrity:1 header_checksum:1c err_code:0x0
    2020-07-17T00:59:37.287Z DEBUG      670 ->  [N/A] type:                 ACK reliable: no seq#:0 ack#:6 payload_length:0 data_integrity:0 err_code:0x0
    2020-07-17T00:59:37.288Z DEBUG GATTC_EVT_HVX time:2020-07-17T00:59:37.289Z connHandle:0 gattStatus:0 gattStatusName:success errorHandle:0 handle:15 type:1 len:3
    2020-07-17T00:59:37.288Z INFO Attribute value changed, handle: 0x0F, value (0x): 60-01-01
    2020-07-17T00:59:37.288Z DEBUG      671 ->  [00 9c 00 00 01 02 00 0d 00 00 00 8d 00 01 12 8a 01 0a 44 08 01 12 40 08 01 10 34 1a 02 b7 01 20 00 28 00 30 00 38 88 a0 15 42 24 08 03 12 20 10 2d 02 d1 33 f7 3a ee 5e e8 9e 7a 61 d7 39 ab b8 e3 0f 41 e2 7f 74 9f 72 6c 94 14 3d 0f ee 05 48 00 52 04 08 01 12 00 10 00 1a 40 2b 63 90 d1 33 86 f7 29 e1 1f 9c cf 10 ec da 6f 13 79 b7 fd a6 16 78 da 73 cf e6 af fb b1 ef ee e2 5d 4d af d0 7e d6 64 5c 9e 10 87 82 84 1a 5b 7f ea e4 09 2f 44 b6 88 f1 8e 15 81 c0 cd 2c 9a ] type:     VENDOR_SPECIFIC reliable:yes seq#:0 ack#:6 payload_length:9b data_integrity:1 header_checksum:49 err_code:0x0
    2020-07-17T00:59:37.324Z DEBUG   668/ 0 <-  [N/A] type:                 ACK reliable: no seq#:0 ack#:1 payload_length:0 data_integrity:0 err_code:0x0
    2020-07-17T00:59:37.324Z DEBUG   669/ 0 <-  [01 9c 00 00 00 00 ] type:     VENDOR_SPECIFIC reliable:yes seq#:6 ack#:1 payload_length:6 data_integrity:1 header_checksum:c4 err_code:0x0
    2020-07-17T00:59:37.324Z DEBUG      672 ->  [N/A] type:                 ACK reliable: no seq#:0 ack#:7 payload_length:0 data_integrity:0 err_code:0x0
    2020-07-17T00:59:37.357Z DEBUG   670/ 0 <-  [02 3c 00 00 00 00 00 00 00 01 ] type:     VENDOR_SPECIFIC reliable:yes seq#:7 ack#:1 payload_length:a data_integrity:1 header_checksum:83 err_code:0x0
    2020-07-17T00:59:37.357Z DEBUG      673 ->  [N/A] type:                 ACK reliable: no seq#:0 ack#:0 payload_length:0 data_integrity:0 err_code:0x0
    2020-07-17T00:59:37.357Z DEBUG  time:2020-07-17T00:59:37.359Z connHandle:0 gattStatus:0 gattStatusName:success errorHandle:0 count:1
    2020-07-17T00:59:37.358Z DEBUG      674 ->  [00 9c 00 00 01 01 00 0f 00 00 00 01 00 01 03 ] type:     VENDOR_SPECIFIC reliable:yes seq#:1 ack#:0 payload_length:f data_integrity:1 header_checksum:41 err_code:0x0
    2020-07-17T00:59:37.391Z DEBUG   671/ 0 <-  [N/A] type:                 ACK reliable: no seq#:0 ack#:2 payload_length:0 data_integrity:0 err_code:0x0
    2020-07-17T00:59:37.391Z DEBUG   672/ 0 <-  [01 9c 00 00 00 00 ] type:     VENDOR_SPECIFIC reliable:yes seq#:0 ack#:2 payload_length:6 data_integrity:1 header_checksum:c2 err_code:0x0
    2020-07-17T00:59:37.391Z DEBUG      675 ->  [N/A] type:                 ACK reliable: no seq#:0 ack#:1 payload_length:0 data_integrity:0 err_code:0x0
    2020-07-17T00:59:37.424Z DEBUG   673/ 0 <-  [02 38 00 00 00 00 00 00 00 0f 00 01 00 00 00 00 ] type:     VENDOR_SPECIFIC reliable:yes seq#:1 ack#:2 payload_length:10 data_integrity:1 header_checksum:20 err_code:0x0
    2020-07-17T00:59:37.424Z DEBUG      676 ->  [N/A] type:                 ACK reliable: no seq#:0 ack#:2 payload_length:0 data_integrity:0 err_code:0x0
    2020-07-17T00:59:37.424Z DEBUG GATTC_EVT_WRITE_RSP time:2020-07-17T00:59:37.426Z connHandle:0 gattStatus:0 gattStatusName:success errorHandle:0 handle:15 writeOp:1 offset:0 len:0
    2020-07-17T00:59:37.424Z INFO Attribute value changed, handle: 0x0F, value (0x): 03
    2020-07-17T00:59:37.455Z DEBUG   674/ 0 <-  [02 39 00 00 00 00 00 00 00 0f 00 01 0b 00 60 03 01 8d 00 00 00 0a cf ef 07 ] type:     VENDOR_SPECIFIC reliable:yes seq#:2 ack#:2 payload_length:19 data_integrity:1 header_checksum:8f err_code:0x0
    2020-07-17T00:59:37.456Z DEBUG      677 ->  [N/A] type:                 ACK reliable: no seq#:0 ack#:3 payload_length:0 data_integrity:0 err_code:0x0
    2020-07-17T00:59:37.456Z DEBUG GATTC_EVT_HVX time:2020-07-17T00:59:37.458Z connHandle:0 gattStatus:0 gattStatusName:success errorHandle:0 handle:15 type:1 len:11
    2020-07-17T00:59:37.456Z INFO Attribute value changed, handle: 0x0F, value (0x): 60-03-01-8D-00-00-00-0A-CF-EF-07
    2020-07-17T00:59:37.461Z DEBUG      678 ->  [00 9c 00 00 01 01 00 0f 00 00 00 01 00 01 04 ] type:     VENDOR_SPECIFIC reliable:yes seq#:2 ack#:3 payload_length:f data_integrity:1 header_checksum:28 err_code:0x0
    2020-07-17T00:59:37.495Z DEBUG   675/ 0 <-  [N/A] type:                 ACK reliable: no seq#:0 ack#:3 payload_length:0 data_integrity:0 err_code:0x0
    2020-07-17T00:59:37.497Z DEBUG   676/ 0 <-  [01 9c 00 00 00 00 ] type:     VENDOR_SPECIFIC reliable:yes seq#:3 ack#:3 payload_length:6 data_integrity:1 header_checksum:b7 err_code:0x0
    2020-07-17T00:59:37.497Z DEBUG      679 ->  [N/A] type:                 ACK reliable: no seq#:0 ack#:4 payload_length:0 data_integrity:0 err_code:0x0
    2020-07-17T00:59:37.525Z DEBUG   677/ 0 <-  [02 38 00 00 00 00 00 00 00 0f 00 01 00 00 00 00 ] type:     VENDOR_SPECIFIC reliable:yes seq#:4 ack#:3 payload_length:10 data_integrity:1 header_checksum:15 err_code:0x0
    2020-07-17T00:59:37.526Z DEBUG      680 ->  [N/A] type:                 ACK reliable: no seq#:0 ack#:5 payload_length:0 data_integrity:0 err_code:0x0
    2020-07-17T00:59:37.526Z DEBUG GATTC_EVT_WRITE_RSP time:2020-07-17T00:59:37.527Z connHandle:0 gattStatus:0 gattStatusName:success errorHandle:0 handle:15 writeOp:1 offset:0 len:0
    2020-07-17T00:59:37.526Z INFO Attribute value changed, handle: 0x0F, value (0x): 04
    2020-07-17T00:59:37.648Z DEBUG   678/ 0 <-  [02 39 00 00 00 00 00 00 00 0f 00 01 03 00 60 04 05 ] type:     VENDOR_SPECIFIC reliable:yes seq#:5 ack#:3 payload_length:11 data_integrity:1 header_checksum:4 err_code:0x0
    2020-07-17T00:59:37.648Z DEBUG      681 ->  [N/A] type:                 ACK reliable: no seq#:0 ack#:6 payload_length:0 data_integrity:0 err_code:0x0
    2020-07-17T00:59:37.648Z DEBUG GATTC_EVT_HVX time:2020-07-17T00:59:37.650Z connHandle:0 gattStatus:0 gattStatusName:success errorHandle:0 handle:15 type:1 len:3
    2020-07-17T00:59:37.649Z INFO Attribute value changed, handle: 0x0F, value (0x): 60-04-05
    2020-07-17T00:59:37.651Z DEBUG      682 ->  [00 9c 00 00 01 01 00 0f 00 00 00 06 00 01 01 01 8d 00 00 00 ] type:     VENDOR_SPECIFIC reliable:yes seq#:3 ack#:6 payload_length:14 data_integrity:1 header_checksum:be err_code:0x0
    2020-07-17T00:59:37.685Z DEBUG   679/ 0 <-  [N/A] type:                 ACK reliable: no seq#:0 ack#:4 payload_length:0 data_integrity:0 err_code:0x0
    2020-07-17T00:59:37.685Z DEBUG   680/ 0 <-  [01 9c 00 00 00 00 ] type:     VENDOR_SPECIFIC reliable:yes seq#:6 ack#:4 payload_length:6 data_integrity:1 header_checksum:ac err_code:0x0
    2020-07-17T00:59:37.685Z DEBUG      683 ->  [N/A] type:                 ACK reliable: no seq#:0 ack#:7 payload_length:0 data_integrity:0 err_code:0x0
    2020-07-17T00:59:37.718Z DEBUG   681/ 0 <-  [02 38 00 00 00 00 00 00 00 0f 00 01 00 00 00 00 ] type:     VENDOR_SPECIFIC reliable:yes seq#:7 ack#:4 payload_length:10 data_integrity:1 header_checksum:a err_code:0x0
    2020-07-17T00:59:37.718Z DEBUG      684 ->  [N/A] type:                 ACK reliable: no seq#:0 ack#:0 payload_length:0 data_integrity:0 err_code:0x0
    2020-07-17T00:59:37.718Z DEBUG GATTC_EVT_WRITE_RSP time:2020-07-17T00:59:37.720Z connHandle:0 gattStatus:0 gattStatusName:success errorHandle:0 handle:15 writeOp:1 offset:0 len:0
    2020-07-17T00:59:37.718Z INFO Attribute value changed, handle: 0x0F, value (0x): 01-01-8D-00-00-00
    2020-07-17T00:59:37.751Z DEBUG   682/ 0 <-  [02 39 00 00 00 00 00 00 00 0f 00 01 03 00 60 01 01 ] type:     VENDOR_SPECIFIC reliable:yes seq#:0 ack#:4 payload_length:11 data_integrity:1 header_checksum:1 err_code:0x0
    2020-07-17T00:59:37.751Z DEBUG      685 ->  [N/A] type:                 ACK reliable: no seq#:0 ack#:1 payload_length:0 data_integrity:0 err_code:0x0
    2020-07-17T00:59:37.751Z DEBUG GATTC_EVT_HVX time:2020-07-17T00:59:37.753Z connHandle:0 gattStatus:0 gattStatusName:success errorHandle:0 handle:15 type:1 len:3
    2020-07-17T00:59:37.751Z INFO Attribute value changed, handle: 0x0F, value (0x): 60-01-01
    2020-07-17T00:59:37.752Z DEBUG      686 ->  [00 9c 00 00 01 02 00 0d 00 00 00 8d 00 01 12 8a 01 0a 44 08 01 12 40 08 01 10 34 1a 02 b7 01 20 00 28 00 30 00 38 88 a0 15 42 24 08 03 12 20 10 2d 02 d1 33 f7 3a ee 5e e8 9e 7a 61 d7 39 ab b8 e3 0f 41 e2 7f 74 9f 72 6c 94 14 3d 0f ee 05 48 00 52 04 08 01 12 00 10 00 1a 40 2b 63 90 d1 33 86 f7 29 e1 1f 9c cf 10 ec da 6f 13 79 b7 fd a6 16 78 da 73 cf e6 af fb b1 ef ee e2 5d 4d af d0 7e d6 64 5c 9e 10 87 82 84 1a 5b 7f ea e4 09 2f 44 b6 88 f1 8e 15 81 c0 cd 2c 9a ] type:     VENDOR_SPECIFIC reliable:yes seq#:4 ack#:1 payload_length:9b data_integrity:1 header_checksum:6d err_code:0x0
    2020-07-17T00:59:37.787Z DEBUG   683/ 0 <-  [N/A] type:                 ACK reliable: no seq#:0 ack#:5 payload_length:0 data_integrity:0 err_code:0x0
    2020-07-17T00:59:37.787Z DEBUG   684/ 0 <-  [01 9c 00 00 00 00 ] type:     VENDOR_SPECIFIC reliable:yes seq#:1 ack#:5 payload_length:6 data_integrity:1 header_checksum:a9 err_code:0x0
    2020-07-17T00:59:37.787Z DEBUG      687 ->  [N/A] type:                 ACK reliable: no seq#:0 ack#:2 payload_length:0 data_integrity:0 err_code:0x0
    2020-07-17T00:59:37.819Z DEBUG   685/ 0 <-  [02 3c 00 00 00 00 00 00 00 01 ] type:     VENDOR_SPECIFIC reliable:yes seq#:2 ack#:5 payload_length:a data_integrity:1 header_checksum:68 err_code:0x0
    2020-07-17T00:59:37.819Z DEBUG      688 ->  [N/A] type:                 ACK reliable: no seq#:0 ack#:3 payload_length:0 data_integrity:0 err_code:0x0
    2020-07-17T00:59:37.820Z DEBUG  time:2020-07-17T00:59:37.821Z connHandle:0 gattStatus:0 gattStatusName:success errorHandle:0 count:1
    2020-07-17T00:59:37.820Z DEBUG      689 ->  [00 9c 00 00 01 01 00 0f 00 00 00 01 00 01 03 ] type:     VENDOR_SPECIFIC reliable:yes seq#:5 ack#:3 payload_length:f data_integrity:1 header_checksum:25 err_code:0x0
    2020-07-17T00:59:37.853Z DEBUG   686/ 0 <-  [N/A] type:                 ACK reliable: no seq#:0 ack#:6 payload_length:0 data_integrity:0 err_code:0x0
    2020-07-17T00:59:37.853Z DEBUG   687/ 0 <-  [01 9c 00 00 00 00 ] type:     VENDOR_SPECIFIC reliable:yes seq#:3 ack#:6 payload_length:6 data_integrity:1 header_checksum:9f err_code:0x0
    2020-07-17T00:59:37.853Z DEBUG      690 ->  [N/A] type:                 ACK reliable: no seq#:0 ack#:4 payload_length:0 data_integrity:0 err_code:0x0
    2020-07-17T00:59:37.885Z DEBUG   688/ 0 <-  [02 38 00 00 00 00 00 00 00 0f 00 01 00 00 00 00 ] type:     VENDOR_SPECIFIC reliable:yes seq#:4 ack#:6 payload_length:10 data_integrity:1 header_checksum:fd err_code:0x0
    2020-07-17T00:59:37.885Z DEBUG      691 ->  [N/A] type:                 ACK reliable: no seq#:0 ack#:5 payload_length:0 data_integrity:0 err_code:0x0
    2020-07-17T00:59:37.886Z DEBUG GATTC_EVT_WRITE_RSP time:2020-07-17T00:59:37.887Z connHandle:0 gattStatus:0 gattStatusName:success errorHandle:0 handle:15 writeOp:1 offset:0 len:0
    2020-07-17T00:59:37.886Z INFO Attribute value changed, handle: 0x0F, value (0x): 03
    2020-07-17T00:59:37.917Z DEBUG   689/ 0 <-  [02 39 00 00 00 00 00 00 00 0f 00 01 0b 00 60 03 01 8d 00 00 00 0a cf ef 07 ] type:     VENDOR_SPECIFIC reliable:yes seq#:5 ack#:6 payload_length:19 data_integrity:1 header_checksum:6c err_code:0x0
    2020-07-17T00:59:37.917Z DEBUG      692 ->  [N/A] type:                 ACK reliable: no seq#:0 ack#:6 payload_length:0 data_integrity:0 err_code:0x0
    2020-07-17T00:59:37.917Z DEBUG GATTC_EVT_HVX time:2020-07-17T00:59:37.919Z connHandle:0 gattStatus:0 gattStatusName:success errorHandle:0 handle:15 type:1 len:11
    2020-07-17T00:59:37.918Z INFO Attribute value changed, handle: 0x0F, value (0x): 60-03-01-8D-00-00-00-0A-CF-EF-07
    2020-07-17T00:59:37.922Z DEBUG      693 ->  [00 9c 00 00 01 01 00 0f 00 00 00 01 00 01 04 ] type:     VENDOR_SPECIFIC reliable:yes seq#:6 ack#:6 payload_length:f data_integrity:1 header_checksum:c err_code:0x0
    2020-07-17T00:59:37.956Z DEBUG   690/ 0 <-  [N/A] type:                 ACK reliable: no seq#:0 ack#:7 payload_length:0 data_integrity:0 err_code:0x0
    2020-07-17T00:59:37.957Z DEBUG   691/ 0 <-  [01 9c 00 00 00 00 ] type:     VENDOR_SPECIFIC reliable:yes seq#:6 ack#:7 payload_length:6 data_integrity:1 header_checksum:94 err_code:0x0
    2020-07-17T00:59:37.957Z DEBUG      694 ->  [N/A] type:                 ACK reliable: no seq#:0 ack#:7 payload_length:0 data_integrity:0 err_code:0x0
    2020-07-17T00:59:37.988Z DEBUG   692/ 0 <-  [02 38 00 00 00 00 00 00 00 0f 00 01 00 00 00 00 ] type:     VENDOR_SPECIFIC reliable:yes seq#:7 ack#:7 payload_length:10 data_integrity:1 header_checksum:f2 err_code:0x0
    2020-07-17T00:59:37.988Z DEBUG      695 ->  [N/A] type:                 ACK reliable: no seq#:0 ack#:0 payload_length:0 data_integrity:0 err_code:0x0
    2020-07-17T00:59:37.988Z DEBUG GATTC_EVT_WRITE_RSP time:2020-07-17T00:59:37.990Z connHandle:0 gattStatus:0 gattStatusName:success errorHandle:0 handle:15 writeOp:1 offset:0 len:0
    2020-07-17T00:59:37.988Z INFO Attribute value changed, handle: 0x0F, value (0x): 04
    2020-07-17T00:59:38.113Z DEBUG   693/ 0 <-  [02 39 00 00 00 00 00 00 00 0f 00 01 03 00 60 04 05 ] type:     VENDOR_SPECIFIC reliable:yes seq#:0 ack#:7 payload_length:11 data_integrity:1 header_checksum:e9 err_code:0x0
    2020-07-17T00:59:38.113Z DEBUG      696 ->  [N/A] type:                 ACK reliable: no seq#:0 ack#:1 payload_length:0 data_integrity:0 err_code:0x0
    2020-07-17T00:59:38.114Z DEBUG GATTC_EVT_HVX time:2020-07-17T00:59:38.115Z connHandle:0 gattStatus:0 gattStatusName:success errorHandle:0 handle:15 type:1 len:3
    2020-07-17T00:59:38.114Z INFO Attribute value changed, handle: 0x0F, value (0x): 60-04-05
    2020-07-17T00:59:38.118Z DEBUG Destroying DFU transport.
    2020-07-17T00:59:38.118Z ERROR DFU failed with error: When writing 'EXECUTE' command to Control Point Characteristic of DFU Target: Operation code 4 (EXECUTE) failed on DFU Target. Result code 5 (INVALID_OBJECT).
    2020-07-17T00:59:38.136Z DEBUG      697 ->  [00 76 00 00 13 ] type:     VENDOR_SPECIFIC reliable:yes seq#:7 ack#:1 payload_length:5 data_integrity:1 header_checksum:d3 err_code:0x0
    2020-07-17T00:59:38.172Z DEBUG   694/ 0 <-  [N/A] type:                 ACK reliable: no seq#:0 ack#:0 payload_length:0 data_integrity:0 err_code:0x0
    2020-07-17T00:59:38.172Z DEBUG   695/ 0 <-  [01 76 00 00 00 00 ] type:     VENDOR_SPECIFIC reliable:yes seq#:1 ack#:0 payload_length:6 data_integrity:1 header_checksum:d1 err_code:0x0
    2020-07-17T00:59:38.172Z DEBUG      698 ->  [N/A] type:                 ACK reliable: no seq#:0 ack#:2 payload_length:0 data_integrity:0 err_code:0x0
    2020-07-17T00:59:38.204Z DEBUG GAP_EVT_DISCONNECTED time:2020-07-17T00:59:38.189Z connHandle:0 reason:22 reasonName:localHostTerminatedConnection
    2020-07-17T00:59:38.204Z DEBUG   696/ 0 <-  [02 11 00 00 00 16 ] type:     VENDOR_SPECIFIC reliable:yes seq#:2 ack#:0 payload_length:6 data_integrity:1 header_checksum:d0 err_code:0x0
    2020-07-17T00:59:38.204Z DEBUG      699 ->  [N/A] type:                 ACK reliable: no seq#:0 ack#:3 payload_length:0 data_integrity:0 err_code:0x0
    

  • I leave for vacation today, so yes. Please create a new ticket. It is always nice to have separate tickets with reflecting titles.

    Best regards,

    Edvin

Reply Children
No Data
Related