2021-09-01 04:22 AM
I made my test codes on nucleo(32wb55) and it worked.
But i have a problem on My Custom Board.
I try Cable Replacment application on my board, but my sw isn't pass "hci_reset" section on "ble.hci.le.c"...
When I look at the crystals(HSE_32Mhz and LSE_32,768Khz) with an oscilloscope, there is no problem.
My current .bin version: V1.12.0 / 24-June-2021 (stm32wb5x_BLE_Stack_full_fw.bin)
My custom board µC : STM32WB55VGY6TR
tBleStatus hci_reset( void )
{
struct hci_request rq;
tBleStatus status = 0;
Osal_MemSet( &rq, 0, sizeof(rq) );
rq.ogf = 0x03;
rq.ocf = 0x003;
rq.rparam = &status;
rq.rlen = 1;
if ( hci_send_req(&rq, FALSE) < 0 ) // <<<----my code don't pass here.
return BLE_STATUS_TIMEOUT;
return status;
}
@Christophe Arnal @Necronomicon @towynlin
Solved! Go to Solution.
2021-09-01 11:33 PM
Sorry, I don't know how to help. My best suggestion is to read everything, including expanding the "More answers" link at the bottom of the page, on this Q&A from last year. But since you're pinging me and Necronomicon, I'm guessing you've already found that.
Good luck! 🙏
2021-09-01 11:33 PM
Sorry, I don't know how to help. My best suggestion is to read everything, including expanding the "More answers" link at the bottom of the page, on this Q&A from last year. But since you're pinging me and Necronomicon, I'm guessing you've already found that.
Good luck! 🙏
2021-09-02 12:15 AM
Oh, Thank you for your attention. i will read all Q&A...