i'm trying to connect my android phone(one plus one) with the Bluetooth CC256x.
the initialization and the pairing is working fine.
then i'm trying to connect with the function - 'PAN_Open_Remote_Server' - i'm getting a valid return value from this function with PanID.
but in the PAN_Event_Callback function, the event 'etPAN_Open_Confirmation' occurs(as expected) and the
"PAN_Event_Data->Event_Data.PAN_Open_Confirmation_Data->OpenStatus" is equl to 0x0003 that mean "PAN_OPEN_STATUS_UNKNOWN_ERROR" and the connection is not eastablished.
I've enabled the HCI snoop log in the developer options of my phone, and i opened the log file that created of the data transfer with Wireshark, and it seems like the connection is succeeded but immediately after that, a disconnection request is sent(and succeeded as well).
do you have any idea about what might be wrong?
Thanks,
Simon.