nice plugin, im having some issues to connect to my phone, in a quick test im able to connect to phone, see phone name, and some other info, using .Dial(13234) doesnt seem to work for me. like i said a quick test. and outside RR, i import youre BT.vb Phonebook.vb and contact.vb to a test form. what i did was change the constructor sub
and on my form load i use this.
Public Sub New(ByVal Address() As Byte)
name = "MR2"
agService = BTSDK_INVALID_HANDLE
hfService = BTSDK_INVALID_HANDLE
' Set phone_addr Here
phoneAddr = Address
'Prevent Garbage Collection
connEventGlobal = AddressOf connEvent
hfEventGlobal = AddressOf hfEvent
threadWaitForPhone = New Thread(AddressOf waitForPhone)
threadWaitForPhone.IsBackground = True
Dim Mac As String = "D4:20:6D:35:C2:80"
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles Me.Load
Dim Mac() As String = Me.Mac.Split(CChar(":"))
Dim ADDRS(6) As Byte
For i As Integer = 5 To 0 Step -1
ADDRS(i) = CByte("&H" & Mac(i))
BT = New BT(ADDRS)
Catch ex As Exception