Home My Page Project Tree Code Snippets Project Openings Thumbtribes
 
 
Summary Forums Tasks Docs News SCM Files Wiki
 

btlogger

A simple Bluetooth to sqlite logger

For support options run btlogger --help

Application Options:

  -v, --verbose              Verbose output
  -s, --scan frequency=N     Scan every N seconds
  -d, --database             sqlite database

Is is also possible to manually add an id to the database with:

btlogger -i 00:00:00:00:00:00 -n "silly mac address"

The database has been created with the following schema:

create table log (

        id integer primary key autoincrement,
        mac char(17),
        name varchar(100),
        seen integer );

Create a new db:

sqlite3 -init the_schema_file btlog.db

To view the db contents:

sqlite3 btlog.db "select * from log"


(last edited August 15, 2008) - Read Only [info] [diff])
FindPage by browsing or searching
5 best incoming links: FrontPage (6), RecentChanges (2)
5 best outgoing links:
5 most popular nearby: FrontPage (3451), RecentChanges (661)

Powered By GForge Collaborative Development Environment