Hi.
I use device with FW from project simpleBLEmulti and device with FW form project simpleBLEPeripheral. This device "multi" connected with usb-donlge via Btool. In multi project I created an event which establishes a connection to a peripheral device. In Btool i send notification to 'multi' for start event
Inside the event GAPRole_EstablishLink(DEFAULT_LINK_HIGH_DUTY_CYCLE, DEFAULT_LINK_WHITE_LIST, 0, peerConnAddr) returns SUCCESS.
But in
static void SimpleBLEMulti_processRoleEvent(gapMultiRoleEvent_t *pEvent)
{
switch (pEvent->gap.opcode)
{ .....
case GAP_LINK_ESTABLISHED_EVENT:
{
if (pEvent->gap.hdr.status == SUCCESS) pEvent->gap.hdr.status = 0x12 What is mean this code?
....
and connection is not established.
In preprocessor MAX_NUM_BLE_CONNS=2