cancel
Showing results for 
Search instead for 
Did you mean: 

BlueNRG2 aci_gap_init

MBRAI.9
Associate

Hello, 

I use the STEVAL-IDB008V2 and I updated the BLE stack to v2.1f.

Since this update I have an error when calling the aci_gap_init api.

Please find below the sequence when I use an older stack   

SEND => ACI_GAP_INIT_OPCODE
Parameters:
| GAP Role : 0x04 [ST_GAP_ROLE_CENTRAL]
| Privacy Enabled : 0x00 [ST_PRIVACY_DISABLED]
| Device Name Char Len : 0x0B [11]
---

COM30 -> [RX] = [04:0E:0A:01:8A:FC:00:05:00:06:00:08:00]
RECEIVE => HCI_COMMAND_COMPLETE_EVENT
Parameters:
| Command_Opcode : 0xFC8A [ACI_GAP_INIT_OPCODE]
| Status : 0x00 [HCI_STATUS_SUCCESS]
| Service Handle : 0x0005 [5]
| Dev Name Char Handle : 0x0006 [6]
| Appearance Char Handle : 0x0008 [8]

and when I use the new stack, I get : 

COM4 -> [TX] = [01:8A:FC:03:04:00:0B]
SEND => ACI_GAP_INIT_OPCODE
Parameters:
| GAP Role : 0x04 [ST_GAP_ROLE_CENTRAL]
| Privacy Enabled : 0x00 [ST_PRIVACY_DISABLED]
| Device Name Char Len : 0x0B [11]
---

COM4 -> [RX] = [04:0E:0A:01:8A:FC:42:00:00:00:00:00:00]
RECEIVE => HCI_COMMAND_COMPLETE_EVENT
Parameters:
| Command_Opcode : 0xFC8A [ACI_GAP_INIT_OPCODE]
| Status : 0x42 [None]
| Service Handle : 0x0000 [0]
| Dev Name Char Handle : 0x0000 [0]
| Appearance Char Handle : 0x0000 [0]

 

STEVAL For information, I get the same error when I use the BlueNRG GUI v4.7.1

I used the DTMUART v3.4.0.

Why the aci_gap_init is called with correct parameters and the stack replies with a status != success ?

Thansk for your support.

 

KR,

Mehdi BRAÏK

1 REPLY 1
Christian N
ST Employee
This post has been escalated to the ST Online Support Team for additional assistance. We'll contact you directly.