# Facing issue with opening CDC ACM USB & UART3 for SL8082BTA

**URL:** <https://forum.sierrawireless.com/t/facing-issue-with-opening-cdc-acm-usb-uart3-for-sl8082bta/8678>\
**Category:** Legacy AirPrime modules\
**Created:** [July 25, 2016, 6:17am UTC](https://forum.sierrawireless.com/t/facing-issue-with-opening-cdc-acm-usb-uart3-for-sl8082bta/8678 "2016-07-25T06:17:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ganeshkimidi](https://avatars.discourse-cdn.com/v4/letter/g/74df32/32.png) [@ganeshkimidi](https://forum.sierrawireless.com/u/ganeshkimidi)\
**Post date:** [July 25, 2016, 6:17am UTC](https://forum.sierrawireless.com/t/facing-issue-with-opening-cdc-acm-usb-uart3-for-sl8082bta/8678/1 "2016-07-25T06:17:06Z")

</div>

I am using Sierra wireless SL8082BTA Device. I am trying opening USB and UART3 but i am getting failed.

USB:  
sOpUsbSettings\_t settings;  
psGItfCont\_t itf;  
adl\_atCmdPreParser\_t \* paras;  
static const ascii\* ufll [] = { “UFLCDC”, NULL };  
/\* – code of the current state – _/  
settings.identity = “UDEV0”; /_ Means USB 2.0 FS (the only supported one) _/  
settings.ad\_if\_id\_list = ( ascii_\* ) ufll; /\* NULL = If No firmware class required / Just the User AUDIO class \*/  
// settings.event\_handlers = ( psOpUsbIocEventH\_t ) &usb\_event\_config;  
settings.interface = &itf;  
settings.p\_device\_hs = NULL;  
handle = adl\_OpenDevice ( DF\_USB\_CLID, &settings ); //Returning -1 value

UART3:  
/_-----------------------_/  
/\* Fill up UART3 Settings\*/  
/_-----------------------_/  
Settings.capabilities = NULL;  
Settings.identity = UartName[UA\_ZERO];  
Settings.role = UART\_ROLE\_NM;

```
    /* Events */
    events.user_data = (void*)0;
    events.valid_cb = UART_CB_ON_ALL;
 // memcpy((u8*)events.cb_list, (u8*)uart1CbTab, 6*sizeof(sGCbDesc_t));
    Settings.event_handlers = &events;

    /* To retrieve the UART SP Interface */
    Settings.interface = &pinterface3;

    /* Line Coding */
    lc.valid_fields = UART_LC_ALL;
    lc.rate = (eUartRate_t)(UART_RATE_115200 | UartSpeed );
    lc.stop = UART_STOP_BIT_1;
    lc.parity = UART_PARITY_NONE;
    lc.data = UART_DATALENGTH_8;

    Settings.line_coding = &lc;

    /*------------------*/
    /* open UART3 device*/
    /*------------------*/
    if( ( Uart3Handle = adl_OpenDevice ( DF_UART_CLID, &Settings ) ) > OK ) // returning -1 value

```

Please give to me some suggestions it would be really help to me. Thanks

---

<div class="post-metadata">

**Author:** ![Moderator1](https://avatars.discourse-cdn.com/v4/letter/m/9fc348/32.png) [@Moderator1](https://forum.sierrawireless.com/u/Moderator1)\
**Post date:** [July 27, 2016, 8:00am UTC](https://forum.sierrawireless.com/t/facing-issue-with-opening-cdc-acm-usb-uart3-for-sl8082bta/8678/2 "2016-07-27T08:00:20Z")

</div>

Topic moved to the correct section

Regards,  
Moderator
