Other Parts Discussed in Thread: CC2640
Tool/software: Code Composer Studio
Hi,
An unit based on multi role kept giving this error `GAP_LINK_ESTABLISHED_EVENT` status error 33 / 0x21. It started on the callback following a `GAPRole_EstablishLink` on a BLE server that was not available, usually it returns the code `bleGAPConnNotAcceptable`, but this time it kept giving 0x21 and would not connect anymore when the BLE server was back and advertising.
According to swru393d, error 0x21 means `bleUnexpectedRole`, could you please confirm as there's no mention of it in the stack? SDK 1.40.0.45
Please explain what is 0x21, how did it arrive there, how to avoid it, how to recover? Thank you.
Jerome