It sounds like you are looking for something like
OpenProximity. Technically OpenProximity is only supposed to work with devices from AIRcable, but the code is open and while they won't give you any official support, it is possible to use it with other devices.