예제 #1
0
void btif_pan_cleanup()
{
    if(stack_initialized)
    {
        //bt is shuting down, invalid all bta pan handles
        int i;
        for(i = 0; i < MAX_PAN_CONNS; i++)
            btpan_cleanup_conn(&btpan_cb.conns[i]);
        pan_disable();
    }
    stack_initialized = FALSE;
}
예제 #2
0
void btif_pan_cleanup()
{
    if (!stack_initialized)
        return;

    // Bluetooth is shuting down, invalidate all BTA PAN handles
    for (int i = 0; i < MAX_PAN_CONNS; i++)
        btpan_cleanup_conn(&btpan_cb.conns[i]);

    pan_disable();
    stack_initialized = false;
}
예제 #3
0
static void btpan_jni_cleanup()
{
    pan_disable();
    jni_initialized = FALSE;
}
예제 #4
0
static void btpan_jni_cleanup()
{
    pan_disable();
    jni_initialized = false;
}