For E39, this is what it says:
Diagnosis works with OBD-cable
Coding does NOT work with this model yet.
Diagnosis and Coding does NOT work with bluetooth adapter
Connection possibilities
Up to model year 2000 a connection can only be established via round diagnosis OBD boxes under the hood = motor area (Adapter necessary)
Up to model year 2000 a connection can only be established via round diagnosis OBD boxes under the hood = interior, if existing (despite a 16 pol OBD under the dash)
Up to model year 2001 connection via 16 pol OBD under the dash = interior