This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

sd_ble_gatts_hvx error

when i use sd_ble_gatts_hvx() to send data,it cause a HardFault error。 when i trace the sd_ble_gatts_hvx() function,it will run to 0x00016432,in there will be compare two data,which data at 0x00016478 (value is 0xDEADBEEF),and other data at 0x2000012c(value still 0x00000000)。

Is need i initial something solve the programe,made 0x2000012c value is 0xDEADBEEF?

Thanks!

Parents
  • Unfortunately,sd_ble_gatts_hvx() do not return any code. while call sd_ble_gatts_hvx(),in this function body ,while it compare two data at 0x00016478(value is 0xDEADBEEF) and 0x2000012c(value is 0x00000000) is not equal,function will fetch HardFault_handler entry and directly goto HardFault_handler .

    Thanks!

Reply
  • Unfortunately,sd_ble_gatts_hvx() do not return any code. while call sd_ble_gatts_hvx(),in this function body ,while it compare two data at 0x00016478(value is 0xDEADBEEF) and 0x2000012c(value is 0x00000000) is not equal,function will fetch HardFault_handler entry and directly goto HardFault_handler .

    Thanks!

Children
No Data
Related