Datalogic .NET SDK

BtInitialize (Method)

 

Syntax

 

   public static Boolean BtInitialize();

 

 

Class                           : Device

Namespace                : Datalogic.API

Assembly                   : Datalogic.API.DLL

 

 

Description

Initializes the Bluetooth driver.

 

 

Parameters Table

 

Type

Parameter

Description

[in]

void

 

-

 

 

 

 

[returns]

Boolean

 

A value of TRUE is returned on success.

[on error]

FALSE

 

FALSE is returned to indicate failure.

 

 

Example

 

        private void btnBTStart_Click(object sender, EventArgs e)

        {

            bool b = false;

 

            b = Device.BtInitialize();

 

            b = Device.BtEnable( true );

        }

      

 

 

Remarks

Remember to initialize the Bluetooth device before enable/disable it, and remember to Terminate it after the use.

 

 

See Also

Device.BtTerminate (Method), Device.BtEnable (Method), Example #034.

 

Copyright © Datalogic ADC. All Right Reserved