After installing, the database and connection string need setting up. I use SQL server 2000 but MSDE and even possibly acess would also work ok, with a database called BTTimesheet and a table called BTTimesheetLog, this can be created by using this SQL script:
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[BTTimesheetLog]') and OBJECTPROPERTY(id, N'IsUserTable') = 1)
drop table [dbo].[BTTimesheetLog]
GO
CREATE TABLE [dbo].[BTTimesheetLog] (
[uid] [int] IDENTITY (1, 1) NOT NULL ,
[ispresent] [bit] NULL ,
[thetime] [datetime] NULL
) ON [PRIMARY]
GO
Then change the connection string to point to your SQL server, by default it is set to localhost.
Set your device to discoverable, click discover, select the device in the drop down and click Monitor Selected Device.
The program will try to open a socket connection to the OBEX server on the bluetooth device every 15 seconds, so you must enable "beaming" or reception of contacts/files, but you do not need your device to be discoverable, bluetooth can just be set to "on". Upon failure it will try 5 times before actually recording your device as away.
If all is well it will now start filling up the log presence changes, which can be viewed in realtime on the Timesheet tab. Only those weeks that have information recorded will be shown.
|